Get the latest tech news

Reactive HTML Notebooks


Can we build a reactive notebook in a single HTML file? Yes (by standing on the shoulders of Observable)

Use an interactive notebook like Jupyter, RStudio, Pluto.jl or Observable to do data exploration, analysis and visualisation, Move to a publishing platform like Typst, Overleaf, pure LaTeX, or a WYSIWYG editor to typeset their work, Export to.pdf for distribution. I think a HTML file can be used for all 3 of these stages, and prevent a lot of faffing around with manual processes, CLI tooling, CI steps and 3rd-party platforms. htl implements a full-blown HTML5 parser that performs automatic escaping and interpolation of non-serializable values, such as event listeners, style objects, and other DOM nodes.

Get the Android app

Or read this on Hacker News