take two on escaping shortcode
Some checks failed
deploy-docs / build-and-deploy (push) Failing after 12s

This commit is contained in:
2026-04-12 06:54:59 +00:00
parent 1be1536f7e
commit f6004f9ed1

View File

@@ -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/...`). * **`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 (`% %`)** **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 **`{{%/* %*/}}`** 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 **`{{</* >*/}}`** to output the raw text directly *without* Markdown processing.
**Example 1: Including another Markdown file** **Example 1: Including another Markdown file**
```markdown ```markdown