Lab
This page is a living smoke test for richer posts: the source remains Markdown and JSON, while the browser adds the interactive layer.
LaTeX
Inline math works with (e^{i\pi} + 1 = 0). Display equations work too:
[ \int_0^1 x^2\,dx = \frac{1}{3} ]
Mermaid
flowchart LR A[Markdown] --> B[Jekyll] B --> C[Static HTML] C --> D[Browser interactivity]
Vega-Lite
The specification is stored at assets/data/example-vega.json and loaded by a reusable include.
Loading interactive chart…
Source data: open the chart data.
Plotly
Plotly figures use the same pattern: a versioned browser library plus a local JSON figure.
Loading interactive chart…
Source data: open the chart data.
Authoring pattern
Enable only what a page needs in its front matter:
math: true
mermaid: true
vega_lite: true
plotly: true
For interactive data, keep the data and specification reviewable in the repository. Heavy computation should happen before publishing, with the generated artifact and its provenance linked from the post.
