Student & Academic · Cheatsheet
Markdown Syntax Cheatsheet
Headings, formatting, links, images, code blocks, tables, and GitHub-flavored markdown
41 commands 9 sections
No entry matches that filter.
-
# Heading 1Largest heading (H1) -
## Heading 2Second level heading (H2) -
### Heading 3Third level heading (H3) -
#### Heading 4Fourth level heading (H4)
-
**bold**Bold text -
*italic*Italic text -
***bold italic***Bold and italic -
~~strikethrough~~Strikethrough text -
`inline code`Inline code -
> blockquoteBlockquote -
---Horizontal rule
-
[text](url)Inline link -
[text](url "title")Link with hover title -
Image -
[ref]: urlReference-style link definition -
<https://example.com>Auto-linked URL
-
- itemUnordered list item (also * or +) -
1. itemOrdered list item -
- nestedNested list (indent 3-4 spaces) -
- [x] doneTask list (checked) -
- [ ] todoTask list (unchecked)
-
```language\ncode\n```Fenced code block with syntax highlighting -
```js\nconsole.log()\n```JavaScript code block -
indented codeCode block (indent 4 spaces)
-
| H1 | H2 |Table header row -
| --- | --- |Table separator (required) -
| cell | cell |Table data row -
| :--- | ---: | :---: |Left, right, center alignment
-
> [!NOTE]Note alert box -
> [!WARNING]Warning alert box -
> [!TIP]Tip alert box -
#123Issue/PR reference -
@usernameUser mention -
:emoji_name:Emoji shortcode
-
text[^1]Footnote reference -
[^1]: footnote textFootnote definition -
==highlight==Highlighted text (some parsers) -
H~2~OSubscript (some parsers) -
X^2^Superscript (some parsers)
-
https://spec.commonmark.org/CommonMark specification: core Markdown syntax. -
https://docs.github.com/en/get-started/writing-on-githubGitHub writing documentation: supported Markdown features and extensions.
Related cheatsheets
Guides that use these commands
Tools for this work
- Markdown Table GeneratorCreate markdown tables visually with import from CSV, JSON, and Excel support.
- Markdown Table to ImagePaste a Markdown table and export it as a high-resolution PNG, JPG, or SVG. Customise theme, fonts, and padding. Great for shipping tables in slides and tweets.
- Markdown to WordConvert Markdown to Word (.docx) with custom background, headers, images, and fonts. Download professional documents instantly.