User Guide

Quick Reference Card

A single-page reference for all three macros, supported diagram types, and common LaTeX patterns.

Three Macros at a Glance

MacroLanguageBest ForReference
UML DiagramsMermaidFlowcharts, sequence diagrams, ERDs, Gantt charts, mindmapsDiagrams Macro
LaTeX BlockLaTeXStandalone centred equations, matrices, multi-line derivationsLaTeX Block
LaTeX InlineLaTeXMath embedded inline within paragraph textLaTeX Inline

Supported Mermaid Diagram Types

TypeOpening KeywordBest For
Flowchartflowchart TD or flowchart LRProcess flows, decision trees
Sequence DiagramsequenceDiagramAPI calls, system interactions
Entity RelationshiperDiagramDatabase schemas, data models
Gantt ChartganttProject timelines, sprint planning
MindmapmindmapTopic breakdown, brainstorming
Class DiagramclassDiagramOOP class structures
State DiagramstateDiagram-v2State machine flows
Pie ChartpieSimple proportional data

Diagram Types Reference

Common LaTeX Patterns

FormulaLaTeX
Fraction\frac{a}{b}
Square root\sqrt{x}
Power / subscriptx^{2}, x_{i}
Greek letters\alpha, \beta, \pi
Summation\sum_{i=1}^{n} x_i
Integral\int_{a}^{b} f(x)\,dx
Matrix (2×2)\begin{pmatrix} a & b \\ c & d \end{pmatrix}
Aligned equations\begin{aligned} ... \end{aligned}

Formula Library Reference

Editor Workflow (All Three Macros)

  1. Insert macro via / command
  2. Write or paste source in the left (Source) panel
  3. Preview renders live in the right (Preview) panel
  4. Use Samples dropdown for ready-to-use examples
  5. Click Save in the editor - then Publish the Confluence page

Hover Toolbar (Published Pages)

When viewing a published page, hover over any rendered macro to access: Edit · Copy Source · Zoom In/Out · Reset Zoom · Pan · Fullscreen