[TxMt] Markdown Extra for Markdown Bundle?

Takaaki Kato devlist at samuraicoder.net
Thu Aug 16 13:38:33 UTC 2007


On Aug 16, 2007, at 9:54 PM, Mark Eli Kalderon wrote:

> While you are exploring extensions to Markdown you should also have a
> look at pandoc[1]. I merely mentioned MultiMarkdown because TM already
> supports it.

Thanks. I didn't know pandoc. I'll look into it.



On Aug 16, 2007, at 9:15 PM, Fred B wrote:
> You can use php on the command line.
> What I did is make a script that calls ME, then I call this script
> instead of markdown.pl in the commands.
> It's a bit slow sometimes, but it works.
>
> Here the script:
>
> ✂------✂------✂------✂------✂------✂------✂------ 
> ✂------✂------✂------
> #!/usr/bin/php -q
>
> <?php
>     include_once "/path/to/markdown-extra.php";
>
>        while (!feof(STDIN)) {
>            $my_text .= fread(STDIN, 4096);
>        }
>
>     $my_html = Markdown($my_text);
>
>     echo $my_html;
> ?>
> ✂------✂------✂------✂------✂------✂------✂------ 
> ✂------✂------✂------

I'll try your way. I was wondering if use of php feels slow in locals.

By the way, MarsEdit should support Markdown Extra support.

Thanks, guys for your feedback.

Takaaki


More information about the textmate mailing list