How to escape Hugo shortcode

Sometimes you need to write about shortcodes, as I do in Insert raw HTML in Hugo with a simple shortcode, you need to escape these shortcode calls. Hugo uses the following syntax to escape these delimiters in the a content source file {{< escape's_shortcode_name >}} {{% /escape's_shortcode_name %}}

April 2, 2022 · 1 min · Andrew Wu

Insert raw HTML in Hugo with a simple shortcode

I love to use Markdown to write my notes to help me learn new things. And sometimes, if I forget something, I can use my notes to help me remember how to do it. But Markdown in a table or some layouts is not pretty to use, so I have to insert raw HTML to help me create a stunning table or some designs you want. What a Shortcode is? Hugo loves Markdown because of its simple content format, but there are times when Markdown falls short....

April 1, 2022 · 1 min · Andrew Wu