- dfa5a4b Use ESM
-
Change:
// From CommonJS var rehypeHighlight = require('rehype-highlight') // To ESM import rehypeHighlight from 'rehype-highlight'
-
- c87da55 Update
lowlight
- This changes from having all languages registered by default (191) to only having common languages on (35). See https://github.com/wooorm/lowlight#syntaxes for which languages are on by default and which can be added.
This makesrehype-highlight
much faster and viable for use in browsers - This removes the light version of the plugin, because the default is now light
- Updating lowlight also updates
highlight.js
to v11, which improves results
- This changes from having all languages registered by default (191) to only having common languages on (35). See https://github.com/wooorm/lowlight#syntaxes for which languages are on by default and which can be added.
- fa5fcf4 Add JSDoc based types
- 84b5ce2 Fix code being dropped