Agnostic literate programming for github flavored markdown in one line of code; provides code from markdown source. Prints to standard output. Great for a single file.
This is in the public domain.
#!/usr/bin/awk -e { if (/^```/) { i++; next } if ( i % 2 == 1) { print } }
# mdlp - agnostic literate programming for github flavored markdown.
# I release this script into the public domain.
# Rich Traube, Fri Feb 15 09:07:27 EST 2013
Fenced code is written to the program in order of occurrence.