local markdown workbench
Markdown live preview
A local place to write Markdown, see exactly what it renders into, and look up the syntax without bouncing to another utility site.
markdown syntax reference
Complete Markdown syntax reference.
This guide covers the CommonMark basics plus GitHub-flavored Markdown that this preview supports: tables, task lists, strikethroughs, autolinks, and footnotes.
Text
Headings
Use one to six # marks before a heading.
# Heading 1
## Heading 2
### Heading 3
###### Heading 6Paragraphs
Separate paragraphs with a blank line.
First paragraph with a complete thought.
Second paragraph after a blank line.Line Breaks
End a line with two spaces, or use a blank line for a new paragraph.
First line with two spaces
second line after a hard break.Emphasis
Italic, bold, bold italic, and strikethrough.
*italic*
**bold**
***bold italic***
~~strikethrough~~Blockquotes
Prefix quoted lines with >.
> A useful note.
>
> - Quotes can contain other Markdown.Horizontal Rules
Use three or more dashes, asterisks, or underscores.
Before
---
AfterEscaped Characters
Use a backslash before Markdown punctuation to show it literally.
\*not italic\*
\# not a heading
\[not a link\]Lists
Unordered Lists
Use -, *, or + for bullet lists.
- Apples
- Bananas
- Nested item
- CherriesOrdered Lists
Use numbers followed by periods.
1. Plan
2. Draft
3. Preview
4. ShipTask Lists
GitHub-flavored checklists render as checkboxes.
- [x] Write the draft
- [ ] Review the preview
- [ ] PublishLinks And Media
Inline Links
Wrap link text in brackets and the URL in parentheses.
[Garden](https://garden.micky.sh)Reference Links
Define URLs once and reuse them by label.
Open the [Garden][garden].
[garden]: https://garden.micky.shAutolinks
Plain URLs and email addresses can become links.
https://garden.micky.sh
<hello@example.com>Images
Images use link syntax with a leading exclamation mark.
Code
Inline Code
Wrap short code fragments with backticks.
Run `pnpm run dev` from the project root.Fenced Code Blocks
Use triple backticks, optionally with a language label.
```ts
type Note = {
title: string;
done: boolean;
};
```Indented Code Blocks
Indent every line with four spaces.
pnpm run typecheck
pnpm run buildTables And Notes
Tables
Separate columns with pipes and add a dashed divider row.
| Feature | Status |
| --- | --- |
| Preview | live |
| Syntax guide | live |Aligned Tables
Use colons in the divider row for alignment.
| Left | Center | Right |
| :--- | :---: | ---: |
| A | B | C |Footnotes
Use a marker in the text and define it later.
Markdown can stay compact.[^1]
[^1]: Footnotes are part of GFM.Raw HTML
CommonMark allows HTML, but this preview keeps it inert.
<mark>This displays as text here for safety.</mark>This app intentionally does not render raw HTML.