Blockquote Plugin
The Blockquote plugin provides styled quote blocks for highlighting quotations, testimonials, and important text excerpts.Installation
Usage
Features
- Styled quote blocks with left border
- Keyboard shortcut:
> - HTML, Markdown, and Email export
- Supports all text marks (bold, italic, etc.)
- Supports alignment and depth
- Automatic border and padding styling
Options
The blockquote plugin is configured with these default options:Element Type
Commands
The Blockquote plugin exportsBlockquoteCommands for programmatic manipulation:
Parsers
HTML
Deserialize: Converts<blockquote> tags to blockquote blocks
Serialize: Outputs blockquote with left border styling
Markdown
Examples
Basic Usage
Programmatic Insertion
With Formatting
Using Keyboard Shortcut
Type> at the start of an empty paragraph, then press Space:
Converting Existing Block
Styling
The blockquote automatically includes:- Left Border: 3px solid border on the left
- Padding: 2px vertical, 14px horizontal
- Color: Dark gray text (
#292929) - Margin: 8px top margin for spacing
Use Cases
- Customer testimonials
- Pull quotes in articles
- Citing external sources
- Highlighting important statements
- Code review comments
- Interview responses
Related
- Callout Plugin - Themed callout boxes
- Paragraph Plugin - Basic text content
- Marks API - Text formatting options