Markdown Cheat Sheet
A minimal Markdown cheat sheet I keep around for reference. Only contains the elements I most frequently use. See John Gruber’s original spec for plain Markdown and this quick reference for kramdown, the default Jekyll Markdown parser.
Element | Syntax |
---|---|
Headings | # Level 1 ## Level 2 ### Level 3 |
Bold | **bold text** |
Italic | _italic text_ |
Monospace | `monospace text` |
Unordered List | - First Item - Second Item - Third Item |
Ordered List | 1. First Item 2. Second Item 3. Third Item |
Inline Link | [Link Title](http://url.com) |
Reference Link | [Link Title][id] ... [id]: http://url.com |
Image | ![alt text](path_to_image.jpg) |
Blockquote | > quote text |
Fenced Code Block | ``` #include <iostream> int main() {} ``` |
Tables | | Element | Syntax | | ------ | ------------- | | Item 1 | Description 1 | | Item 2 | Description 2 | |
Footnote | Text with a footnote[^1]. ... [^1]: The footnote text. |