Markdown Editor
Write Markdown on the left and see it rendered on the right, with GitHub-style tables and task lists. Export clean HTML or save the .md file.
Last updated
How to use the Markdown Editor
Write
Type Markdown, or use the toolbar for bold, headings, links, lists, tasks, quotes and tables.
Preview
The preview updates as you type. Switch to HTML to see the generated markup.
Check the stats
Word count, reading time and number of headings appear under the preview.
Export
Copy the HTML, download a standalone .html page, or save your .md file.
Features
- Live preview as you type
- GitHub-flavoured Markdown: tables, task lists, strikethrough, fenced code blocks and autolinks
- Formatting toolbar: bold, italic, heading, code, link, bulleted list, task list, quote and table
- Preview or raw HTML view
- HTML is sanitised: scripts, event handlers and javascript: links are removed
- Word count, character count, reading time and heading count
- Download a standalone .html page or the .md source
Privacy
Your text is rendered by JavaScript in your browser tab and never uploaded or saved — copy or download it before leaving the page. External images in the preview aren't fetched.
Examples
A README with a table
Headings, bold text, inline code and a GitHub-style table.
Markdown
# sensor-gateway Bridges **MQTT** devices to the REST API. | Variable | Default | | ----------- | ------- | | `MQTT_URL` | mqtt://localhost | | `PORT` | 8080 |HTML
<h1>sensor-gateway</h1> <p>Bridges <strong>MQTT</strong> devices to the REST API.</p> <table> <thead> <tr> <th>Variable</th> <th>Default</th> </tr> </thead> <tbody><tr> <td><code>MQTT_URL</code></td> <td>mqtt://localhost</td> </tr> <tr> <td><code>PORT</code></td> <td>8080</td> </tr> </tbody></table>Task lists and strikethrough
GitHub-flavoured task lists become checkboxes.
Markdown
## Release checklist - [x] Bump version - [x] Update changelog - [ ] Tag release - [ ] ~~Email customers~~ Post in #announcementsHTML
<h2>Release checklist</h2> <ul> <li><input checked="" disabled="" type="checkbox"> Bump version</li> <li><input checked="" disabled="" type="checkbox"> Update changelog</li> <li><input disabled="" type="checkbox"> Tag release</li> <li><input disabled="" type="checkbox"> <del>Email customers</del> Post in #announcements</li> </ul>Quotes and code blocks
A fenced block keeps its language as a class for syntax highlighters.
Markdown
> **Note:** restart the service after changing the config. ```bash sudo systemctl restart sensor-gateway ```HTML
<blockquote> <p><strong>Note:</strong> restart the service after changing the config.</p> </blockquote> <pre><code class="language-bash">sudo systemctl restart sensor-gateway </code></pre>
Understanding Markdown
Markdown cheat sheet
| You write | You get |
|---|---|
| # Heading / ## Subheading | Headings (levels 1–6) |
| **bold** / _italic_ / ~~strike~~ | Bold, italic, strikethrough |
| [text](https://…) | Link |
|  | Image |
| - item / 1. item | Bulleted / numbered list |
| - [ ] task / - [x] done | Task list |
| `code` / ```lang | Inline code / code block |
| > quote | Blockquote |
| | a | b | | Table |
GitHub-flavoured Markdown
GitHub-flavoured Markdown (GFM) extends standard Markdown with tables, task lists, strikethrough and automatic links. It's what GitHub, GitLab and many docs tools render, so READMEs written here look the same when you push them.
Safe previews
Markdown can contain raw HTML, including <script> tags. The preview runs the HTML through DOMPurify, which removes scripts, event-handler attributes and javascript: links before anything is shown. Images from other websites aren't loaded either, because the page's security policy only allows images from DevNest itself — so pasting a document can't make your browser contact another server.
Frequently asked questions
Is my document saved?
No. Nothing is stored, locally or on a server. Download the .md file or copy your text before closing the tab.
Why don't images from other sites show in the preview?
For privacy, the page's security policy blocks images from other websites, so a pasted document can't make your browser contact another server. The image Markdown and HTML are still correct.
Does it support GitHub tables and task lists?
Yes. Tables, task lists (- [ ] and - [x]), strikethrough, fenced code blocks and autolinks all follow GitHub-flavoured Markdown.
Can I convert Markdown to HTML?
Yes. Switch the output to HTML and copy it, or download a complete .html page with simple built-in styles.
Is raw HTML in Markdown allowed?
Yes, but it's sanitised: scripts, event handlers such as onclick and javascript: URLs are removed from the preview and the exported HTML.