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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Link attributes in Markdown not working

Started by 01K 4 years ago · 0 replies · 474 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 Jerry Hunt, 4 days ago
2 76 7 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago