Function: loadCodeLanguage()
loadCodeLanguage(
language,theme?):Promise<void>
Defined in: components/code/src/highlight.ts:87
Load a syntax-highlight language (and theme) into the shared highlighter. Exposed so a Code node's asset loader can run it on the timeline, and so apps can preload languages explicitly. Returns once the language is ready to use.
Parameters
language
string
theme?
string = ...
Returns
Promise<void>