Listens for transactions and scans the document, dynamically loading the used highlight.js language themes.
Automatically provides them using langsInfoInjectionKey.
Allows passing additional themes via the additionalThemes prop.
You should not need to use them directly, but returns the functions used to load, lazy load, and query the editor, and also the provided langsInfo.
All importable highlight.js languages.
Listens for transactions and scans the document, dynamically loading the used highlight.js language themes.
Automatically provides them using langsInfoInjectionKey.
Allows passing additional themes via the additionalThemes prop.
You should not need to use them directly, but returns the functions used to load, lazy load, and query the editor, and also the provided langsInfo.