Markdown fundamentals

What is Markdown? A practical introduction

Markdown is a lightweight way to add structure to plain text. A few readable characters mark headings, lists, links, emphasis, and code; a renderer then turns that source into HTML or another presentation format.

6 minute read

Markdown separates source from presentation

A Markdown file is ordinary text, usually saved with the .md extension. The source remains understandable without a special application, while GitHub, documentation tools, static-site generators, and editors can render it with typography and navigation.

That separation is the central idea: authors describe meaning with a small vocabulary, and the destination decides how the result looks. The same README can be comfortable in a terminal, a code review, and a polished documentation site.

example.mdMarkdown
# Deploying the API

Run the **smoke tests** before release.

- Verify health checks
- Review error rates
- Tag the build

Why Markdown works well for technical writing

Markdown minimizes the distance between writing and reviewing. The source contains little visual noise, changes produce useful line-based diffs, and files can live beside the code or configuration they explain.

  • Portable: plain text is not tied to one vendor or editor.
  • Diffable: changes are easy to inspect in version control.
  • Composable: documentation tools can transform it into HTML, PDF, or help content.
  • Readable: the source is useful even before it is rendered.
  • Automatable: scripts can lint links, headings, examples, and style conventions.

Markdown has a core syntax and several flavors

The common core covers paragraphs, headings, emphasis, links, images, blockquotes, lists, and code. Platforms often add extensions. GitHub Flavored Markdown, for example, popularized tables, task lists, and strikethrough in developer workflows.

Extensions are useful, but portability still matters. A simple heading works almost everywhere; a platform-specific diagram block may not. When a document must move between tools, test the syntax in the destination and keep important meaning in ordinary text.

Where Markdown appears

Markdown is common wherever content needs to stay close to software or move through a text-based workflow. It is also useful outside engineering when a durable, low-friction source is more valuable than precise page layout.

  • README files, contribution guides, changelogs, and release notes
  • API references, tutorials, runbooks, and architecture decision records
  • Issue descriptions, pull requests, comments, and team knowledge bases
  • Static websites, blogs, product documentation, and internal handbooks
  • Notes or converted documents that need cleanup before publishing

What Markdown is not designed to do

Markdown is not a page-layout format. Exact fonts, columns, floating objects, print pagination, and complex interactive components belong in other systems. A converted PDF or presentation will preserve useful text more readily than its visual composition.

It is also not automatically safe merely because it is plain text. Renderers must treat links and optional raw HTML as untrusted. A good editor sanitizes preview output and a publishing pipeline applies its own security policy.

Write your first Markdown document

Open the workspace, edit source on one side, and see the rendered result update immediately.

Open Markdown editor