Layout and typography · 8 min read

Why write in Markdown: plain text that outlives the tool

Why long documents belong in Markdown rather than Word or a design tool: the words stay apart from the layout, open anywhere, diff cleanly and translate well.

Markdown is plain text with a handful of marks for structure: a line that starts with hashes is a heading, a line that starts with a dash is a list item, asterisks around a phrase make it bold. Write in it because the words then live apart from how they look, the file opens in anything, two versions can be compared line by line, and every tool that matters, from a translation service to an AI assistant, reads and writes it without noise.

That is the short answer. The longer one is about what goes wrong when the words and the layout share a file, which is the normal state of affairs in a word processor and in a design tool, and why keeping them apart is worth a small change of habit.

What Markdown actually is

A Markdown file is a text file. You can open it in Notepad, TextEdit, a phone, a terminal, a browser, or any editor made in the last forty years, and read it as it is. The marks are few and readable on their own: hashes for headings, dashes or numbers for lists, asterisks for emphasis, a greater-than sign for a quote, square brackets and parentheses for a link. There is no hidden formatting, no styles pane, no document settings dialog. What you see in the file is everything the file contains.

Markdown was published by John Gruber in 2004 as a way to write for the web without writing HTML. Since then it has become the default text format of software documentation, GitHub, Reddit, Slack, note-taking apps like Obsidian and Bear, static site generators, and most AI chat interfaces, which render Markdown in their replies. It is not a product. Nobody owns it, and nobody can discontinue it.

The words and the layout are two different jobs

A document has two kinds of decisions in it. One kind is about meaning: this is a heading, this paragraph follows that one, these three points are a list, this phrase deserves emphasis. The other kind is about appearance: this heading is 24 point Familjen Grotesk, this column is 68 millimetres wide, the logo sits top right, page four starts here. Markdown records the first kind and nothing of the second.

A word processor records both in one file, which is why a document that has passed through four reviewers has six slightly different body styles and a heading that is bold by hand rather than by style. A design tool goes further: text sits in boxes positioned on a canvas, so rewriting a paragraph moves the box and reflowing one page can disturb the next. In both, the person who edits the words is also, whether they want to or not, editing the layout.

When the words are Markdown, that coupling is gone. The writer edits a text file and cannot break a page. The designer lays out pages with empty slots and cannot change a sentence. The two can work on the same day, and the final document is produced by binding one to the other. That is the whole idea behind writing the text before the layout and it is the structure of Pengrid: Writer holds Markdown, Design holds pages, Merge binds them.

DecisionLives inWho owns it
Headings, paragraphs, lists, emphasis, linksMarkdownThe writer
Page size, grid, columns, marginsThe layoutThe designer
Typefaces, sizes, coloursThe layoutThe designer or the brand
Where a figure sits, what is on page fourThe layoutThe designer
Running headers, page numbersThe layout, set onceThe designer

Plain text survives

A text file written in 1995 opens today exactly as it was written. A document saved in a proprietary format from the same year may not, and even when it does, fonts have moved, styles have shifted, and embedded objects have gone grey. The format with the fewest features is the one that keeps working, because there is nothing in it to stop working.

This matters more for long documents than for memos. A white paper, a thesis or a company handbook is edited for years and reused for longer. If the words are Markdown, they can be moved into the next tool, the next template or the next decade without an export step, and without discovering that the export lost the footnotes.

If you cannot read a file with the tool that made it switched off, the file belongs to the tool. Markdown belongs to you.

Structure you can rely on

In Markdown a heading is a heading because of the mark in front of it, not because someone made the line larger. That sounds trivial until something has to use the structure: a table of contents, a navigation pane, a screen reader, a search engine, a translation tool that must keep sections aligned, or a layout that needs to know which block is the pull quote. All of those work from the marks. None of them can work from a line that merely looks big.

The same is true of lists, quotes and links. Because the structure is explicit, it can be checked. A document with a level-three heading directly under a level-one heading is wrong in a way a tool can point out. A document where the numbering is typed by hand is wrong in a way nobody notices until item seven is followed by item nine.

Versions you can compare

Two Markdown files can be compared line by line, and the comparison shows exactly which sentences changed. Git, the version control system most software is built with, does this for free, and so does any diff tool. A word processor offers tracked changes, which work until two people edit at once or somebody accepts all changes to make the document readable again.

