Le 2008-02-13 à 18:57, Waylan Limberg a écrit :

Which implementation of markdown are you using (perl, php, python,
ruby...)? The answer would depend to a large extent upon that.

Indeed.

For example, Python-Markdown has a fairly simple extension api [1] for
just that sort of thing, but to my knowledge, no other implementation
shares anything that closely resembles it.

[1]: http://www.freewisdom.org/projects/python-markdown/Writing_Extensions


With PHP Markdown you can create a subclass and add processing methods in a similar way. It's not much documented at this time, but if you download PHP Markdown Extra you can look at the MarkdownExtra_Parser class (subclass of Markdown_Parser) which is using the extension API to add its extra features.


Michel Fortin
[EMAIL PROTECTED]
http://michelf.com/


_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to