erusev / parsedown-extra

Markdown Extra Extension for Parsedown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing special attributes {lang=fr} are not parsed

stemar opened this issue · comments

Thank you for your great library.

Reference:
protected function parseAttributeData($attributeString)
https://github.com/erusev/parsedown-extra/blob/master/ParsedownExtra.php#L592

Special attributes {lang=fr} are not parsed.
We should be able to type {target=_blank} and get the target="_blank" attribute added in the tag.

Michelf has coded it: here and here
His doc is here

Hi @stemar! My extension has this feature. You might want to try it out.