Skip to content
← All Tools
๐Ÿ”’All processing in your browser ๐ŸšซNo uploads stored ๐Ÿ›ก๏ธPrivacy-first conversion tools โœ“No login required
Guide

Markdown Syntax Reference: Everything You Need in One Place

Bill Crawford — Developer Guide — 2026  ยท  Last updated November 27, 2025

Markdown is the standard for README files, documentation platforms, note-taking apps, and developer forums. Its design principle: it should be readable as plain text even without rendering. This reference covers CommonMark and GitHub Flavored Markdown (GFM), the two most widely supported variants.

Connect on LinkedIn โ†’

Preview Markdown live: Write Markdown and see rendered output side-by-side in real time โ€” with export to HTML.

Open Markdown Preview โ†’

Table of Contents

  1. Headings
  2. Emphasis
  3. Lists
  4. Links and Images
  5. Code
  6. Tables (GFM)
  7. Blockquotes
  8. Horizontal Rule
  9. Escaping Special Characters
  10. HTML in Markdown
  11. Writing Tips
  12. Markdown in Professional Workflows
  13. Extended Syntax and Compatibility
  14. Writing Better Markdown Documents
  15. Diagram Support: Mermaid in Markdown
  16. Related Articles & Tools

Headings

# H1 โ€” Page Title
## H2 โ€” Major Section
### H3 โ€” Subsection
#### H4
##### H5
###### H6

Always include a space after the #. Headings create the document outline used by screen readers, table-of-contents generators, and search engines.

Emphasis

**bold** or __bold__
*italic* or _italic_
***bold and italic***
~~strikethrough~~ (GFM)

Use **asterisks** for bold โ€” they work more consistently mid-word and in all parsers.

Lists

- Unordered item
- Another item
  - Nested (2-space indent)

1. Ordered item
2. Second item

