Markdown Reference
Whether you're writing documentation, a README, technical notes, or a blog post, having a reliable Markdown reference makes formatting faster and more consistent. This page brings together the most commonly used Markdown elements, explains when to use them, and links to more detailed guides where you need additional examples or best practices.
Use this page as your quick reference while writing, or explore individual topics to learn Markdown in greater depth.
๐ก Tip: Brand new to Markdown? Start with Markdown Basics first, then come back here whenever you need to look up syntax.
What Is a Markdown Reference?
A Markdown reference is a structured collection of Markdown syntax and formatting rules that you can quickly consult while writing. Instead of learning Markdown from start to finish, a reference lets you jump directly to the element you need, whether that's a heading, table, link, image, or code block.
Unlike a beginner's tutorial, a reference is designed for quick lookups. It focuses on showing the correct syntax, explaining its purpose, and helping you find more detailed documentation when needed.
On MDConvertHub, this reference combines core Markdown syntax with commonly used extensions, making it useful for developers, technical writers, students, and anyone who regularly works with Markdown.
What's Included in This Reference?
This guide is organised into logical sections so you can quickly find the syntax you're looking for.
Core Markdown#
The foundation of Markdown used across most editors and platforms: headings, paragraphs, lists, links, images, blockquotes, code blocks, horizontal rules, and line breaks.
Extended Markdown#
Features supported by many modern Markdown implementations: tables, task lists, footnotes, emojis, inline HTML, escaping characters, and mathematical expressions.
Platform-Specific Features#
Some Markdown applications extend the standard syntax with additional capabilities, including GitHub Flavored Markdown (GFM), Obsidian Markdown, and Mermaid diagrams.
Where a feature depends on a specific platform or parser, we'll clearly identify it so you know when it can be used.
How to Use This Reference
You don't need to read this page from top to bottom. Instead:
- Find the Markdown element you want to use.
- Copy the syntax if you already know how it works.
- Read the short explanation if you need a quick reminder.
- Follow the linked guide for detailed examples, best practices, and common mistakes.
This approach keeps the reference fast to navigate while giving you access to in-depth documentation whenever you need it.
Core Markdown Reference
The following syntax is supported by virtually all Markdown editors and implementations. These are the building blocks of every Markdown document, from simple notes to technical documentation. Note: strikethrough (marked below with *) isn't part of the original Markdown specification โ it's commonly available through GitHub Flavored Markdown (GFM) and other extended implementations.
| Element | Syntax | Purpose |
|---|---|---|
| Heading | `# Heading` | Create page and section headings. |
| Paragraph | Plain text | Write regular content. |
| Bold | `**Bold**` | Emphasise important text. |
| Italic | `*Italic*` | Add subtle emphasis. |
| Bold + Italic | `***Text***` | Combine both styles. |
| Strikethrough* | `~~Text~~` | Show deleted or outdated text. |
| Inline Code | `` `code` `` | Highlight commands, variables, or code. |
| Code Block | Triple backticks | Display multi-line code. |
| Blockquote | `> Quote` | Quote text or highlight notes. |
| Ordered List | `1. Item` | Display numbered steps. |
| Unordered List | `- Item` | Create bullet lists. |
| Link | `[Text](URL)` | Add hyperlinks. |
| Image | `` | Insert images. |
| Horizontal Rule | `---` | Separate sections visually. |
| Line Break | Two trailing spaces or `<br>` | Start a new line within a paragraph. |
Markdown Headings
Headings organise your document into logical sections, making it easier to read and navigate. Create them with one to six # characters.
Syntax#
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Live Preview#
Best for documentation, READMEs, articles, and notes.
Learn More โ Markdown Headings
Markdown Paragraphs
Paragraphs are created by separating blocks of text with a blank line. Keep paragraphs concise and focused on a single idea to improve readability.
Syntax#
This is the first paragraph.
This is the second paragraph.
Live Preview#
Live Preview
This is the first paragraph.
This is the second paragraph.
Learn More โ Markdown Paragraphs
Bold, Italic & Strikethrough
Markdown supports simple formatting for emphasising important content. Use emphasis sparingly so important information stands out.
| Style | Syntax | Example |
|---|---|---|
| Bold | **Bold** |
Bold |
| Italic | *Italic* |
Italic |
| Bold + Italic | ***Bold Italic*** |
Bold Italic |
| Inline Code | `code` |
code |
| Strikethrough* | ~~Removed~~ |
Live Preview#
Live Preview
Bold
Italic
Bold Italic
Strikethrough
Strikethrough requires GitHub Flavored Markdown (GFM) or another extended implementation.
Learn More โ Markdown Syntax โ Text Formatting
Markdown Lists
Lists make information easier to scan and are widely used in documentation and technical writing.
Unordered List#
- Apple
- Orange
- Banana
Ordered List#
1. Install
2. Configure
3. Deploy
Nested List#
- Frontend
- React
- Vue
- Backend
- Node.js
- Go
Live Preview#
Live Preview
- Apple
- Orange
- Banana
- Install
- Configure
- Deploy
Best for feature lists, step-by-step instructions, documentation, and checklists.
Learn More โ Markdown Lists
Markdown Links
Links connect your Markdown document to websites, files, or other resources. Use descriptive link text instead of generic phrases such as "click here."
Syntax#
[MDConvertHub](https://mdconverthub.com)
Live Preview#
Live Preview
Learn More โ Markdown Links
Try Tool โ Markdown Link Generator
Markdown Images
Images help explain concepts visually and improve documentation. Always provide meaningful alternative text to improve accessibility.
Syntax#

Learn More โ Markdown Images
Markdown Code Blocks
Code blocks preserve formatting and support syntax highlighting in many Markdown editors. Specify the language whenever possible for better readability.
Syntax#
```javascript
function greet() {
console.log("Hello, Markdown!");
}
```
Live Preview#
Live Preview
function greet() {
console.log("Hello, Markdown!");
}
Learn More โ Markdown Code Blocks
Try Tool โ Markdown Editor
Markdown Blockquotes
Blockquotes highlight quotations, notes, warnings, or important information. They're commonly used in documentation, tutorials, and knowledge bases.
Syntax#
> Markdown makes documentation easier to write and maintain.
Live Preview#
Live Preview
Markdown makes documentation easier to write and maintain.
Learn More โ Markdown Blockquotes
Markdown Horizontal Rules
Horizontal rules create a clear visual separation between major sections. Use them to divide long documents without adding unnecessary headings.
Syntax#
---
Live Preview#
Live Preview
Learn More โ Markdown Horizontal Rules
Markdown Line Breaks
A line break starts a new line without creating a new paragraph. Support for HTML tags depends on the Markdown implementation being used.
Syntax#
First line.
Second line.
Alternatively, many Markdown implementations also support:
First line.<br>
Second line.
Learn More โ Markdown Line Breaks
Extended Markdown Reference
Many modern Markdown editors support features beyond the original Markdown syntax. These extensions make it easier to create rich documentation, technical content, and project management files without writing HTML.
While these features are widely supported, they may not work in every Markdown parser. If you're sharing documents across multiple platforms, always verify which extensions are supported.
| Feature | Syntax | CommonMark | GitHub Flavored Markdown |
|---|---|---|---|
| Tables | | Column | |
||
| Task Lists | - [ ] Task |
||
| Footnotes | [^1] |
||
| Strikethrough | ~~Text~~ |
||
| Emoji Shortcodes | :rocket: |
Platform Dependent | |
| Inline HTML | <div> |
||
| Escaping Characters | \* |
||
| Math Expressions | $E=mc^2$ |
Platform Dependent |
Note: Support for extended syntax depends on the Markdown parser or platform. GitHub, Obsidian, and documentation tools may support different features.
Markdown Tables
Tables organise structured information into rows and columns, making comparisons and datasets easier to read.
Syntax#
| Name | Role | Experience |
|------|------|-----------|
| Sarah | Developer | 5 Years |
| James | Designer | 3 Years |
Live Preview#
Live Preview
| Name | Role | Experience |
|---|---|---|
| Sarah | Developer | 5 Years |
| James | Designer | 3 Years |
Best for feature comparisons, product documentation, API references, pricing tables, and reports. Keep column headings concise, align similar data types together, and avoid overly wide tables on small screens.
Learn More โ Markdown Tables
Try Tool โ Markdown Table Generator
Markdown Task Lists
Task lists display interactive checkboxes in supported Markdown applications. They're especially useful for tracking progress during development or planning documentation.
Syntax#
- [x] Create project
- [x] Write documentation
- [ ] Publish website
Live Preview#
Live Preview
- Create project
- Write documentation
- Publish website
Best for project planning, issue tracking, TODO lists, and documentation checklists.
Learn More โ Markdown Task Lists
Try Tool โ Markdown Task List Generator
Markdown Footnotes
Footnotes let you add references or additional information without interrupting the main content. Use them when extra context is useful but doesn't belong in the main paragraph.
Syntax#
Markdown supports footnotes.[^1]
[^1]: This is a footnote.
Best for technical documentation, academic writing, research notes, and long-form articles.
Learn More โ Markdown Footnotes
Markdown Emojis
Many Markdown platforms support emoji shortcodes, which are automatically converted into emojis on supported platforms. Keep emoji usage purposeful rather than decorative, especially in technical documentation.
Syntax#
:rocket:
:warning:
:white_check_mark:
Best for GitHub READMEs, project status, and documentation highlights.
Learn More โ Markdown Emojis
Inline HTML in Markdown
Markdown allows HTML where additional formatting is needed. Inline HTML is useful when Markdown alone cannot achieve the desired layout or behaviour โ keep it minimal to preserve portability across Markdown implementations.
Syntax#
<details>
<summary>Show More</summary>
Hidden content goes here.
</details>
Learn More โ Markdown HTML
Escaping Characters
If you want Markdown to display formatting characters instead of interpreting them, escape them with a backslash. This is particularly useful when writing tutorials or documentation about Markdown itself.
Syntax#
\*Not Italic\*
\# Not a Heading
Live Preview#
Live Preview
*Not Italic*
# Not a Heading
Learn More โ Markdown Escaping Characters
Mathematical Expressions
Some Markdown implementations support mathematical notation using LaTeX-style syntax. Math support depends on the Markdown editor or documentation platform you're using.
Inline Example#
$E = mc^2$
Block Example#
$$
a^2+b^2=c^2
$$
Best for scientific documentation, engineering notes, academic papers, and educational content.
Learn More โ Markdown Math
Choosing the Right Markdown Feature
Different Markdown elements serve different purposes. Choosing the right one improves readability and keeps documents consistent.
| Goal | Recommended Feature |
|---|---|
| Organise sections | Headings |
| Display code | Code Blocks |
| Compare information | Tables |
| Track progress | Task Lists |
| Cite references | Footnotes |
| Add emphasis | Bold or Italic |
| Separate sections | Horizontal Rules |
| Display formulas | Math Expressions |
Instead of relying on one formatting style throughout a document, combine Markdown elements to create clear, well-structured content that is easy to read and maintain.
Platform-Specific Markdown Implementations
Markdown has evolved beyond its original specification. Today, many applications support additional features that make writing documentation, notes, and technical content more powerful. Understanding which Markdown implementation you're using helps avoid compatibility issues when moving documents between platforms.
GitHub Markdown
GitHub renders Markdown across README files, Issues, Pull Requests, and Discussions using its own flavor built on top of standard Markdown. If you're documenting a repository, this is the implementation you'll use most often.
Best for GitHub repositories, project READMEs, issue tracking, and wikis.
Learn More โ GitHub Markdown
GitHub Flavored Markdown (GFM)
GitHub Flavored Markdown builds on the CommonMark specification by introducing features designed for software development and collaborative documentation, including tables, task lists, strikethrough, automatic URL linking, footnotes, and GitHub-supported alerts.
Best for GitHub repositories, project READMEs, open-source documentation, issue tracking, and wikis.
Learn More โ GitHub Flavored Markdown
Related Guides โ GitHub Markdown ยท GitHub README Guide
Try Tool โ README Generator
Obsidian Markdown
Obsidian extends standard Markdown with features designed for personal knowledge management and interconnected notes, including wikilinks, callouts, embedded notes, graph view, tags, and canvas support. Many of these extensions are specific to Obsidian and may not render correctly in other Markdown applications.
Syntax#
[[Daily Notes]]
# Meeting Notes
- Review project
Best for personal notes, knowledge bases, research, and second-brain workflows.
Learn More โ Obsidian Markdown
Mermaid Diagrams
Mermaid allows you to create diagrams using text-based syntax directly inside Markdown documents, including flowcharts, sequence diagrams, class diagrams, entity relationship diagrams, Gantt charts, pie charts, and mind maps. Support depends on the platform you're using โ GitHub, many documentation frameworks, and several Markdown editors include Mermaid support.
Best for software architecture, technical documentation, process diagrams, and system design.
Learn More โ Mermaid Diagrams
VS Code Markdown
Visual Studio Code includes built-in Markdown support, making it one of the most popular editors for technical writing โ with live preview, syntax highlighting, keyboard shortcuts, an extension marketplace, Git integration, and Mermaid support through extensions.
Best for software development, documentation, README files, and technical writing.
Learn More โ VS Code Markdown
Which Markdown Implementation Should You Use?
The best choice depends on where your Markdown will be published.
| If you are... | Recommended Markdown |
|---|---|
| Writing portable documentation | CommonMark |
| Working on GitHub projects | GitHub Flavored Markdown |
| Managing personal notes | Obsidian Markdown |
| Creating technical diagrams | Mermaid |
| Writing documentation in an IDE | VS Code Markdown |
There's no single implementation that's best for every situation. The most important consideration is choosing one that's compatible with the tools and platforms used in your workflow.
Learn More โ CommonMark Guide
Best Practices
Following a few simple practices will help your Markdown remain clean, readable, and compatible across different editors.
Use Standard Markdown Whenever Possible#
Core Markdown syntax works across nearly every implementation and provides the greatest portability.
Add Extensions Only When Needed#
Features such as tables, task lists, Mermaid diagrams, and callouts are useful, but they may not be supported everywhere. Before using an extension, confirm that your target platform supports it.
Keep Documents Well Structured#
Organise content with clear headings, descriptive link text, meaningful image alt text, and consistent formatting. A well-structured document is easier to read, maintain, and navigate.
Preview Before Publishing#
Always preview your Markdown in the application where it will ultimately be published. Small rendering differences are easier to fix before publication than afterwards.
Learn More โ Markdown Best Practices ยท Markdown Style Guide
Frequently Asked Questions
- 1
What is the difference between Markdown and CommonMark?
Markdown is the original lightweight markup language. CommonMark is a formal specification that standardises how Markdown should be interpreted and rendered.
- 2
Is GitHub Flavored Markdown the same as CommonMark?
No. GitHub Flavored Markdown is based on CommonMark but adds several GitHub-specific extensions such as tables, task lists, and automatic URL linking.
- 3
Which Markdown implementation should beginners learn?
Learning standard Markdown first is the best approach because it's supported by nearly every Markdown editor. Once you're comfortable with the basics, you can explore platform-specific extensions such as GitHub Flavored Markdown or Obsidian Markdown.
- 4
Will every Markdown editor support the same syntax?
No. Most editors support core Markdown, but advanced features such as tables, Mermaid diagrams, mathematical expressions, or callouts may depend on the specific Markdown implementation.
- 5
Can I use HTML inside Markdown?
Many Markdown implementations allow inline HTML, although support varies by platform. For maximum portability, prefer standard Markdown syntax whenever it provides the formatting you need.
