Syntax for extensions
Waylan Limberg
waylan at gmail.com
Wed Feb 13 18:57:22 EST 2008
Which implementation of markdown are you using (perl, php, python,
ruby...)? The answer would depend to a large extent upon that.
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
On Feb 13, 2008 2:25 PM, Florian Lindner <mailinglists at xgm.de> wrote:
> Hello,
> I need to to slightly extend the markdown syntax. (place an image (img tag)
> in text which URL has not yet been determined). Therefore I want to define
> something like $[Alt text](img.jpg) which would be replaced by my
> pre-processor with ![Alt text](/path/to/img.jpg) and then sent to markdown.
>
> Is there any special syntax that should be used for such 3rd party extensions?
> How would you do it?
>
> Thanks,
>
> Florian
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
--
----
Waylan Limberg
waylan at gmail.com
More information about the Markdown-Discuss
mailing list