UNPKG

@redocly/theme

Version:

Shared UI components lib

7 lines (6 loc) 343 B
/** * @param highlightedCode - A string with new line breaks; the line numbers will be added before each line. * @param start - The number to start the line numbering from; default is 1 * @returns A string with line numbers added before each line */ export declare function addLineNumbers(highlightedCode: string, start?: number): string;