BOXUNBAOTools
Simplify everyday tasks.Back to website
ToolboxMarkdown Syntax & Preview

Markdown Syntax & Preview

Runs locally

Write on the left and see the result on the right. Common syntax is just a click away.

View syntax guide

Markdown source EDITOR

0 characters

Live preview PREVIEW

Updates as you type

Write some Markdown to see a preview here.

1 line

Text stays on this page. There is no upload or saved history. Images are blocked from loading automatically.

How to use

Steps

  1. Paste Markdown into the source pane and watch the live preview update. Select Restore example to load a complete sample.
  2. Check the syntax reference when you need help. Select Insert example to add the syntax to the source and see how it renders.
  3. When the formatting looks right, select Copy source or Download .md to save the Markdown file.

Example

Paste the examples below into the source pane. The preview shows a heading, bold text, and task items with check states.

# 发布清单

- [x] 完成草稿
- [ ] **确认排版**

Tips

  • Supports headings, lists, tasks, tables, links, and code blocks. The preview is limited to 200,000 characters.
  • Edit task check states in the source using [ ] and [x] . The preview displays alt text for images and treats raw HTML as text.
Markdown Syntax ReferenceCommon Markdown syntaxExpand / collapse

Supports common Markdown, tables, strikethrough, and read-only task lists. Raw HTML appears as text. Code blocks preserve the source with no syntax highlighting. Footnotes, math, and Mermaid diagrams are unavailable.

Headings

Use 1–6 # characters for the heading level, followed by a space.

# Level one
## Level two
### Level three

Emphasis and strikethrough

Use asterisks for bold or italic text and double tildes for strikethrough.

**Bold text** · *Italic text* · ~~Strikethrough~~

Ordered and unordered lists

Start lines with a hyphen or number. Indent to nest lists.

- First item
- Second item
  - Nested item

1. First step
2. Second step

Task lists

Use [ ] for pending tasks and [x] for completed tasks. Checkboxes in the preview are read-only.

- [x] Finish the draft
- [ ] Review the content
- [ ] Prepare to publish

Block quotes

Start a paragraph with >. Repeat > to nest quotes.

> Simplify everyday tasks.
>
> This is another quoted paragraph.

Inline code and code blocks

Use single backticks for inline code and triple backticks around code blocks.

Run `npm run dev` to start the preview.

```javascript
const message = "Hello, BOXUNBAO";
console.log(message);
```

Tables and alignment

Separate cells with pipes. Colons in the separator row control left, right, or center alignment.

| Tool | Status |
| :--- | :---: |
| JSON Formatter | Ready |
| Markdown Preview | Ready |

Links

Put the label in brackets and the destination in parentheses. The link opens when selected.

[BOXUNBAO](https://boxunbao.com/)

<https://tools.boxunbao.com/>

Images

Use ![description](URL). The preview displays the description without loading the image.

![Image description](https://example.com/image.png)

Horizontal rules and line breaks

Put --- on its own line for a horizontal rule. End a line with two spaces for a hard line break.

First line  
Second line

---

New paragraph

Escape characters

Put a backslash before Markdown punctuation to show it as plain text.

\*This text is not italic\*

\# This is not a heading