Code, Math & Diagrams
StellarDeck renders code, math, diagrams, and QR codes directly from markdown — no plugins, no config.
Code Blocks
Section titled “Code Blocks”Fenced code blocks with a language tag for syntax highlighting. Optionally highlight specific lines with {n} after the language name.
```python {2}def greet(name): return f"Hello, {name}!"
greet("StellarDeck")```Tables
Section titled “Tables”Standard GFM tables with column alignment via :---, :---:, and ---:.
Inline Math
Section titled “Inline Math”Wrap LaTeX in single dollar signs for inline math. Mix freely with regular markdown.
Display Math
Section titled “Display Math”Double dollar signs $$...$$ on their own line for standalone equations.
Diagrams
Section titled “Diagrams”Wrap Mermaid syntax in a :::diagram block. Renders as SVG with a hand-drawn look.
QR Codes
Section titled “QR Codes”Use  for a full-slide QR code, or  to split the slide with text on the left.