newsletter-md

Open-source agent skill

Give your agent this month's news.

You get a newsletter to print and an email that renders everywhere. One small JSON file in. Three files out: print, email and plain text.

npx github:isatimur/newsletter-md render news.json --format all --out-dir out

Page one of a printed parish newsletter called The Lantern: a wine-red masthead, a boxed notice and two columns of justified text with a green hills picture.
Print · A4 · 2 columns
The email version of a school newsletter: a blue masthead, coloured section pills, a tile picture and a round button.
Email · 600 px

One source, three outputs

The same news, ready for paper and for inboxes.

Print

A newsletter with real pages

A4 or US Letter, in two or three columns. The engine measures every heading and paragraph, fills the columns, and numbers each page.

  • Headings stay with their text
  • The last page ends level
  • Right-to-left pages for Arabic and Hebrew

Email

HTML that survives the inbox

Tables, inline styles and web-safe fonts, 600 px wide. No script, no external CSS. Tests check every tag and attribute.

  • Bulletproof buttons
  • Dark-mode friendly colours
  • Images with required alt text

Plain text

The text part, done for you

The same sections and events, wrapped at 72 characters, with every link written out. Send it as the text alternative.

  • No markup, no surprises
  • The unsubscribe link at the foot
  • Works with any mail tool

The engine writes files. It never sends email.

How it works

Three steps. You do the first.

  1. Tell your agent the news.

    Paste your notes, dates and pictures. The agent asks for what is missing. It never invents a date or a name.

  2. Pick a theme from a preview.

    The agent shows your issue in three themes side by side. You choose by eye.

  3. Take the files.

    The agent validates the JSON, renders print, email and text, and tells you where they are.

Make the March newsletter for St Aldric's parish. The jumble sale is on the 20th. Use the parish look.

Five themes

Each theme has its own type, layout and voice.

Every picture below is real output from the engine. Open a page to read it full size.

Print, page one

Parish bulletin theme: centred small-caps masthead between double rules, justified Caslon text with drop caps, wine red.
Parish bulletinRules, small caps and Caslon. Wine red.
School playful theme: a huge blue rounded title with a yellow shadow, colour pill headings and a rounded tile picture.
School playfulRound letters, bright pills, tilted badges.
Company internal theme: a navy masthead band, numbered section headings, three columns and an events list with mono dates.
Company internalNavy band, mono labels, numbered sections.
Neighbourhood association theme in Portuguese: a green masthead block, a marigold notice with a flat shadow and slab-serif headings.
Neighbourhood associationA notice board in green and marigold.
Literary magazine theme in Arabic, set right to left: a large masthead, roman-numeral sections and a pull quote.
Literary magazineA big masthead and quiet text. Here in Arabic.

The same five, as email

The parish email: centred title, boxed notice and serif text on a white column.

parish

The school email: blue masthead block and coloured section pills.

school

The company email: navy band masthead and numbered section headings.

company

The neighbourhood email in Portuguese: green masthead and a marigold notice.

neighbourhood

The literary email in Arabic: a large title and roman-numeral sections, right to left.

literary

Examples

Five invented newsletters. Open them.

Every person and place is made up. Each links to the print file, the email and the plain text, all produced by the engine.

  • The LanternParish bulletin, English. Lent services and a jumble sale.
  • Meadowbank MessengerSchool newsletter, English. Book week and a boat race.
  • Tideline DispatchCompany newsletter, English, three columns. A new dock schedule.
  • A Voz da Fonte NovaNeighbourhood association, Portuguese. A river clean-up and a seed swap.
  • ضفافLiterary magazine, Arabic, right to left. A story, a poem and a reading night.

Install

Pick your way in.

Claude Code plugin

/plugin marketplace add isatimur/newsletter-md
/plugin install newsletter-md@newsletter-md

Any agent, via skills.sh

npx skills add isatimur/newsletter-md

Command line

npx github:isatimur/newsletter-md render news.json --format all --out-dir out

Node 20 or newer. Nothing else to install. PDF export needs Playwright and is optional.