Markdown Preview
ZetoPad includes a rich Markdown preview for documentation and notes.
Enabling Preview
- Open a Markdown snippet (
.mdextension or set language to Markdown) - Click the eye icon (👁) in the toolbar
- Or press
Cmd+Shift+Pto toggle preview
Preview Modes
Side-by-Side
View the editor and preview simultaneously, split horizontally.
Preview Only
Hide the editor and show only the rendered preview.
Supported Markdown Features
Basic Formatting
**Bold text***Italic text*~~Strikethrough~~`inline code`Headers
# Heading 1## Heading 2### Heading 3Lists
- Unordered item- Another item - Nested item
1. Ordered item2. Second itemCode Blocks
```pythondef hello(): print("Hello, World!")```Code blocks have syntax highlighting matching the editor.
Tables
| Header 1 | Header 2 ||----------|----------|| Cell 1 | Cell 2 || Cell 3 | Cell 4 |Links and Images
[Link text](https://example.com)Blockquotes
> This is a quote> It can span multiple linesTask Lists
- [x] Completed task- [ ] Pending taskMermaid Diagrams
ZetoPad renders Mermaid diagrams inline:
Flowchart
```mermaidgraph TD A[Start] --> B{Decision} B -->|Yes| C[Do something] B -->|No| D[Do something else] C --> E[End] D --> E```Sequence Diagram
```mermaidsequenceDiagram Client->>Server: Request Server->>Database: Query Database-->>Server: Results Server-->>Client: Response```Class Diagram
```mermaidclassDiagram Animal <|-- Dog Animal <|-- Cat Animal : +name Animal : +speak()```State Diagram
```mermaidstateDiagram-v2 [*] --> Idle Idle --> Processing: start Processing --> Done: complete Done --> [*]```Live Preview
The preview updates in real-time as you type, making it easy to see your changes immediately.
Styling
The preview uses your current theme colors for:
- Background
- Text
- Code blocks
- Links
- Headings
This ensures consistency with your editor appearance.