Does anyone have a patch for markdown extra that allows you to specify a class or id for an image? -- Steve Frost -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20080129/52952f3f/attachment.html>
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