MotionScript

@motion-script/code


@motion-script/code / initSyntaxHighlighter

Function: initSyntaxHighlighter()

initSyntaxHighlighter(themes?, langs?): Promise<void>

Defined in: components/code/src/highlight.ts:142

Parameters

themes?

string[] = DEFAULT_THEMES

langs?

string[] = DEFAULT_LANGS

Returns

Promise<void>