UNPKG

@tanstack/highlight

Version:

Tiny class-based syntax highlighting for documentation.

3 lines (2 loc) • 160 B
import type { TokenRange } from '../core.js'; export declare function collectScriptRanges(code: string, jsx?: boolean, jsxAtLineStart?: boolean): TokenRange[];