highlight-highlights.ts#
1 documented symbol. Read the signatures first, then expand each item for parameters, return types, and examples.
1
symbols
1
functions
2
parameters
1
returns
Reference#
fnhighlightWithHighlights(code: string, language: string): Element | nullBuild the rehype node directly so its serializer escapes the source once.
Build the rehype node directly so its serializer escapes the source once.
Signature
export function highlightWithHighlights(code: string, language: string): Element | nullParameters
-
codestring -
languagestring
Returns
Element | null