I have a {{<b>}}
shortcode which just does <strong>{{.Inner}}</strong>
.
When I use it in code fences like this, it works perfectly and makes the part of the code block bolder in <pre>
:
```yaml
foo:
- {{<b>}}key: value{{</b>}}
```
However, in a {{<highlight>}}
block, it doesn’t work:
{{<highlight yaml>}}
foo:
- {{<b>}}key: value{{</b>}}
{{</highlight>}}
It escapes the <strong>
HTML tags, and instead of using it HTML, it prints it like this:
foo:
- <strong>key: value</strong>
Should {{<highlight>}}
be doing things differently to support this? Or is this a Hugo limitation/by-design?