Write Markdown and see it drawn as you type: GitHub tables, task lists, code blocks and footnotes
Write or paste Markdown and see it drawn as you type, with GitHub’s tables, task lists and code blocks. Switch to HTML to copy the markup.
How to use it
Write Markdown, paste it, or open a .md file. Read the preview as you type; it scrolls with your text. HTML shows the markup it makes. Copy or download the HTML, or print the preview or save it as a PDF.
Examples
A task list and a table
- [x] Back up - [ ] Migrate | Plan | Price | |------|------:| | Team | $12 |
<ul> <li><input type="checkbox" disabled="" checked="" /> Back up</li> <li><input type="checkbox" disabled="" /> Migrate</li> </ul> <table> <thead> <tr> <th>Plan</th> <th align="right">Price</th> </tr> </thead> <tbody> <tr> <td>Team</td> <td align="right">$12</td> </tr> </tbody> </table>
The colon in |------:| aligns the column right.
Code with its language
```js const a = 1; ```
<pre><code class="language-js">const a = 1; </code></pre>
The Markdown it reads
| Write | Get |
|---|---|
# Title, ## Section | headings h1 to h6 |
**bold**, *italic*, ~~struck~~ | strong, em and del |
[text](https://…), <https://…>, or a bare https://… link | links |
- item, 1. item, - [ ] task | lists and task lists with boxes |
| a | b |, then |---|--:| | tables, columns aligned by the colons |
``` with a language name | code blocks with the language as a class |
> quoted | block quotes |
text[^1] and [^1]: note | footnotes at the end |
A preview that runs nothing
Questions
- Which Markdown does it follow?
CommonMark, with GitHub’s extensions: tables, task lists, strikethrough, links written as plain addresses, and footnotes. GitHub-only additions, such as > [!NOTE] alerts, :emoji: codes, math and Mermaid diagrams, are not drawn. - Can I print it or save it as a PDF?
Yes. Print or save as PDF, under the preview, opens your browser’s print dialog with the page in light colors; pick Save as PDF there. Long code blocks wrap and web links print their address. For an HTML file to share, choose Full page under Options on the HTML view: it adds a title from your first heading and the same reading styles, light or dark with the reader’s system. - Why does an image show as text in the preview?
Images from other sites are not loaded in the preview, so it never calls another site. You see the image’s alt text instead; the HTML keeps the image as written. Images written as data: URLs are drawn. - Can a script in my Markdown run in the preview?
No. The preview frame may not run scripts, and the HTML is cleaned before it is drawn, so scripts, onclick-style attributes and javascript: links are left out. The HTML you copy keeps your HTML as GitHub would, so clean it before showing it to others. - Is my text uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for drafts, internal docs and notes.