Macro Reference
Macro Reference
This section provides detailed instructions for each macro, including:
- When to use it
- How to write content
- Viewer controls
- Examples library
- Troubleshooting guides
Choose the Right Macro
| Macro | Use When |
|---|---|
| UML Diagrams | You need a visual diagram - flowchart, sequence, ERD, Gantt, mindmap |
| LaTeX Block | You need a standalone display equation centered on its own line |
| LaTeX Inline | You need math embedded inside a paragraph of normal text |
Editor Overview (All Macros)
All three macros share the same split-view editor pattern:
- Source panel (left): type or paste your content here
- Preview panel (right): live rendering updates as you type
- Samples dropdown: pre-built examples to get started quickly
- Save button: saves and closes the editor; renders on the page
Article Index
- Diagrams Macro - Mermaid diagram types, editor guide, viewer controls, troubleshooting
- LaTeX Block Equations - display math, formatting best practices, viewer controls
- LaTeX Inline Equations - inline and block math rules, editor guide
- Examples Library - ready-to-use code examples for formulas and diagrams