-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add rel="xyz" to text and image links #2
Comments
You can test this proposed feature by downloading from the feature-rel-attributes branch at https://github.com/netcarver/textile/tree/feature-rel-attributes For testing only : do not install this on live sites |
Since you're using curly braces: i assume inline CSS before the linktext will still do, like so: "(class/id){inlinecss}LINKTEXT(title){rel}":http://example.org right? (nice shorthand btw: ! = nofollow .. me like;-) cheers, |
Jan, yes. This goes in... ...and this comes out... Taken straight from the output of the tests cases. Remember -- don't rely on this format yet, it might not make it to the master branch unchanged. Steve |
Hi, this issue is quite old, but it seems that there is still no support of rel-attribute. Cheers, Peter. |
Is this feature dead? |
The only way of injecting rel-attributes in currently is to either run in restricted mode (in which case all links will automatically be no-follow) or to call setLinkRelationShip before parsing your document. Once again though, this is a global and you won't be able to specify attributes at an individual link level. I don't currently have any time I can put into textile. |
Textile lacks the ability to specify rel attributes on links and images. Would be nice if we could explicitly set these attributes to allow easier triggering of effects like lightbox or simply to do rel="nofollow".
The text was updated successfully, but these errors were encountered: