TIL: https://buff.ly/3FM3PTI makes a "notebook" rendering of your .jsh file with graphs, mermaid and latex support.

Trivial to use with jbang:

jbang jnotebook@maxandersen render --no-optimize %{https://raw.githubusercontent.com/cyrilou242/jnotebook/main/doc/book.jsh} out.html

jnotebook