The editor writes paragraphs, headings, quotes, lists, code blocks and dividers, with bold, italic, underline, strikethrough, code and links. Its value is HTML, or Markdown with format="markdown", and it works with forms.
It keeps its own document and handles every edit, so what’s pasted or dropped reaches the page only as that document: structure and formats stay, from Google Docs and Word too, and scripts, styles and unsafe links go.
Type Markdown and it turns into formats: # starts a heading, - a list, and **bold** and `code` format as you close them. Every format has its shortcut and its toolbar button.
A comment
tools picks the toolbar’s buttons. Type Markdown, paste from anywhere, and see the HTML the editor keeps.
Type **bold**, - a list, or paste from anywhere.
Markdown in and out
With format="markdown", the value is Markdown: read in with nested lists, quotes and code, and written back as you edit.
What’s new
- Faster builds, with a cache
- A
--watchflag
- that reruns only what changed
Try it with pnpm dev.## What’s new - **Faster** builds, with a cache - A `--watch` flag - that reruns only what changed > Try it with `pnpm dev`.