Closed abbychau closed 6 months ago
Could you provide a full repro? So I can better triage this.
E.g., what component are you using? What grammar are you using?
<HighlightAuto code={code} />
<Highlight
language="html"
code={text}
/>
HighlightAuto is working fine.
@abbychau "html" is not a valid grammar. Could you try using XML instead?
import xml from "svelte-highlight/languages/xml";
ah, i just found that i just mixed up with lang and language now using
<Highlight
language={languages.vbscriptHtml}
code={text}
/>
and working now
thank you for the reply.