2 ms·
I wrote this to list/run named markdown blocks from README.md files, etc: https://github.com/skx/runme https://github.com/skx/runme It's a trivial project, bu
by stevekemp 9mo ago
I wrote this to list/run named markdown blocks from README.md files, etc:
https://github.com/skx/runme https://github.com/skx/runme
It's a trivial project, but it has been useful for reference and documentation a time or two.
(Though I guess a Makefile would be the obvious alternative; that too is often a collection of named drivers/recipes within a project.)
- jedwhite 9mo agoThanks, the runme tool looks useful. You could use that along with this approach for testing. Being very meta, it could extract the code blocks from your executable markdown files to test they run correctly as part of the unit tests for a markdown test suite!