Download & Extend

Add rel="nofollow" support for links

Project:Markdown filter
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Other Markdown users have figured out a way to add the rel="nofollow attribute to links:

[link text](http://website.com/){:rel=nofollow}

Here's an example of this syntax using the Maruku interpreter: Markdown Cheat Sheet.

This may seem like a minor detail, but it prevents SEO-minded people from using Markdown in Drupal. They have to revert to traditional <a> tags/XHTML.

Comments

#1

Neither of the linked pages seem to mention this syntax. Is there a published reference for it somewhere one might use to implement this?

#2

Status:active» closed (duplicate)

Noticed an earlier issue, #381302: Allow to add link attributes, that would cover this, so I'm marking this as a duplicate to consolidate the discussion.