MarkBloom
Create beautiful PDFs from Markdown, styled with Tailwind CSS. Write in the editor, preview instantly, and export to PDF with a single click.
Headings
Heading Level 3
Each heading level has distinct sizing and weight to create a clear visual hierarchy. Headings support bold, italic, and inline code too.
Lists
Unordered List
- Live preview with instant rendering
- One-click PDF export
- Nested items are supported:
- Multiple page sizes: A4, Letter, Legal
- Syntax highlighting for 100+ languages
- TypeScript, Python, Rust, Go, and more
- Clean, modern typography
Ordered List
- Write your content in Markdown
- Preview the formatted output in real-time
- Nested ordered lists work too:
- Adjust the page size if needed
- Customize the theme
- Click Export PDF to generate your document
Checklist
- Markdown editor with syntax support
- Live preview panel
- PDF export functionality
- Page size selection
- Custom theme support
- Template library
Code Blocks
Syntax highlighting uses Shiki with the GitHub Dark theme.
interface Document {
title: string;
content: string;
createdAt: Date;
}
function createDocument(title: string, content: string): Document {
return {
title,
content,
createdAt: new Date(),
};
}
const doc = createDocument("My Report", "# Hello World");
console.log(doc.title); // "My Report"
fn main() {
let numbers: Vec<i32> = (1..=10).collect();
let sum: i32 = numbers.iter().sum();
println!("Sum of 1 to 10: {sum}");
}
Code blocks without a language are also rendered:
$ npm install markbloom
$ markbloom serve --port 3000
Server running at http://localhost:3000
Tables
| Feature | Description | Status |
|---|---|---|
| Markdown Parsing | Full CommonMark + GFM support | Ready |
| Live Preview | Real-time rendered output | Ready |
| PDF Export | One-click document generation | Ready |
| Syntax Highlight | Shiki with GitHub Dark theme | Ready |
| Mermaid Diagrams | Flowcharts, sequences, and more | Ready |
| Math / LaTeX | KaTeX-powered equation rendering | Ready |
| HTML Support | Inline HTML like GitHub | Ready |
| Custom Themes | User-defined color schemes | Coming Soon |
Blockquotes
"Simplicity is the ultimate sophistication." -- Leonardo da Vinci
Tip: You can nest any Markdown syntax inside blockquotes, including bold text, and links.
Nested blockquotes are also supported.
HTML Support
Inline HTML is supported, just like on GitHub.
Centered headings and images work out of the box.
Click to expand
This content is hidden by default and revealed when the user clicks the summary. Markdown inside HTML blocks works too: bold, italic, code.
Diagrams
Mermaid diagrams are rendered automatically from fenced code blocks.
Flowchart
Sequence Diagram
Math & LaTeX
Inline math works with single dollar signs: and .
Block equations use double dollar signs:
Matrix
Aligned Equations
Images
Created with MarkBloom