Adding class or id to image
Tomas Doran
bobtfish at bobtfish.net
Tue Jan 29 12:28:42 EST 2008
On 29 Jan 2008, at 14:49, Steve Frost wrote:
> Does anyone have a patch for markdown extra that allows you to
> specify a class or id for an image?
I assume you mean the php version? Sorry - can't help you there...
Text::MultiMarkdown will generate you ids for images if you want it
to, and I believe you can feed it stuff in the ->markdown call's
optional params to customise the values you get. (I don't have test
cases for this however, so I'd not like to 100% trust it's working)
Cheers
Tom
More information about the Markdown-Discuss
mailing list