vditor
Version:
♏ 易于使用的 Markdown 编辑器,为适配不同的应用场景而生
46 lines (45 loc) • 1.35 kB
TypeScript
/// <reference types="./types" />
declare const _VDITOR_VERSION: string;
export { _VDITOR_VERSION as VDITOR_VERSION };
export declare abstract class Constants {
static readonly ZWSP: string;
static readonly DROP_EDITOR: string;
static readonly MOBILE_WIDTH: number;
static readonly CLASS_MENU_DISABLED: string;
static readonly EDIT_TOOLBARS: string[];
static readonly CODE_THEME: string[];
static readonly ALIAS_CODE_LANGUAGES: string[];
static readonly CDN: string;
static readonly MARKDOWN_OPTIONS: {
autoSpace: boolean;
gfmAutoLink: boolean;
codeBlockPreview: boolean;
fixTermTypo: boolean;
footnotes: boolean;
linkBase: string;
linkPrefix: string;
listStyle: boolean;
mark: boolean;
mathBlockPreview: boolean;
paragraphBeginningSpace: boolean;
sanitize: boolean;
toc: boolean;
};
static readonly HLJS_OPTIONS: {
enable: boolean;
lineNumber: boolean;
defaultLang: string;
style: string;
};
static readonly MATH_OPTIONS: IMath;
static readonly THEME_OPTIONS: {
current: string;
list: {
"ant-design": string;
dark: string;
light: string;
wechat: string;
};
path: string;
};
}