Is that really the use case for the related packages mentioned on their website? highlightjs and prismjs are typically used to highlight code snippets on websites… which are at most a few hundred lines long. And are usually highlighted as a whole
you have to bundle and ship per language syntax dictionaries tho
you have to bundle and ship per language syntax dictionaries tho