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

shortcode does not get rendered in markdown fields except for page content?

Started by Anna 11 hours ago · 1 replies · 33 views
11 hours ago

I’m unsure if this is maybe a bug, or if I’m missing something. When I put [div]something[/div] into the page content of the site I’m working on, it gets rendered as a div. If I put that into any other markdown field I’ve defined myself, it gets output as-is. Do I need to allow or activate shortcode rendering somewhere, maybe?

4 hours ago

@Netzhexe, you need to add |markdown|shortcodes|raw twig filters, or just |shortcodes|raw if you only need to convert shortcodes. UPD: Here is a link to the docs.

last edited 08/06/26 by Vadym

Suggested topics

Topic Participants Replies Views Activity
Support · by gtx, 1 week ago
4 225 1 day ago
Support · by Paul Hodges, 1 week ago
13 272 5 days ago
Support · by Anna, 2 weeks ago
9 333 1 week ago
Support · by TomW, 2 weeks ago
4 187 1 week ago
Support · by Anna, 2 weeks ago
4 197 2 weeks ago