standalone markdown

Rob McBroom mailinglist0 at skurfer.com
Fri Dec 14 09:28:22 EST 2012


On Dec 13, 2012, at 7:43 PM, mike <mikereape at onetel.com> wrote:


> That all sounds great but from what I've read TextWrangler only runs on Mac OSX. I'm basically an emacs user. That shouldn't matter though if I set up the basic perl script you to refer to as something I can run from the command line.


There are numerous command-line options.

You can download the original Perl implementation from Daring Fireball.

http://daringfireball.net/projects/markdown/

You can install the Markdown module for Python (which is my preference).

pip install Markdown

That should put a script called `markdown_py` in `/usr/local/bin`. (The location depends on your setup.) There’s probably a package for Fedora called python-markdown if you prefer that method.

Or, you can get the PHP implementation and create a minimal wrapper script that uses it to parse a file.

http://michelf.ca/projects/php-markdown/

And I’m sure there are many others.

--
Rob McBroom
<http://www.skurfer.com/>



More information about the Markdown-Discuss mailing list