- [x] Completed task (GFM)
- [ ] Incomplete task (GFM)
[Link text](https://example.com)
[Link with title](https://example.com "Hover title")

![Alt text describing the image](image.png)


[Link text][ref]
[ref]: https://example.com

Alt text on images matters for accessibility โ€” describe what the image shows, not what it is.

Code

`inline code`

```javascript
function greet(name) {
  return `Hello, ${name}!`;
}
```

Always specify the language after the fence โ€” it enables syntax highlighting in GitHub and most renderers.

Tables (GFM)

| Left   | Center | Right |
|:-------|:------:|------:|
| text   | text   | text  |

Colons in the separator row control alignment. Column widths don't need to be aligned in the source.

Blockquotes

> This is a blockquote.
> Spans multiple lines.
>
> Multiple paragraphs with a blank > line.

Horizontal Rule

---

Escaping Special Characters

\*not italic\*
\# not a heading
\[not a link\]

HTML in Markdown

Most parsers allow inline HTML for elements Markdown doesn't support โ€” <details>, <sup>, <sub>, custom attributes:

<details>
<summary>Click to expand</summary>
Hidden content here.
</details>

Writing Tips

Markdown in Professional Workflows

Markdown has become the standard writing format for software documentation, technical blogs, and knowledge bases. GitHub renders Markdown natively in README files, pull request descriptions, issues, and wiki pages. GitLab, Bitbucket, Notion, Confluence (with plugins), and most modern content management systems support Markdown input. Learning Markdown fluently pays dividends across every tool in a developer's daily workflow.

For technical documentation specifically, Markdown strikes the right balance between readability in source form and richness in rendered form. A README written in Markdown is readable in a plain text editor, in a terminal with cat, and in a browser with full formatting. This dual readability is why Markdown won over alternatives like reStructuredText and AsciiDoc for most use cases โ€” the source format is human-friendly, not just machine-parseable.

Extended Syntax and Compatibility

The original Markdown specification left many edge cases undefined, which led to dozens of incompatible implementations. CommonMark standardized the core syntax, and GitHub Flavored Markdown (GFM) extended it with tables, task lists, strikethrough, and autolinked URLs. When writing Markdown, know which flavor your target platform supports โ€” a table that renders perfectly on GitHub might appear as pipe-separated text on a platform that only supports CommonMark.

Tables are the most common extended syntax feature, but they're limited to simple grids. For complex layouts with merged cells, nested tables, or precise alignment, you'll need to drop to inline HTML. Most Markdown renderers allow inline HTML, but some sanitize it aggressively (removing style attributes, for example), so test your HTML blocks on the actual platform.

Code blocks with syntax highlighting are supported everywhere that matters, but the language identifiers aren't standardized. Use javascript, python, sql, bash, json, html, css โ€” these work on every major platform. More obscure languages may require different identifiers depending on the highlighter (Prism.js, highlight.js, Rouge, etc.).

Writing Better Markdown Documents

Good Markdown documents follow a consistent structure: a single H1 title, H2 sections for major topics, H3 for subtopics, and no skipped heading levels. This isn't just stylistic โ€” screen readers and table-of-contents generators rely on heading hierarchy to navigate the document. Skipping from H1 to H3 breaks accessibility and confuses automated tooling.

For long documents, add a table of contents manually using Markdown links: [Section Name](#section-name). The anchor is the heading text lowercased, with spaces replaced by hyphens and special characters removed. Some platforms generate tables of contents automatically from headings, but a manual TOC at the top of a long README is universally supported and saves readers time. The Markdown Preview tool renders your document in real time, so you can verify that heading links and formatting work correctly before publishing.

Diagram Support: Mermaid in Markdown

Many platforms that render Markdown โ€” including GitHub, GitLab, Notion, Obsidian, and VS Code extensions โ€” support Mermaid diagrams embedded in fenced code blocks. Mermaid lets you write diagrams as text using a simple syntax, and the renderer converts them to SVG automatically.

```mermaid
flowchart TD
    A[Start] --> B{Is it working?}
    B -- Yes --> C[Deploy]
    B -- No --> D[Debug]
    D --> A
```

Supported diagram types include flowcharts, sequence diagrams, entity-relationship diagrams, Gantt charts, class diagrams, and pie charts. Support varies by platform โ€” GitHub and GitLab render Mermaid natively in README files and issues. For platforms that don't support Mermaid, use the Markdown Preview tool to check rendering before publishing.

Extended Syntax Support by Platform

FeatureGitHub GFMGitLabNotionCommonMark
Tablesโœ“โœ“โœ“Extension only
Task lists - [ ]โœ“โœ“โœ“โœ—
Strikethrough ~~text~~โœ“โœ“โœ“โœ—
Footnotesโœ“โœ“โœ—โœ—
Mermaid diagramsโœ“โœ“โœ—โœ—
Math (LaTeX)โœ“โœ“โœ“โœ—

CommonMark is the standardised Markdown specification โ€” if you want your content to be portable across all renderers, stick to CommonMark syntax only. GitHub Flavored Markdown (GFM) is a widely-used superset that adds tables, task lists, strikethrough, and footnotes.

Further reading: MDN โ€” Markdown Reference ยท CommonMark Specification

BC
Bill Crawford
Founder, Data Conversion Center

Bill Crawford is a data systems developer and technical founder with over 30 years of professional experience in accounting, finance, and business operations.

He holds a Bachelor's degree in Accounting and has spent more than three decades working within financial and operational environments. Over the past 10 years, he has been heavily involved in the development, implementation, and refinement of financial and enterprise data systems for both Fortune 500 companies and smaller organizations.

His work bridges finance and technology — combining deep domain knowledge in structured reporting and accounting workflows with hands-on SQL development and database architecture experience.

Bill founded DataConversionCenter.com to build practical, browser-based tools that simplify complex data challenges, including:

Rather than focusing on theoretical examples, his tools and articles are informed by real-world challenges encountered in enterprise reporting systems, financial databases, and operational data environments.

Professional Background

Bill's mission is to reduce friction in data workflows — particularly for professionals working with structured financial, operational, and reporting data.