Type Alias BuildInHookTypes
BuildInHookTypes: { ACTION_AFTER_RUN: { name: string; }; ACTION_BEFORE_RUN: { name: string; }; CODE_RUNNER_CHANGE: { type: "register" | "remove"; }; COMMAND_KEYBINDING_CHANGED: never; DEEP_LINK_OPEN: { url: string; }; DOC_BEFORE_SAVE: { content: string; doc: Doc; }; DOC_BEFORE_SWITCH: { doc?: Doc | null; opts?: SwitchDocOpts; }; DOC_CHANGED: { doc: Doc; }; DOC_CREATED: { doc: Doc; }; DOC_DELETED: { doc: PathItem; }; DOC_MOVED: { newDoc: Doc; oldDoc: Doc; }; DOC_PRE_ENSURE_CURRENT_FILE_SAVED: never; DOC_PRE_SWITCH: { doc?: Doc | null; opts?: SwitchDocOpts; }; DOC_SAVED: { doc: Doc; }; DOC_SWITCHED: { doc: Doc | null; opts?: SwitchDocOpts; }; DOC_SWITCHING: { doc?: Doc | null; opts?: SwitchDocOpts; }; DOC_SWITCH_FAILED: { doc?: Doc | null; message: string; opts?: SwitchDocOpts; }; DOC_SWITCH_SKIPPED: { doc?: Doc | null; opts?: SwitchDocOpts; }; EDITOR_CONTENT_CHANGE: { uri: string; value: string; }; EDITOR_CURRENT_EDITOR_CHANGE: { current?: CustomEditor | null; }; EDITOR_CUSTOM_EDITOR_CHANGE: { type: "register" | "remove" | "switch"; }; EDITOR_PASTE_IMAGE: { file: File; }; EDITOR_READY: { editor: Monaco.editor.IStandaloneCodeEditor; monaco: typeof Monaco; }; EXPORT_AFTER_PREPARE: { type: ExportType; }; EXPORT_BEFORE_PREPARE: { type: ExportType; }; EXTENSION_READY: { extensions: Extension[]; }; GLOBAL_KEYDOWN: KeyboardEvent; GLOBAL_KEYUP: KeyboardEvent; GLOBAL_RESIZE: never; I18N_CHANGE_LANGUAGE: { currentLang: Language; lang: LanguageName; }; MARKDOWN_BEFORE_RENDER: { env: RenderEnv; md: markdownit; src: string; }; MONACO_BEFORE_INIT: { monaco: typeof Monaco; }; MONACO_READY: { editor: Monaco.editor.IStandaloneCodeEditor; monaco: typeof Monaco; }; PLUGIN_HOOK: { payload: { latex: string; options: any; }; plugin: "markdown-katex"; type: "before-render"; }; PREMIUM_STATUS_CHANGED: never; SETTING_BEFORE_WRITE: { settings: Partial<BuildInSettings>; }; SETTING_CHANGED: { changedKeys: (keyof BuildInSettings)[]; oldSettings: BuildInSettings; schema: SettingSchema; settings: BuildInSettings; }; SETTING_FETCHED: { oldSettings: BuildInSettings; settings: BuildInSettings; }; SETTING_PANEL_BEFORE_SHOW: {}; STARTUP: never; THEME_CHANGE: { name: ThemeName; }; TREE_NODE_DBLCLICK: { node: Components.Tree.Node; }; TREE_NODE_SELECT: { node: Components.Tree.Node; }; VIEW_AFTER_REFRESH: never; VIEW_BEFORE_REFRESH: never; VIEW_ELEMENT_CLICK: { e: MouseEvent; view: HTMLElement; }; VIEW_ELEMENT_DBCLICK: { e: MouseEvent; view: HTMLElement; }; VIEW_FILE_CHANGE: never; VIEW_KEY_DOWN: { e: KeyboardEvent; view: HTMLElement; }; VIEW_MOUNTED: never; VIEW_ON_GET_HTML_FILTER_NODE: { node: HTMLElement; options: { highlightCode?: boolean; includeStyle?: boolean; inlineLocalImage?: boolean; inlineStyle?: boolean; nodeProcessor?: ((node: HTMLElement) => void); onlySelected?: boolean; preferPng?: boolean; uploadLocalImage?: boolean; useRemoteSrcOfLocalImage?: boolean; }; }; VIEW_PREVIEWER_CHANGE: { type: "register" | "remove" | "switch"; }; VIEW_RENDER: never; VIEW_RENDERED: never; VIEW_RENDER_IFRAME_READY: { iframe: HTMLIFrameElement; }; VIEW_SCROLL: { e: Event; }; }