Markdown documentation
For documentation, a Markdown editor should keep the structure clean while you write and hand readers a format they can open. That means consistent heading levels, tables that are easy to edit, an outline of the document for navigation, and export to Word or PDF for people who will never open a .md file. The Markdown stays the source, and each export is a copy for a reader.
A procedure or spec starts from a fixed skeleton:
# Expense approval process
## Purpose
One paragraph on what this document covers and who it is for.
## Scope
- Applies to: all purchases above the team budget
- Does not cover: travel bookings
## Roles
| Role | Responsibility |
| --- | --- |
| Requester | Submits the request with a quote |
| Manager | Approves or rejects within two working days |
## Procedure
1. Submit the request.
2. Attach the quote.
3. Wait for approval before ordering.
## Revision history
| Date | Change |
| --- | --- |
| 2026-11-25 | First version |
How do you keep headings consistent across documents?
Use one # title per document and keep the levels in order: ## for sections, ### for subsections, never skipping a level. When several documents share a skeleton, readers find the same section in the same place, and exports to Word map each level to the same heading style. Headings covers the syntax.
How do you write documentation that ends up as Word or PDF?
Write and review in Markdown, and export only when someone needs the file. Editing the exported copy splits the document into two versions, so send changes back into the Markdown and export again.
- Draft in Markdown from the skeleton.
- Check the outline: every section should appear at the right level.
- Put reference data in tables, and keep long explanations in paragraphs.
- Store images in a folder next to the document and link them by relative path.
- Export to Word for readers who will edit or comment, or to PDF for a fixed copy.
- Keep the .md file as the source for the next revision.
Which tools fit documentation work?
It depends on where the docs end up. Static site generators such as MkDocs and Docusaurus build a documentation website from a folder of Markdown files, which suits product docs published online. Pandoc converts Markdown to Word, PDF and many other formats from the command line, which suits automated builds. Word on its own works when every collaborator edits in Word. A Markdown editor with export sits between these: you write plain files, and readers get Word or PDF.
Documentation in Noteline
- Outline: the table of contents panel (Cmd+Shift+O on a Mac, Ctrl+Shift+O on Windows and Linux in the desktop app) lists the note's headings. Click one to jump to it.
- Tables: tables appear as an editable grid, and new ones come from Cmd+Option+T on a Mac or Ctrl+Alt+T on Windows and Linux. See the table editor.
- Export: the desktop app exports to Word and PDF offline, with Pandoc and Typst built in. Markdown headings become Word heading styles, and images linked by a relative path are included. See Word and PDF export.
- Find in Folder (Cmd+Shift+F on a Mac, Ctrl+Shift+F on Windows and Linux) searches every document in the folder.
Common questions
Can readers edit the Word file and send it back?
Yes, but their changes stay in the Word file. Copy the accepted changes back into the Markdown source, then export a new version.
Should each document be one file?
Usually, yes. One file per document keeps links, history and exports simple. Split a document only when sections have different owners or update on different schedules.