Markdown
Write clear, portable Markdown with CommonMark syntax and widely used GitHub extensions.
Headings and Paragraphs
Build the basic structure of a Markdown document.
Create ATX or Setext headings.
# Heading 1
## Heading 2
### Heading 3Separate paragraphs and control hard line breaks.
First paragraph.
Second paragraph.Emphasis and Text
Emphasize text and use GitHub text extensions.
Add emphasis with asterisks or underscores.
*italic*
**bold**
***bold italic***Mark deleted text with the GFM strikethrough extension.
~~removed text~~Lists and Tasks
Create ordered, unordered, nested, and task lists.
Create bullet and numbered lists.
- First item
- Second item
- Third item
1. First step
2. Second stepNest list content and create GFM checkboxes.
- Parent
- Child
- GrandchildLinks
Link inline, reuse destinations, and create autolinks.
Add link text, a destination, and an optional title.
[DevSheets](https://devsheets.io)Reuse a destination without repeating the URL.
Read the [CommonMark spec][spec].
[spec]: https://spec.commonmark.org/Images
Embed images with useful alternative text.
Embed an image with an optional title.
Code
Format inline code and multi-line code blocks.
Mark commands, filenames, and identifiers inline.
Run `npm install` first.Create multi-line code blocks with language hints.
~~~js
const message = 'Hello'
console.log(message)
~~~Create a code block with four leading spaces.
const port = 3000
startServer(port)Quotes and Separators
Quote content and divide major sections.
Quote one or more paragraphs and nested blocks.
> A quoted sentence.Insert a horizontal separator between sections.
---Tables
Present compact tabular data with the GFM table extension.
Create a table and control column alignment.
| Name | Role |
| --- | --- |
| Ana | Developer |Escaping and Entities
Display syntax characters literally.
Escape punctuation or use an HTML entity.
\*not italic\*
\# not a headingHTML in Markdown
Use raw HTML when the renderer permits it.
Mix supported HTML with Markdown content.
Press <kbd>Ctrl</kbd> + <kbd>C</kbd>.GitHub Features
Use common GitHub-specific document features.
Add GitHub-supported footnote references and definitions.
A statement with a source.[^1]
[^1]: The supporting note.Highlight important information in GitHub documents.
> [!NOTE]
> Helpful context for the reader.Document Patterns
Combine syntax into portable project documentation.
Organize a concise project README.
# Project Name
One-sentence project description.
## Installation
## UsageChoose syntax that works across common renderers.
# Use core syntax first
- Headings
- Lists
- Links
- Fenced code