That is just some special “comment out shortcode” syntax I made up to make it possible to document the shortcodes. I assumed that it was just needed for the shortcode documentation, so I never documented that feature itself … But it’s no JS magic, it is the shortcode parser.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Don't process shortcode in markdown - trying to show raw code | 6 | 1594 | June 21, 2020 | |
Shortcode syntax example within a code block is being executed | 3 | 862 | November 8, 2021 | |
Hugo shortcode in Markdown code highlighting | 5 | 867 | March 4, 2022 | |
Misunderstanding of shortcode syntax in 0.55 | 25 | 6757 | May 19, 2019 | |
[SOLVED] How to make Hugo ignore shortcode delimiters; e.g. when used in code blocks | 2 | 1469 | April 5, 2017 |