zahubtech@local $ markdown --preview
Markdown Editor — live GFM preview & HTML export
This online markdown editor renders a live preview as you type: write Markdown on the left and watch the formatted result update instantly on the right. It speaks GitHub-Flavored Markdown (GFM), so tables, task lists, strikethrough and fenced code blocks all render the way they do on GitHub.
Use it to draft a README, preview a comment before you post it, or convert Markdown to HTML. Fenced code blocks are syntax-highlighted, and you can copy the source, download a `.md` file, or export the rendered document as standalone HTML. Everything runs entirely in your browser — nothing you type is uploaded.
Usage
- Type or paste Markdown into the left "markdown" pane. The right "preview" pane updates live as you type — no render button to press.
- Use standard GFM syntax: `#` headings, `**bold**`, `*italic*`, `- ` lists, `| a | b |` tables, `- [ ]` task lists, and triple-backtick fenced code blocks with a language hint for syntax highlighting.
- Use the toolbar to copy the Markdown source, download it as a `.md` file, or export the rendered preview as a standalone `.html` document.
- Click "clear" to empty the editor and start from a blank document.
Examples
- A GFM table:
| Tool | Live | |------|------| | GFM | yes | - Pipes separate columns and the second row of dashes marks the header divider. GitHub-Flavored Markdown renders this as an HTML table in the preview — handy as a quick markdown table editor.
- A task list:
- [x] write draft - [ ] review - GFM task lists use `- [ ]` for an unchecked item and `- [x]` for a checked one, rendering as checkboxes in the preview.
- A fenced code block with highlighting:
```ts const x: number = 1; ``` - A triple-backtick fence with a language hint (`ts`) renders as a syntax-highlighted code block. Without a hint it renders as a plain monospaced block.
FAQ
- What is a markdown live preview editor?
- It is an editor that renders your Markdown to formatted output as you type, side by side with the source. You see exactly how headings, lists, tables and code will look without committing or publishing first.
- Does it support GitHub-Flavored Markdown (GFM)?
- Yes. On top of standard Markdown it supports the GFM extensions: tables, task lists, strikethrough, autolinks and fenced code blocks with language hints — the same syntax GitHub renders.
- How do I convert Markdown to HTML?
- Type your Markdown, then use the "download .html" toolbar button to export the rendered preview as a standalone HTML document. You can also copy the source or download the raw `.md` file.
- Is my text uploaded anywhere?
- No. The editor and preview run entirely in your browser. Nothing you type leaves your machine — 0 bytes are sent to any server.
Markdown Editor
A live preview editor. Type on the left, see GitHub-flavored markdown on the right.
Features
- Bold and italic
- Links
- Task lists, tables, fenced code
function greet(name: string) {
console.log(`Hello, ${name}!`);
}
Everything renders client-side.
| Format | Live |
|---|---|
| GFM | yes |