Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Classes on images not working

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

Putting a class on an image using markdown syntax as outlined in the Grav docs does not seem to be working.

I'm using this syntax:

TXT
![Some ALT text](sample-image.jpg "My title") {.myclass}

I tried doing this in the system.yaml. Actually I turned them on in the admin dashboard but verified the config set is in the yaml file.

YAML
  process:
    markdown: true
    twig: true
  twig_first: true
11 years ago

Aha! Thank you! - Also, I'm wondering if this problem could be more simply solved with shortcodes? When I'm not exhausted I'll read about those plugins.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 676 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5338 9 years ago
Archive · by Muut Archive, 9 years ago
1 4135 9 years ago