From f6004f9ed1615f8a5cc36c3aeef4cef0b9e01fce Mon Sep 17 00:00:00 2001 From: wompmacho Date: Sun, 12 Apr 2026 06:54:59 +0000 Subject: [PATCH] take two on escaping shortcode --- projects/hugo/hugo_shortcodes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hugo/hugo_shortcodes.md b/projects/hugo/hugo_shortcodes.md index 6a991e6..24213d5 100644 --- a/projects/hugo/hugo_shortcodes.md +++ b/projects/hugo/hugo_shortcodes.md @@ -16,8 +16,8 @@ Custom shortcodes defined in `layouts/shortcodes/`. * **`include`**: Inject the contents of external files into your page. Supports local Hugo content paths and absolute paths mounted from the host (e.g., `/srv/configs/...`, `/srv/dev/hugo/wiki/...`). **CRITICAL: Angle Brackets (`< >`) vs. Percentage Signs (`% %`)** - * Use **`{{% %}}`** when you want the included text to be **parsed as Markdown**. This is required when including other `.md` files so their headers, lists, and links render properly. - * Use **`{{< >}}`** to output the raw text directly *without* Markdown processing. + * Use **`{{%/* %*/}}`** when you want the included text to be **parsed as Markdown**. This is required when including other `.md` files so their headers, lists, and links render properly. + * Use **`{{*/}}`** to output the raw text directly *without* Markdown processing. **Example 1: Including another Markdown file** ```markdown