Formatting Plugins
Core text formatting plugins: headings, bold, italic, strikethrough, blockquotes, and horizontal rules. These plugins handle the most common Markdown formatting needs.
Usage
All formatting plugins are included by default when using createEditor(). You can also import individual plugin factories for a custom setup.
setup.ts
headingPlugin()
Renders ATX-style headings (# syntax) from H1 to H6. Registers toolbar items and keyboard shortcuts Ctrl/⌘ + 1, Ctrl/⌘ + 2, Ctrl/⌘ + 3.
headings.md
boldPlugin() · italicPlugin() · strikethroughPlugin()
Inline text formatting with standard Markdown syntax. Bold uses ** or __, italic uses * or _, and strikethrough uses ~~. Each plugin registers its own toolbar button and keyboard shortcut.
inline-formatting.md
Keyboard shortcuts: Bold = Ctrl/⌘ + B, Italic = Ctrl/⌘ + I, Strikethrough = Ctrl/⌘ + Shift + X
quotePlugin()
Renders > prefixed lines as styled blockquotes. Supports nested blockquotes and inline formatting within quotes.
blockquotes.md
Keyboard shortcut: Ctrl/⌘ + Shift + .
horizontalRulePlugin()
Inserts a horizontal rule (---) to visually separate sections of content.
rules.md
© 2026 SynclineMDX Editor. All rights reserved.