👋 I made this repro https://github.com/hashicorp/flight/pull/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!
👋 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):
Curlies do not display, using https://prismjs.com/plugins/unescaped-markup/:
This syntax does work for me:
Aside: It seemed like there was better syntax highlighting using
@language="markup"vs@language="markup".If you have any insight please LMK!