markdowneditor

Markdown cheat sheet

Every syntax below renders live in markdowneditor. Open the editor and paste any example to see it instantly.

Basic syntax

ResultSyntax
Headings from level 1 to 6# Heading 1 … ###### Heading 6
Bold text**bold**
Italic text*italic*
Strikethrough~~strikethrough~~
Blockquote> quote
Bulleted list- item
Ordered list1. item
Inline code`code`
Code block with language highlighting```ts code ```
Link[text](https://a.com)
Image![alt](image.png)
Horizontal rule---

Extended syntax (GFM)

ResultSyntax
Table with column alignment| a | b | |---|--:| | 1 | 2 |
Task list with clickable checkboxes- [x] done
Footnote reference and definitionnote[^1] [^1]: text
Reference-style link[text][id] [id]: https://a.com

Math and diagrams

ResultSyntax
Inline equation$e=mc^2$
Display equation$$\sum_{i=1}^n i$$
Mermaid diagram```mermaid flowchart LR A-->B ```
Graphviz diagram```dot digraph { a -> b } ```

Practice right now

Copy any example and paste it into the editor. The preview updates as you type.