Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be honest if you are comfortable writing Python you may want to just use plain old nbconvert. It'd take you a matter of minutes to get some kind of HTML output that you can then spend as much or as little time as you like customising by using your own templat, then publish somewhere using a shell script.

It's really not too tough: https://nbconvert.readthedocs.io/en/latest

Note that this is purely if you want to present your notebook as a static page. If you want it to be more interactive you're going to end up with something more complex.



I have a script [1] that converts a notebook into a markdown document, and places it in the content folder of my static site generator.

You can also just directly convert to html.

[1] https://gist.github.com/abdullahkhalids/142f0d28d4acf2c4c7e0...


Bit of a tangent, but one of the things I really like about livebook[0] is that the documents are just markdown, and the codecells are literally just ```elixir``` blocks which make it quite nice to read and very version control friendly.

[0] https://livebook.dev/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: