md-editor-v3
Version:
Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
34 lines (33 loc) • 1.36 kB
TypeScript
import { CodeCss, Config, GlobalConfig, Footers, StaticTextDefault } from './type';
export declare const prefix = "md-editor";
export declare const prefixHump = "MdEditor";
export declare const defaultEditorId = "md-editor-v3";
export declare const cdnBase = "https://unpkg.com";
export declare const highlightUrl = "https://unpkg.com/@highlightjs/cdn-assets@11.10.0/highlight.min.js";
export declare const prettierUrl: {
main: string;
markdown: string;
};
export declare const cropperUrl: {
css: string;
js: string;
};
export declare const screenfullUrl = "https://unpkg.com/screenfull@5.2.0/dist/screenfull.js";
export declare const mermaidUrl = "https://unpkg.com/mermaid@11.9.0/dist/mermaid.min.js";
export declare const katexUrl: {
js: string;
css: string;
};
export declare const codeCss: CodeCss;
export declare const echartsUrl = "https://unpkg.com/echarts@6.0.0/dist/echarts.min.js";
export declare const editorExtensionsAttrs: GlobalConfig['editorExtensionsAttrs'];
export declare const allToolbar: string[];
export declare const allFooter: Array<Footers>;
export declare const staticTextDefault: StaticTextDefault;
export declare const globalConfig: GlobalConfig;
export declare const config: Config;
/**
* 拖拽时最小的宽度
* 5.3.0开始使用百分比,不能小于10%
*/
export declare const MinInputBoxWidth = 0.1;