Markdown Extension
Read and write clean markdown strings directly from the editor instance, allowing seamless content migrations.
Usage
The editor includes @tiptap/markdown in its default extensions list. This enables
full markdown shortcuts while typing (e.g. typing # transforms into a Heading 1) and
provides getters/setters to communicate in markdown format:
Pasting & Keyboard Shortcuts
- Paste Markdown: Pasting raw markdown text into the editor automatically parses and styles it appropriately (bold, italic, list format).
- Typing Shortcuts: Use standard markdown indicators (e.g.
*,-,1.,>,\`\`\`) at the start of a block to instantly format headings, lists, quotes, and code blocks.