markdowndeep icon indicating copy to clipboard operation
markdowndeep copied to clipboard

Extra mode doesn't correctly support special attributes

Open jfrank14 opened this issue 5 years ago • 1 comments

According to the PHP Markdown docs, you can use special attributes to set attributes on generated links:

[link](url){#id .class}  --> <a href="url" id="id" class="class">link</a>

But this just doesn't seem to work in MDD, even with extra mode set to true.

jfrank14 avatar Mar 18 '20 16:03 jfrank14

Hi @jfrank14,

Thanks for reporting. At the time MDD was developed I don't think these special attributes were supported by PHP Extra - at least they weren't in the specs I was reading at the time.

Unfortunately I don't really have time for MDD right now, but will look into this when I next revisit (or you can send me a pull request if you feel like adding it yourself)

Brad

toptensoftware avatar Mar 20 '20 00:03 toptensoftware