rainlab / blog-plugin

A robust blogging platform.
MIT License
169 stars 143 forks source link

Custom attributes in Post's Markdown #224

Closed vdomah closed 7 years ago

vdomah commented 8 years ago

I want to add rel="somevalue" to a link.

Found this construction to do this: a special url{: rel=special}

But that doesn't work. What's the solution?

daftspunk commented 8 years ago

For now the best solution is to just use HTML

<a href="#" rel="special">...</a>

There are many different flavors of Markdown, I'm not sure if the version we use supports the syntax:

[a special url](/my-special-place.html){: rel=special}