Paper size:
A4
Letter
Fit diagrams on page
Insert Page Break
Export to PDF
# Welcome to md2pdf A simple markdown editor with live preview, page breaks, and PDF export. ## Features - **Live preview** as you type - **Mermaid diagrams** rendered inline - **PDF export** with page breaks - Paper size selection (A4 / Letter) ## Mermaid Diagram Example ```mermaid graph TD A[Start] --> B{Is it working?} B -- Yes --> C[Great!] B -- No --> D[Debug] D --> B ``` ## Code Block Example ```javascript function greet(name) { return `Hello, ${name}!`; } console.log(greet('World')); ``` ## Another Section This is a paragraph to demonstrate text rendering. The preview panel on the right will update as you type, with a short debounce delay to keep things smooth. > Blockquotes work too. This is a quoted paragraph. | Feature | Status | |-----------|--------| | Markdown | Done | | Mermaid | Done | | PDF Export | WIP |