3 comments

[ 6.0 ms ] story [ 16.1 ms ] thread
Looks like a python notebook... and I like it :)
Hey HN!

I wrote this tool as a way to easily update sections of my various project readme documents written in markdown that had sections populated by the standard output of shell commands -- such as cli help text or benchmarks.

Simply suffix the start of any codeblock with `present <command>`, run the binary on the document, and have the output of that command be inserted within the codeblock.

I've seen other in-markup code execution software and my favorite by far has been org-babel for org-mode.