For a document written by several people, this is the difference between knowing what changed and hoping. Every revision has a date, an author and a diff. A paragraph cut in March can be found and restored in June. A sentence that a reviewer swears was never there can be shown to have arrived in revision twelve.

One source, every output

Markdown does not know what a page is, and that is its strength. The same file becomes a web page, a PDF, an e-book, a slide deck or an email, each through a different renderer, without anyone retyping or reformatting. Change the words once and every output follows.

For a designed document the renderer is the layout. The Markdown provides the blocks, the layout decides where each one lands and how it looks, and the export produces the PDF. Markdown to PDF compares the ways to do that, from a one-line Pandoc command to a layout app.

Translation and AI prefer plain text

A translator, human or machine, works best on text with visible structure and no formatting debris. Markdown gives exactly that: the headings, lists and emphasis survive translation because they are marks in the text, and the translated file has the same shape as the original, so a layout built for one language takes the other without changes. That is how a report ships in five languages from one design, with one PDF per language.

AI writing assistants are the same case. The models behind them are trained on vast amounts of Markdown and produce it by default, which is why a chat reply comes back with headings and bullet points. Give an assistant a Markdown document and it sees the structure; give it a word-processor file and it sees the text through a layer of conversion. In Pengrid the on-device assistant works directly on the Markdown of each page, and the layout never gets in its way.

What Markdown is bad at

Markdown has no page breaks, no fonts, no columns, no colour, no way to say where a figure goes, and tables that wrap badly on a phone. People who try to make Markdown do these things end up with HTML inside their text files, which is the worst of both worlds. The honest answer is that Markdown should not do them. They are layout decisions, and they belong in the layout.

So the complete workflow has two files, or two layers of one document: the Markdown that holds the words and the structure, and the layout that holds the pages and the look. Word processors try to be both and are mediocre at the second. Design tools try to be both and are mediocre at the first. Keeping them apart lets each be good at its job.

How to start

  1. Write your next document, whatever it is, as a text file with hash headings and dash lists. Any editor will do; most highlight Markdown.
  2. Keep the marks minimal. Headings, lists, bold, links. If you find yourself wanting a font or a colour, that is a note for the layout, not a mark for the text.
  3. Keep one heading level per idea. A level-two heading opens a section, level three opens a subsection, nothing deeper.
  4. Put each document under version control, or at least keep dated copies. The point of plain text is that the history is cheap.
  5. When the words are done, hand them to the layout. In a design tool that means pasting into slots; in Pengrid it means Merge.

A good test of a Markdown draft: read it on a phone with no rendering. If the structure is clear in raw text, it will be clear in every output.

Frequently asked questions

What is Markdown?
A plain-text format with a few marks for structure: hashes for headings, dashes for lists, asterisks for bold and italics, brackets for links. The file is readable as it is and renders to HTML, PDF and other formats.
Is Markdown better than Word for long documents?
For the words, yes: it separates structure from appearance, opens anywhere, compares cleanly between versions and translates well. For page layout it does nothing, so pair it with a layout tool rather than asking it to be one.
Can I write a white paper in Markdown?
Yes, and it is the best way to draft one. Write the text in Markdown, design the pages separately, then bind them. How to write a white paper walks through that process.
Do I need to know how to code?
No. Markdown is five or six marks you learn in ten minutes, and most editors show a preview beside the text. Nothing about it is programming.
How do I turn Markdown into a designed PDF?
Through a renderer: Pandoc, a browser, an editor with export, or a layout app that binds the Markdown blocks to designed pages. Markdown to PDF compares them with exact commands.

The easy writer

Tired of spending hours fixing the format in Word, or writing in Figma?

Pengrid keeps the words and the page apart. Write in a calm editor, design the pages once, and merge them.

In Word

An afternoon gone on images that jump, numbering that restarts and headers that won't stay put. One edit on page 3 and page 9 breaks.

In Figma

Beautiful pages, but every paragraph is a text box. Long text, outlines and rewrites were never what it was made for.

In Pengrid

Write the text, lay out the pages, bind them. Rewrite all week and the layout holds. Export a print-ready PDF.

Bring your own AI

Connect the Claude Code or OpenAI Codex sign-in you already have. No API key, no extra subscription.

Or keep it local

The built-in assistant runs on your computer, so your drafts never leave it. Works offline.

Try Pengrid free for Mac

Free, no account needed. Teams €5 per person, free for now.