Code blocks using `clj` language not highlighted
dundalek opened this issue · comments
Code blocks using clj
language not highlighted, only clojure
works (e.g. reitit example).
- prism (the code highlight library) does aliases like
Prism.languages.js = Prism.languages.javascript;
- but it does not have it for clojure
- pr that add zsh alias
- see if it can be hacked/swizzled
- https://docusaurus.io/docs/markdown-features/code-blocks#supported-languages
npm run swizzle @docusaurus/theme-classic prism-include-languages
- choose eject
PrismObject.languages.clj = PrismObject.languages.clojure;
- PR to prism would be nice, but v1 does not currently accept contributions
We are currently working on Prism v2 and will only accept security-relevant PRs for the time being.