constants.d.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /// <reference types="./types" />
  2. declare const _VDITOR_VERSION: string;
  3. export { _VDITOR_VERSION as VDITOR_VERSION };
  4. export declare abstract class Constants {
  5. static readonly ZWSP: string;
  6. static readonly DROP_EDITOR: string;
  7. static readonly MOBILE_WIDTH: number;
  8. static readonly CLASS_MENU_DISABLED: string;
  9. static readonly EDIT_TOOLBARS: string[];
  10. static readonly CODE_THEME: string[];
  11. static readonly CODE_LANGUAGES: string[];
  12. static readonly CDN: string;
  13. static readonly MARKDOWN_OPTIONS: {
  14. autoSpace: boolean;
  15. codeBlockPreview: boolean;
  16. fixTermTypo: boolean;
  17. footnotes: boolean;
  18. linkBase: string;
  19. linkPrefix: string;
  20. listStyle: boolean;
  21. mark: boolean;
  22. mathBlockPreview: boolean;
  23. paragraphBeginningSpace: boolean;
  24. sanitize: boolean;
  25. toc: boolean;
  26. };
  27. static readonly HLJS_OPTIONS: {
  28. enable: boolean;
  29. lineNumber: boolean;
  30. style: string;
  31. };
  32. static readonly MATH_OPTIONS: IMath;
  33. static readonly THEME_OPTIONS: {
  34. current: string;
  35. list: {
  36. "ant-design": string;
  37. dark: string;
  38. light: string;
  39. wechat: string;
  40. };
  41. path: string;
  42. };
  43. }