Any way to determine if a shortcode delimiter is < or %?

I’m very grateful for the .RenderShortcodes method introduced in v.0.117. I was using .Page.Content to process my includes. With the new method, I now get footnotes and table of contents.

It works as expected but forcing my users to change their shortcodes from {{< to {{% is a breaking change I’d like to avoid if I can. Is there a way to test for a shortcode delimiter?

Great question, but unfortunately the answer is no.

https://discourse.gohugo.io/t/determine-which-shortcode-notation-was-used/36603

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.