← Back to context

Comment by stevekemp

1 day ago

I wrote this to list/run named markdown blocks from README.md files, etc:

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.)

Thanks, 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!