Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Present – Put some shell in your markdown (github.com/terror)
7 points by crap on June 11, 2022 | hide | past | favorite | 3 comments



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.


Looks like a python notebook... and I like it :)




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: