emacs/var/elfeed/db/data/fe/fef064f0024e58ce35127340147d3edb25c86b1a
2022-01-03 12:49:32 -06:00

8 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>Look at this!</p>
<blockquote class="twitter-tweet">
<p dir="ltr" lang="en">Literate programming in <a href="https://twitter.com/hashtag/emacs?src=hash&amp;ref_src=twsrc%5Etfw">#emacs</a> using org mode and org babel. <a href="https://t.co/AOpYwpnmq7">pic.twitter.com/AOpYwpnmq7</a></p>
<p>— Nicolas P. Rougier (@NPRougier) <a href="https://twitter.com/NPRougier/status/1472865797462802434?ref_src=twsrc%5Etfw">December 20, 2021</a></p></blockquote>
<p></p>
<p>Despite my protestations of being all-digital / all-day, Im a sucker for this type of thing. Its just so beautiful and well done that its easy to forget that it was made with Org-mode. Happily. Rougier has a <a href="https://github.com/rougier/notebook-mode">GitHub repository</a> with the Org file and CSS for the example. Theres also a larger rendering of the finished product.</p>
<p>As is clear from the repository, the example is not so much about literate programming as it is about implementing a package he calls <a href="https://github.com/rougier/notebook-mode/blob/master/notebook.el">notebook-mode</a>. It is still a work in progress but looks really promising. You can see how the example was done by taking a look at <a href="https://raw.githubusercontent.com/rougier/notebook-mode/master/notebook.org">notebook.org</a> in the repository.</p>
<p>I love examples like this. They show that its 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.</p>