Skip to content

Category · 1 tool · 1 guide

Markdown tools

Markdown is the writing format of software teams. READMEs, changelogs, pull request descriptions, issue templates, architecture decision records, documentation sites and wikis are all written in it. It is readable as plain text and renders into clean HTML on GitHub, GitLab, static site generators and most documentation platforms.

Markdown files drift over time. Different authors use different list markers, heading styles and table alignment, long tables become impossible to edit, and a missing blank line silently merges a list into a paragraph. Because Markdown never throws errors, these problems only show up as broken rendering, often after merging.

The tools here format Markdown with Prettier, the same formatter many repositories run in CI, so the output is stable and diff-friendly, and code blocks are left untouched. Content is processed in your browser and never uploaded.

Tools in this category

Common tasks

Key concepts

CommonMark
A precise specification of Markdown syntax created to end inconsistencies between implementations. Most modern renderers follow it.
GitHub Flavored Markdown
CommonMark plus extensions used on GitHub: tables, task lists, strikethrough, autolinks and fenced code blocks with syntax highlighting.
Fenced code block
Code wrapped in lines of three backticks, optionally followed by a language name such as js or bash for highlighting. It is safer than indented code blocks.
Prose wrap
Whether a formatter wraps paragraphs at a fixed width or keeps each paragraph on one line. One sentence per line or no wrapping gives cleaner diffs.
Reference links
Instead of putting a long URL inline, you can write [text][name] and define [name]: https://example.com once at the bottom of the file. Paragraphs stay readable and a URL used several times only has to be updated in one place.
Front matter
A YAML block between --- lines at the top of a Markdown file, used by static site generators for metadata such as title, date and tags.

Best practices

  1. Use one style for list markers and headings across a repository and enforce it with a formatter.
  2. Always put a blank line before and after headings, lists and code blocks to avoid rendering surprises.
  3. Tag every fenced code block with its language for highlighting and accessibility.
  4. Use relative links between files in the same repository so they work on forks and branches.
  5. Keep prose wrap set to "preserve" or one sentence per line so small edits produce small diffs.

Guides