Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Link attributes in Markdown not working

Started by 01K 4 years ago · 0 replies · 587 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 jean-louis67, 3 days ago
2 80 2 days ago
General · by Andy Miller, 6 days ago
0 144 6 days ago
General · by Veehem, 1 week ago
0 144 1 week ago
General · by milkboy, 1 week ago
0 138 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago