The Ultimate Markdown Syntax Guide & Cheat Sheet
Your one-stop reference for all things Markdown. From standard GFM formatting to advanced features like Mermaid diagrams and LaTeX math—everything you need to write structured, rich content.
1Typography, Formatting & Text Styles
Master basic formatting: bold, italic, strikethrough, and heading levels (H1-H6). Learn how to style text for emphasis and clarity.
2Lists: Ordered, Unordered & Task Lists
Create organized content with bullet points, numbered lists, and nested items. Track progress with interactive GFM task lists.
3Hyperlinks, Images & Media
Embed images, add hyperlinks to text, and use Base64 encoded images. Learn standard link syntax and image inclusion.
4Blockquotes & GitHub Alerts
Highlight important information using blockquotes and GitHub-flavored alerts (Note, Tip, Important, Warning, Caution).
5Code Blocks & Syntax Highlighting
Display code snippets with syntax highlighting for various programming languages (Python, JS, etc.) and use inline code for variables.
6Tables, Alignment & Emoji
Organize data with GFM tables, control cell alignment, and insert fun emojis to enhance your documentation.
7Footnotes & References
Add academic-style citations and footnotes to keep your content clean while providing necessary references.
8HTML Elements (Collapsible Details)
Use raw HTML tags like '<details>' and '<summary>' to create interactive collapsible sections for FAQs or extra content.
9LaTeX Math & Equations
Render complex mathematical formulas using LaTeX syntax math blocks (KaTeX). Perfect for scientific and academic writing.
10Mermaid Diagrams & Charts
Visualize flows and data. Create flowcharts, sequence diagrams, pie charts, and more directly in Markdown with Mermaid.js.