markdown
Markdown interpreter using only traditional Unix tools
markdown.bash is a Markdown interpreter using only traditional Unix tools. Specifically, it only uses bash, sed, grep, and cut (in one small instance).
$ bpkg install markdown.bashUsage
Use it just like any other Unix program - by either passing files to it or piping input into it.
# Converts `test.md` to HTML and sends to
# standard output
markdown.sh samples/test.md
# Concatenates all the files and converts
# them all from Markdown to HTML into `output.html`
markdown.sh file1 file2 file3 > output.html
# Also accepts Markdown piped into it
echo "# heading1\n\nparagraph" | markdown.shLinks
- Source Code (GitHub)
- Author: Chad Braun-Duin
- Packager: Joseph Werle
blog comments powered by Disqus