Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Can't get GFM to work

Started by Muut Archive 11 years ago · 2 replies · 426 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 2619 9 years ago
Archive · by Muut Archive, 9 years ago
2 1724 9 years ago
Archive · by Muut Archive, 9 years ago
2 5024 9 years ago
Archive · by Muut Archive, 9 years ago
1 3852 9 years ago
Archive · by Muut Archive, 9 years ago
3 1830 9 years ago