Ensure that shortcode calls use % delimiters if they contain markdown
Open
cleanup/refactoring
e0-minutes
e1-hours
p1-high
p2-medium
- Dominant language
- HTML
- Stars
- 479
- Forks
- 545
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 5
Description
If the content of a [shortcode][] call is markdown, and you need things like **render-link hooks** to trigger, then use `%` as the shortcode delimiter (excerpt from the Hugo docs):
```nocode
{{% mdshortcode %}}Stuff to `process` in the *center*.{{% /mdshortcode %}}
```
Otherwise, you can use `< >`, like this: `{{< myshortcode >}} ... {{< /myshortcode >}}`
- [ ] Alert shortcodes: treat all bodies as markdown #640
[shortcode]: https://gohugo.io/content-management/shortcodes/
Contributor guide
Assessment
This issue has not been assessed yet.