UNPKG

@svelte-dev/pretty-code

Version:

Beautiful Svelte code blocks for Markdown or MDsveX.

3 lines (2 loc) 186 B
import { type Options } from 'rehype-pretty-code'; export declare function createHighlighter(options: Options): (raw: string, inputLang: string, metastring?: string) => Promise<string>;