Look at this!
Literate programming in #emacs using org mode and org babel. pic.twitter.com/AOpYwpnmq7
— Nicolas P. Rougier (@NPRougier) December 20, 2021
Despite my protestations of being all-digital / all-day, I’m a sucker for this type of thing. It’s just so beautiful and well done that it’s easy to forget that it was made with Org-mode. Happily. Rougier has a GitHub repository with the Org file and CSS for the example. There’s also a larger rendering of the finished product.
As is clear from the repository, the example is not so much about literate programming as it is about implementing a package he calls notebook-mode. It is still a work in progress but looks really promising. You can see how the example was done by taking a look at notebook.org in the repository.
I love examples like this. They show that it’s possible to build beautiful, interactive documents fairly simply with Org-mode. It will be interesting to see if Rougier expands the PDF export to make it looks as nice as the HTML. In the meantime, kudos to Rougier for implementing and sharing this with us.