Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Link attributes in Markdown not working

Started by 01K 4 years ago · 0 replies · 665 views
4 years ago

Hi,
can't figure out what's wrong with my page. It doesn't process the nofollow attribute.
For the sake of example I do have the following link in MD:

[Google Fonts](https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users?rel=nofollow)
and it's rendered without the attribute:
image|675x29

the
process: markdown: true
doesn't make any difference

On the other hand I have another page with the form. I've inserted the class inside the link of a label. To make it work I had to append the form element with markdown: true option.

YAML
    -
        name: checkName
        classes: 'extra-class'          
        label: 'text [more](/more?classes=some-class)'
        type: checkbox
        markdown: true          

So, inside the form, the attribute does work, while on the first page there is a problem.

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 122 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago