remark-unixpipe will, for a Code Block with the lang
"unixpipe", pipe it's body through the command specified in it's meta
.
tree
```unixpipe env NAME="World" ./res/draw_graphviz res/hello_world.png "Hello World"
digraph G {
"Hello" -> "$NAME"
}
```
#!/bin/bash
cat /dev/stdin | envsubst | dot -Tpng > "$1"
echo "![$2]($1)"
Please see test.js for examples of options.
This documentation was generated by running cat README.src.md | node ./test.js > README.md
Created by @forbesmyester License MIT