Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stemar opened this issue Aug 23, 2021 · 1 comment
Open

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

stemar opened this issue Aug 23, 2021 · 1 comment

Comments

@stemar
Copy link

stemar commented Aug 23, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants