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

Can't get GFM to work

Started by Muut Archive 11 years ago · 2 replies · 294 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 1329 9 years ago
Archive · by Muut Archive, 9 years ago
2 922 9 years ago
Archive · by Muut Archive, 9 years ago
2 4051 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1108 9 years ago