prosemirror-highlight
Version:
A ProseMirror plugin to highlight code blocks
12 lines (11 loc) • 386 B
TypeScript
import { n as Parser } from "./types-jXJYKXGQ.js";
import { Root } from "hast";
//#region src/lowlight.d.ts
type Lowlight = {
highlight: (language: string, value: string) => Root;
highlightAuto: (value: string) => Root;
};
declare function createParser(lowlight: Lowlight): Parser;
//#endregion
export { Lowlight, type Parser, createParser };
//# sourceMappingURL=lowlight.d.ts.map