Add rel=nofollow to the links

Hello there,

not sure this topic has been discussed before (no results in the search for sure), but I can’t figure out how to add the attribute nofollow to the links in my markdown files.
Everything I tried resulted in the link added at the bottom of my page (grouped there for simplicity) to not being parsed as usual.
Any idea? Who is responsible for this conversion? Padrino?

At a cost of being silly … once again the answer is {: rel=“nofollow”}.

However, this works only if added next to the link within the content.

E.g. [Test][1]{: rel="nofollow"} it’s fine, but it is not possible to add the attribute in the link definition table in the document’s footer.

You may get more of a response with a gist with code to provide some context to your problem. If it’s a loop that builds a table of contents you can pass the no follow as an option into link_to

<%= link_to "example", example_path, :rel => 'nofollow' %>