Complete Markdown Syntax Cheat Sheet, MD Viewer & PDF Converter Guide
Markdown is a plain-text formatting language developed by John Gruber and Aaron Swartz in 2004. It enables authors, technical writers, and software engineers to write rich, structured documents using intuitive punctuation characters. Today, Markdown is the universal standard for GitHub READMEs, static site generators (Hugo, Astro, Jekyll), documentation engines, and note-taking apps.
Real-Time Split-Screen Live Preview
Instant two-way rendering powered by Marked.js transforms GFM Markdown into clean, semantic HTML with zero latency.
One-Click Markdown to PDF Conversion
Generate professional, watermark-free PDF documents directly from your Markdown syntax using the built-in printable stylesheet.
GFM Tables, Tasks & Code Blocks
Full support for GitHub Flavored Markdown (GFM) tables with column alignment, interactive task checklists, and code syntax blocks.
100% Client-Side Data Privacy
Everything runs in your local browser sandbox. Your proprietary documentation and private notes are never sent to external servers.
Essential Markdown Syntax Cheat Sheet Reference
| Element Type | Markdown Syntax | Rendered HTML Output |
|---|---|---|
| Heading 1 | # Heading 1 |
<h1>Heading 1</h1> |
| Heading 2 | ## Heading 2 |
<h2>Heading 2</h2> |
| Bold Text | **Bold text** or __Bold text__ |
<strong>Bold text</strong> |
| Italic Text | *Italic text* or _Italic text_ |
<em>Italic text</em> |
| Inline Code | `console.log()` |
<code>console.log()</code> |
| Fenced Code Block | ```javascript ... ``` |
<pre><code>...</code></pre> |
| Hyperlink | [Title](https://kafeinfotech.fun) |
<a href="...">Title</a> |
| Blockquote | > Quoted text |
<blockquote>Quoted text</blockquote> |
| GFM Table | | Col 1 | Col 2 | <br> | --- | --- | |
<table><tr><td>...</td></tr></table> |
| Task List | - [x] Complete task |
<input type="checkbox" checked> |
How to Convert Markdown Files to PDF Documents
Converting .md files to polished PDF documents is seamless:
- Type or paste your Markdown syntax into the left-hand editor pane.
- Preview the formatting in real time in the right-hand viewer pane.
- Click the Export PDF button on the toolbar.
- In your browser's print dialog, select "Save as PDF", verify page layout, and click Save. The built-in media query automatically suppresses navigation toolbars and formats clean, printable typography.