This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Description
👋 I made this repro hashicorp/flight#367, am wondering if this is a limitation of PrismJS or if you had any insights?
Curlies do not display (nothing displays in their place, no error):
<CodeBlock
@language="markup"
@code='
<FlightIcon @name="zap" @size="24" @stretched={{true}} />
'
/>
Curlies do not display, using https://prismjs.com/plugins/unescaped-markup/:
<script type="text/plain" class="language-markup">
<FlightIcon @name="triangle-fill" @isInlineBlock={{false}} />
</script>
This syntax does work for me:
<CodeBlock
@language="markup"
@code='
<FlightIcon @name="triangle-fill" @isInlineBlock={{false}} />
'
/>
Aside: It seemed like there was better syntax highlighting using @language="markup" vs @language="markup".
If you have any insight please LMK!