erusev / parsedown-extra

Markdown Extra Extension for Parsedown
MIT License
819 stars 123 forks source link

Parsing special attributes {lang=fr} are not parsed #169

Open stemar opened 3 years ago

stemar commented 3 years ago

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

taufik-nurrohman commented 3 years ago

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