MrDoc/static/vditor/dist/ts/constants.d.ts

42 lines
1.2 KiB
TypeScript
Raw Normal View History

2020-09-26 21:51:40 +08:00
/// <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 MOBILE_WIDTH: number;
static readonly CLASS_MENU_DISABLED: string;
static readonly EDIT_TOOLBARS: string[];
static readonly CODE_THEME: string[];
static readonly CODE_LANGUAGES: string[];
static readonly CDN: string;
static readonly MARKDOWN_OPTIONS: {
autoSpace: boolean;
chinesePunct: boolean;
codeBlockPreview: boolean;
fixTermTypo: boolean;
footnotes: boolean;
linkBase: string;
listStyle: boolean;
mark: boolean;
paragraphBeginningSpace: boolean;
sanitize: boolean;
toc: boolean;
};
static readonly HLJS_OPTIONS: {
enable: boolean;
lineNumber: boolean;
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;
};
}