This program extracts code blocks from a Markdown file and passes them to a script program in order to execute the code. It implements a tangle for Markdown. See "Literate Programming" for further explaination.
- Build with
cargo build --release
. - Run
target/release/mdexec README.md bash
to execute the follwoing Bash script.
cksum src/main.rs
The output should be the following:
1647957730 2915 src/main.rs
- Donald E. Knuth. "Literate Programming" (1984)