Skip to content

Commit 50e888f

Browse files
committed
Fix callout build error caused by escaped shortcode syntax in body
Hugo resolves escaped shortcode delimiters (e.g. {{</* */>}}) to literal {{< >}} inside .InnerDeindent, which then causes markdownify to fail with "shortcode has no name". Reword the callout text to avoid embedded shortcode delimiter literals.
1 parent 85ecb5a commit 50e888f

File tree

1 file changed

+1
-1
lines changed
  • content/content-formatting-examples

1 file changed

+1
-1
lines changed

content/content-formatting-examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This is a superscript number for your footnote. [^1]
196196
The shortcodes below are ported from the [Hextra Hugo theme](https://imfing.github.io/hextra/docs/guide/shortcodes/) and adapted to work with Bootstrap 5. They are all namespaced under `hextra/` to avoid conflicts with Academy, Docsy, and Hugo built-in shortcodes.
197197

198198
{{< hextra/callout type="info" >}}
199-
All Hextra shortcodes use the **angle-bracket** syntax `{{</* */>}}` (not the percent syntax `{{%/* */%}}`). This ensures raw HTML output is preserved correctly.
199+
All Hextra shortcodes use the **angle-bracket** delimiter syntax (not the percent delimiter syntax). This ensures raw HTML output is preserved correctly. See the usage examples below for the correct invocation pattern.
200200
{{< /hextra/callout >}}
201201

202202
### Callout

0 commit comments

Comments
 (0)