Markdown Cheat Sheet 2026 — Syntax and Formatting Guide

Bookmark this page. Use Ctrl+F (or Cmd+F on Mac) to find what you need. This cheat sheet covers standard Markdown and GitHub-flavored extensions. Try examples at markdownlivepreview.com. Last updated: March 2026 Headings # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 Text Formatting Markdown Result **bold** bold *italic* italic ***bold and italic*** bold and italic ~~strikethrough~~ strikethrough `inline code` inline code > blockquote blockquote Links and Images [Link text](https://example.com) [Link with title](https://example.com "Hover text") <https://example.com> <!-- auto-link --> ![Alt text](image.png) ![Alt text](image.png "Image title") [![Clickable image](image.png)](https://example.com) <!-- Reference-style links --> [Read more][1] [1]: https://example.com Lists <!-- Unordered --> - Item one - Item two - Nested item - Another nested <!-- Ordered --> 1. First 2. Second 3. Third <!-- Task list (GitHub) --> - [x] Completed task - [ ] Incomplete task - [ ] Another task Code Inline: `const x = 42;` Code block with language: ```javascript function greet(name) { return `Hello ${name}`; } ``` Code block without language: ``` plain text here ``` Supported Languages for Syntax Highlighting javascript, typescript, python, rust, kotlin, java, go, bash, sql, html, css, json, yaml, toml, markdown, diff, dockerfile ...

July 16, 2026 · 3 min