You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out, this isn't easy. The instructions on prismjs.com for Node and that loadLanguages thing doesn't work. Either way, the cli doesn't care that much about bloat in since it can literally load every possible language that's available inside node_modules/prism/**
Also, this issue just brings up json but I think, skimming the above-mentioned issue, that the solution is to load every possible language that Prism has so it becomes available in the Prism.languages lookup.
When processing a bunch of old Kuma docs in the rendererer cli I got a lot of warnings like this:
I think it comes from here: https://github.com/mdn/stumptown-renderer/blob/d2acf64d528b948ba77e0145efd704f2de3f8fbe/cli/syntax-highlighter.js#L12-L15
The text was updated successfully, but these errors were encountered: