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

Markdown buttons

Started by Muut Archive 11 years ago · 6 replies · 2396 views
11 years ago

If I remember it well, in the documentation there were mentions of a markdown syntax to generate buttons, the div and anchor with buttons class. Is this deprecated somehow or just transformed into a even better way than .{button}?

11 years ago

Try this: ![](/your/link?classes=button)

Need to get this stuff documented this week.

11 years ago

...details.aspx?id=17851&classes=button

It will get stripped from the actual url

11 years ago

Be sure to there is person using this parameter in the url

10 years ago

I tried using the following code with the Antimatter theme but the link would not work. Is there something else that needs to be added?

Thanks

10 years ago

You need some styling for the class .button. Antimatter does have a .button class so it should work.

However, your example is ![](..link..). This is an image because of the !. You just want [your text](/your/link?classes=button)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1360 9 years ago
Archive · by Muut Archive, 9 years ago
2 939 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1122 9 years ago