An interactive chart

· meta, demo

Inline math like eiπ+1=0e^{i\pi} + 1 = 0 and display math both work:

ex2dx=π\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}

And here is a chart you can hover, zoom, and pan. It is a normal component call inside the Markdown — the data is just a JavaScript literal:

To use another library (D3, three.js, Observable Plot), npm install it and write a component the same way: server-render a container, hydrate it in a <script>.