Summary:
- Hugo uses the Goldmark markdown parser.
- Goldmark adheres to the CommonMark specification.
- The CommonMark specification describes how to identify HTML blocks. In particular, see items 6 and 7, specifically the end condition.
This is treated as one HTML block.The encapsulated markdown will be rendered as-is.
<div>
This is **bold** and this is _emphasized_.
</div>
This is treated as two HTML blocks. The encapsulated markdown will be converted to HTML
<div>
This is **bold** and this is _emphasized_.
</div>