Text::Markup command-line application
jscook opened this issue · 2 comments
Request for Enhancement
I think this module could have some value added if there were a script accompanying the module that performed the markup-to-html conversion (think tpage or ttree from Template-Toolkit).
Something like:
markup_to_html markup_file.extension > output.html
I currently just use the following perl one-liner in a bash script:
!/usr/bin/env bash
perl -MText::Markup -e'print Text::Markup->new()->parse(file => shift)' $1
exit $?
but that is not Text::Markup feature complete.
If this is something you would be interested in let me know and I will put in a pull request for something a little more complete.
+1.
I'm going to close this up and try doing this is a separate module release, but thanks for letting me know it may be useful.