Skip to content
O Opemipo Jokotagba
Technical Writing Documentation Markdown

Markdown Mastery: Tips for Writing Clear and Concise Docs

Markdown is the default language of technical documentation. Here's how to use it well — from core syntax to the habits that separate readable docs from forgettable ones.

O

Opemipo Jokotagba

3 min read

Markdown has become the default language of technical documentation. It’s lightweight, portable, readable in its raw form, and supported everywhere that matters — GitHub, Notion, Confluence, static site generators, and most documentation platforms you’ll encounter.

The syntax is easy to learn in an afternoon. Writing it well takes longer. The difference between Markdown that aids comprehension and Markdown that clutters it comes down to a set of habits most guides never teach.

The core syntax you’ll use most

You don’t need to master everything. The elements you’ll reach for in 90% of documentation work are:

Headings structure a page and give readers a scannable map. Use H1 for the page title, H2 for major sections, and H3 for sub-points within those sections. Don’t skip levels.

Code blocks are non-negotiable in technical docs. Inline code (backticks) for method names, file paths, and short values. Fenced code blocks with a language identifier for anything multiline.

# Always specify the language — it enables syntax highlighting
npm install --save-dev some-package

Lists — ordered for sequential steps, unordered for options or grouped items. If the order matters to the reader, use numbers. If it doesn’t, use bullets. Mixing them arbitrarily trains readers to ignore the distinction.

Links and images follow the same [text](url) pattern. For documentation, keep link text descriptive — “see the authentication guide” beats “click here” every time.

Why Markdown specifically

The practical advantages of Markdown aren’t aesthetic — they’re structural.

It’s plain text, so it lives comfortably in version control. You can diff it, track changes, do meaningful code review on it, and roll back to any previous state. This matters enormously when documentation is part of your release workflow.

It converts cleanly to HTML, PDF, and other formats without reformatting work. Write once, publish everywhere. The tooling ecosystem — Astro, Docusaurus, MkDocs, Jekyll — is mature and well-maintained.

And it stays readable without rendering. A developer opening a raw README should be able to understand it without running anything. Markdown’s syntax is light enough that it doesn’t obscure the content underneath.

Best practices that actually matter

Establish a style guide early. Should headings be title case or sentence case? Do you use em dashes or hyphens? Is the product name capitalised everywhere or only in headings? These decisions don’t matter much individually — inconsistency at scale, though, makes documentation feel poorly maintained.

Let headings carry meaning. “Overview” and “Introduction” are meaningless headings. “How authentication works” and “Setting up your first API key” are headings readers can act on. A reader scanning your headings should understand the document’s structure without reading a word of body text.

Keep sentences short. Technical documentation isn’t the place for complex subordinate clauses or elaborate constructions. A sentence that communicates one thing clearly beats a sentence that communicates two things ambiguously.

Provide examples that run. Every code sample should reflect actual, working syntax. A Markdown file with broken code examples undermines trust in everything else on the page.

Revisit regularly. Documentation goes stale. An API endpoint changes, a flag gets renamed, a configuration option is deprecated — and nobody updates the docs. Build documentation review into your release cycle, not as an afterthought, but as a gate.

A few advanced features worth knowing

Task lists (- [ ] item) are useful in contribution guides and onboarding checklists — anywhere you want to communicate a series of completable steps.

Blockquotes work well for callouts, warnings, and notes that deserve visual separation from the main flow. Use them sparingly; if everything is highlighted, nothing is.

Footnotes let you add context without interrupting the main text. Useful for caveats, version-specific notes, or links to deeper reference material that not every reader will need.


The goal with Markdown — or with any documentation medium — is to get out of the way. When the formatting is invisible and the content lands without friction, you’ve done your job. The syntax is a means to that end. Learn it well enough that you stop thinking about it.

Back to Blog
Share:

Related Posts

Documentation is Infrastructure, Not an Afterthought

Engineering orgs pour millions into reliability for systems they consider mission-critical, then let their docs rot. Teams that break this pattern treat documentation like infrastructure.

O Opemipo Jokotagba
2 min read
Documentation Docs as Code Engineering Culture

What Does a Docs Engineer Actually Do?

The role sits between writing and software engineering — here's what that looks like in practice, and why it matters for developer-facing products.

O Opemipo Jokotagba
2 min read
Docs Engineering Career Technical Writing

Writing API Documentation That Developers Actually Read

Most API docs are technically complete but practically useless. Here's the framework I use to write reference documentation that developers trust and return to.

O Opemipo Jokotagba
2 min read
API Documentation Technical Writing Developer Experience

Follow along

Stay in the loop — new articles, thoughts, and updates.