Markdown Syntax Guide
Table of Contents
Basic Syntax
Master the fundamentals of our markdown cheat sheet with these essential syntax elements. Each example shows the markdown syntax and its rendered output side by side.
Headings
To create a heading, add number signs (#) in front of a word or phrase. Use 1-6 # symbols for different heading levels.
Markdown | Rendered Output | Copy |
---|---|---|
# Heading level 1 | Heading level 1 | |
## Heading level 2 | Heading level 2 | |
### Heading level 3 | Heading level 3 | |
#### Heading level 4 | Heading level 4 | |
##### Heading level 5 | Heading level 5 | |
###### Heading level 6 | Heading level 6 |
💡 Heading Best Practices
- • Always put a space between the # and the heading name
- • Use only one H1 per page for better SEO
- • Don't skip heading levels (don't go from H1 to H3)
Text Formatting
Add emphasis to your text with bold, italic, and other formatting options in this markdown cheat sheet.
Markdown | Rendered Output | Copy |
---|---|---|
**bold text** | bold text | |
*italicized text* | italicized text | |
***bold and italicized*** | bold and italicized | |
~~strikethrough~~ |
Lists and Links
Lists
Organize your content with ordered and unordered lists. Essential elements in any markdown cheat sheet.
Markdown | Rendered Output | Copy |
---|---|---|
- First item - Second item - Third item |
| |
1. First item 2. Second item 3. Third item |
| |
- [x] Write the press release - [ ] Update the website - [ ] Contact the media |
|
Links and Images
Create clickable links and embed images using markdown syntax.
Markdown | Rendered Output | Copy |
---|---|---|
[Markdown Editor](https://markkit.dev) | Markdown Editor | |
<https://markkit.dev> | https://markkit.dev | |
 | ![]() |
Code and Quotes
Display code snippets and quotations professionally. These markdown cheat sheet elements are essential for technical documentation and content with citations.
Code Formatting
Format code snippets with inline code and code blocks for technical documentation. This markdown cheat sheet section covers essential code formatting syntax.
Markdown | Rendered Output | Copy |
---|---|---|
`console.log('Hello World')` | console.log('Hello World') | |
```javascript function greet(name) { return `Hello, ${name}!`; } ``` |
|
Blockquotes
Create quotations and callouts using blockquote syntax.To create a blockquote, add a > in front of a paragraph. Great for highlighting important information.
Markdown | Rendered Output | Copy |
---|---|---|
> This is a blockquote | This is a blockquote | |
> Multi-line quote > spanning multiple > lines of text | Multi-line quote |
Tables
Creating Markdown Tables
Markdown table syntax uses pipes (|) to separate columns and dashes (-) to create headers. This markdown cheat sheet provides comprehensive table examples.
Markdown | Rendered Output | Copy | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| Header 1 | Header 2 | Header 3 | |----------|----------|----------| | Cell 1 | Cell 2 | Cell 3 | | Cell 4 | Cell 5 | Cell 6 | |
| ||||||||||
| Left | Center | Right | |:-----|:------:|------:| | Text | Text | Text | |
|
Advanced Markdown Features
Advanced Syntax
Extended markdown features for more complex formatting and content organization. This section includes highlighting, subscript, superscript, and horizontal rules syntax.
Markdown | Rendered Output | Copy |
---|---|---|
==highlight== | highlight | |
Subscript H~2~O | Subscript H2O | |
Superscript X^2^ | Superscript X2 | |
--- |
💡 Markdown Best Practices
- • Use consistent spacing for better readability
- • Preview your markdown before publishing
- • Keep table content concise and scannable
- • Use semantic headings (H1, H2, H3) properly
🚀 Pro Tips
- • Use this cheat sheet as a quick reference
- • Test advanced features in your markdown editor
- • Combine multiple formatting for emphasis
- • Consider responsive design for tables
Complete Markdown Cheat Sheet Summary
This comprehensive markdown cheat sheet covers all essential syntax elements. Whether you need to create a markdown table, format text, or structure content, this markdown cheat sheet serves as your complete reference guide.
Quick Reference
Use this markdown cheat sheet for instant syntax lookup
Table Creation
Master markdown table syntax with our examples
Best Practices
Follow markdown cheat sheet guidelines for consistency
Markdown Tips & Tricks
💡 Pro Tips from Our Markdown Cheat Sheet
- • Always preview your markdown table before publishing
- • Use this markdown cheat sheet as a bookmark for quick reference
- • Practice markdown table creation with different column counts
- • Keep your markdown cheat sheet handy when writing documentation
✅ Markdown Table Troubleshooting
Common markdown table issues and solutions from our markdown cheat sheet:
- • Ensure equal number of pipes in each markdown table row
- • Check markdown table header separator syntax
- • Verify markdown table alignment colons placement