Caffeine
A Feature-Rich Presentation System for VS Code
Template Author · Example University · 2026-04-20
Standard CommonMark plus orz-markdown extensions.
Bold text · Italic text · Bold
italic · inline code
Highlighted ·
Inserted · Strikethrough
Subscript H2O · Superscript E = mc2
Red span · Green span · Blue span · Warning badge
A blockquote. Useful for quoting sources or calling out important passages.
Nested blockquote for extra emphasis.
Unordered
Ordered
Task list
// Fibonacci — recursive memoised
function fib(n, memo = {}) {
if (n <= 1) return n;
if (memo[n]) return memo[n];
return memo[n] = fib(n-1, memo)
+ fib(n-2, memo);
}
console.log(fib(40)); // 102334155
# List comprehension + generator
squares = [x**2 for x in range(10)]
even_sq = (x**2 for x in range(10)
if x % 2 == 0)
def greet(name: str = "world") -> str:
return f"Hello, {name}!"
print(greet("ORZ"))
| Feature | Syntax | Status |
|---|---|---|
| Bold / Italic | **bold** / *italic* |
✅ Supported |
| Highlight | ==text== |
✅ Supported |
| Math inline | $E=mc^2$ |
✅ Supported |
| Footnotes | [^1] |
✅ Supported |
| Custom spans | {{sp[red] text}} |
✅ Supported |
Rows can be highlighted with
.row-highlight for emphasis.
Inline math: The energy–mass relation \(E = mc^2\) was derived by Einstein.
Display math:
\[\int_0^\infty e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}\]
\[\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}\]
Chemistry (mhchem):
Combustion: \(\ce{CH4 + 2O2 -> CO2 + 2H2O}\)
Redox: \(\ce{Fe^{2+} + 2e- -> Fe}\)
Equilibrium: \(\ce{N2 + 3H2 <=> 2NH3}\)
Hydration: \(\ce{CuSO4 * 5H2O}\)
Diagrams, chemical structures, QR codes, and more.
Flowchart
Sequence diagram
Caffeine CX8HX10NX4OX2
Benzene CX6HX6
Aspirin CX9HX8OX4
QR Code — click to expand
Emoji (by name)
🚀 Launch 🎉 Done ⚠️ Watch out
😊 Great 🔥 Hot ⭐ Favourite
YouTube embed
Replace the video ID with your own content.
Callout boxes, spoilers, tabs, and multi-column layouts.
Info: Use this for supplementary information, tips, or notes that add context without interrupting the main flow.
Warning: Use this for caveats, potential pitfalls, or things the audience should pay attention to.
Success: Confirm a completed step, a correct answer, or a positive outcome.
Danger: Reserved for errors, critical warnings, or irreversible actions.
Spoiler (collapsible)
The answer is 42.
It has always been 42.
Consider using dynamic programming. Build up from base cases.
Tab groups
def hello():
return "Hello, World!"
function hello() {
return "Hello, World!";
}
fn hello() -> &'static str {
"Hello, World!"
}
Flexible containers using the [[ ]]
syntax.
Replace this placeholder with your content — a list, an image, a code block, or any markdown element.
Each column occupies 50% of the available body width. Columns stretch to the full body height.
Use [[col[0.5] ... ]] for each column.
[[col[0.38]]] for a narrower image column[[col[0.62]]] for a wider text columnThe narrower column is ideal for a figure or chart. The wider column holds the explanation.
First observation or key point about the figure on the left.
Second observation or supporting detail. Add more rows as needed.
This row contains only child cols. Put the explanation, bullets, image, or table inside those child containers.
Avoid adding a parent-level heading or paragraph beside the child cols. Keep the parent dedicated to structure.
Use [[center[width] content]]
when you want a single focused element centered both horizontally and vertically.
Width accepts 0.65,
65%, or 2/3. A center container cannot have siblings.
Main body content. The text here fills the regular flow of the slide. Float containers sit on top of everything else.
Key points about this topic:
%, fractions like 1/2, or decimals
like 0.5[[float[63%, 22%, 33%]]]
This box
floats at x=63%, y=22%, width=33% of the slide. Replace with a callout, annotation, or
caption.
This slide has a persistent footer at the bottom. The footer occupies its own strip, reducing the body height slightly.
Use the footer for:
Step-by-step reveals and presenter annotations.
Items can appear one by one using Reveal.js .fragment class.
Press → to advance through items below:
✅ All items revealed — this box appears last.
The audience sees this slide content. The speaker sees notes in a separate window.
Use [[note content]] in the markdown source to add notes:
[[note
- First talking point
- Remind the audience about the context from slide 3
- Time check: should be at ~15 minutes here
]]
Press S to open the speaker window and see the notes for this slide.
| Theme | Personality |
|---|---|
theme-paper.css |
Warm serif, book-like |
theme-architect.css |
Blueprint grid |
theme-executive.css |
Dark navy + gold |
theme-sage.css |
Ivory + sage green |
| Theme | Personality |
|---|---|
theme-poppy.css |
Cream + coral |
theme-neon.css |
Near-black + cyan |
theme-chalk.css |
Blackboard + chalk |
Each theme defines only CSS variables and decorative overrides — layout structure is shared.
Use class or slideClass in the NYML block to add custom
selectors to the slide root.
This slide adds spotlight-card and warm-accent.
Use css: | for slide-local CSS.
Target the slide root with :slide and read arbitrary NYML fields through
data-orz-* or --orz-nyml-*.
Questions & Discussion
Template Author · Example University · 2026-04-20
Replace this aside with a figure, logo, or decorative element.