Feature Showcase: Powering a Tech Blog.
We’ve supercharged the blog engine with zero-dependency CSS features (Callouts, Tabs, Terminal) and vendored math support (KaTeX). No external CDNs, no bloat.
1. Callouts & Admonitions
Communicate context clearly with styled callouts.
ℹ️ NOTE
Did you know? This blog generates static HTML, making it incredibly fast and secure.
⚠️ WARNING
Watch out! recursive functions without a base case will cause a stack overflow.
💡 TIP
Pro Tip: Use the
tldr shortcode at the top of long articles to respect your reader’s time.🚫 ERROR
Error 404: Page not found (just kidding, this is a demo).
2. Terminal Simulation
Perfect for showing shell commands or CLI outputs.
| |
3. Tabbed Code Blocks
Compare languages or tools side-by-side without JavaScript frameworks.
| |
| |
| |
4. Mathematical Notation
Render complex math using KaTeX (vendored, no CDN).
The Quadratic Formula: $$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
Maxwell’s Equations: $$ \nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0} $$ $$ \nabla \cdot \mathbf{B} = 0 $$
5. Included Code
And of course, our previously added include-code feature still works:
| |