This is in preparation of upstream docs in e/e making usage of cjs and mjs language identifiers in code blocks. Need to add them as aliases for JS so they get syntax highlighting on Docusaurus.
The code changes are a result of following the official docs and running yarn swizzle @docusaurus/theme-classic prism-include-languages, then adding the aliases.
This is in preparation of upstream docs in
e/e
making usage ofcjs
andmjs
language identifiers in code blocks. Need to add them as aliases for JS so they get syntax highlighting on Docusaurus.The code changes are a result of following the official docs and running
yarn swizzle @docusaurus/theme-classic prism-include-languages
, then adding the aliases.