Highlight
Highlights a fenced code block: its code, in its language (the info string's first word), as HTML; undefined
shows it as written.
export type Highlight = (code: string, lang: string) => string | undefined;
Highlights a fenced code block: its code, in its language (the info string's first word), as HTML; undefined
shows it as written.
export type Highlight = (code: string, lang: string) => string | undefined;