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
Nofollow links #93
Comments
it will be nice to add any attribute to any block
And it convert to
|
If I offer this it'll be a setting on the parser, not something within the syntax. I'm seriously considering offering a callback in the API to allow altering emitted link URLs and attributes, which would make this rather easy to do. |
Callback will be great solution =) |
I need something similar to be able to add a data- attribute to image tags, so I can post process the output to turn some images into picture. Is there any progress on this issue? I saw there's already support for id and class using |
Not much. The time can afford to put on PHP Markdown is rather limited these days.
If you want to give it a shot, look at the |
Google is strongly recommending href attributes. Some solution is needed. https://developers.google.com/search/docs/advanced/guidelines/qualify-outbound-links |
This should have been closed earlier. You can write |
Oh, well... maybe I closed it too soon. This is about adding the attribute to all links. It should probably work using something like the |
While on it, and if it's not asked too much: I'd love to see an option to have all external links |
Would be nice to have an option to make all links
rel="nofollow"
.The text was updated successfully, but these errors were encountered: