crossnote 0.9.33 → 0.9.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/cjs/index.cjs +96 -96
- package/out/esm/index.mjs +99 -99
- package/out/types/src/lib/lru-cache.d.ts +7 -0
- package/out/types/src/notebook/index.d.ts +3 -0
- package/out/types/src/webview/components/MarkdownEditor.d.ts +2 -0
- package/out/types/src/webview/containers/preview.d.ts +2 -0
- package/out/types/test/notebook-delete-note.test.d.ts +1 -0
- package/out/types/test/runtime-compat.test.d.ts +1 -0
- package/out/types/tsconfig.tsbuildinfo +1 -1
- package/out/webview/backlinks.css +1 -1
- package/out/webview/graph-view.css +1 -1
- package/out/webview/preview.css +1 -1
- package/out/webview/preview.js +494 -819
- package/package.json +8 -8
|
@@ -45,11 +45,14 @@ export declare class Notebook {
|
|
|
45
45
|
markdownYoRenderer: MarkdownRenderer | null;
|
|
46
46
|
private markdownYoRendererPromise;
|
|
47
47
|
private markdownEngines;
|
|
48
|
+
private tocMarkdownIt;
|
|
49
|
+
private tocMarkdownItOptions;
|
|
48
50
|
private constructor();
|
|
49
51
|
private init;
|
|
50
52
|
static init(args: NotebookConstructorArgs): Promise<Notebook>;
|
|
51
53
|
private initConfig;
|
|
52
54
|
initMarkdownIt(options?: ExtendedMarkdownItOptions): MarkdownIt;
|
|
55
|
+
getTocMarkdownIt(): MarkdownIt;
|
|
53
56
|
initFs(_fs?: FileSystemApi): void;
|
|
54
57
|
private initMarkdownYo;
|
|
55
58
|
private destroyMarkdownYo;
|
|
@@ -22,6 +22,7 @@ declare const PreviewContainer: import("unstated-next").Container<{
|
|
|
22
22
|
isVSCodeWebExtension: boolean;
|
|
23
23
|
markdown: string;
|
|
24
24
|
markdownEditorExpanded: boolean;
|
|
25
|
+
notice: string | undefined;
|
|
25
26
|
postMessage: (command: string, args?: unknown[]) => void;
|
|
26
27
|
previewElement: import("react").RefObject<HTMLDivElement>;
|
|
27
28
|
previewSyncSource: () => void;
|
|
@@ -29,6 +30,7 @@ declare const PreviewContainer: import("unstated-next").Container<{
|
|
|
29
30
|
setHighlightElementBeingEdited: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
30
31
|
setIsMouseOverPreview: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
31
32
|
setMarkdownEditorExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
33
|
+
setNotice: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
|
32
34
|
setShowBacklinks: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
33
35
|
setShowImageHelper: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
34
36
|
showBacklinks: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|