@deckdeckgo/highlight-code
Version:
A Web Component to highlight your code
9 lines (8 loc) • 304 B
TypeScript
export declare const parseCode: ({ refContainer, refCode, code, lineNumbers, highlightLines, language }: {
refContainer: HTMLDivElement | undefined;
code: string | null | undefined;
lineNumbers: boolean;
refCode: HTMLElement;
highlightLines: string | undefined;
language: string;
}) => void;