medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
11 lines • 443 B
TypeScript
import { DecorationSet } from 'prosemirror-view';
import { Plugin } from 'prosemirror-state';
import hljs from 'highlight.js/lib/common';
export { hljs };
export declare const registered: string[];
export declare function isLanguageRegistered(lang: string): boolean;
/**
* Plugin for syntax highlighting using Highlight.js.
*/
export declare const codeHighlightPlugin: Plugin<DecorationSet>;
//# sourceMappingURL=codeHighlightPlugin.d.ts.map