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

Can't get GFM to work

Started by Muut Archive 11 years ago · 2 replies · 397 views
11 years ago

GFM and basic code syntax is mandatory for my project: my site targets developers/admins. I've already edited both user and system YAML files. Am I missing something ? Thanks, this is awesome product , by the way, I ran through a long list to choose it.

11 years ago

If you mean syntax highlighting of code blocks, you need to use a plugin to enable that. Currently we have one called Highlight that you can install via GPM:

BASH
bin/gpm install highlight

Then you can simply put simply use codeblocks via the regular markdown syntax and they will automatically be highlighted.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2278 9 years ago
Archive · by Muut Archive, 9 years ago
2 1496 9 years ago
Archive · by Muut Archive, 9 years ago
2 4745 9 years ago
Archive · by Muut Archive, 9 years ago
1 3557 9 years ago
Archive · by Muut Archive, 9 years ago
3 1620 9 years ago