Wednesday, December 6, 2023
CommonMark is a standardized version of Markdown designed to solve inconsistencies in how Markdown is parsed. This cheat sheet provides a quick reference to the most commonly used features of CommonMark style Markdown.
# Heading 1
## Heading 2
### Heading 3
**bold**
or __bold__
*italic*
or _italic_
***bold & italic***
or ___bold & italic___
Unordered list: Start lines with -
, +
, or *
Ordered list: Start lines with numbers followed by .
1. First item
2. Second item
[Link text](URL)
![Alt text](Image URL)
Inline code: Enclose text with backticks `
Code block: Enclose text with three backticks (```) or indent with four spaces
```markdown code block ```
Start a line with >
followed by a space
> This is a blockquote.
|
to create columns and hyphens -
to create headers| Header 1 | Header 2 |
| -------- | -------- |
| Row 1 | Data 1 |
| Row 2 | Data 2 |
---
, asterisks ***
, or underscores ___
\
CommonMark's standardized approach ensures that Markdown documents are consistent and portable across different platforms and parsers.