crossnote 0.9.38 → 0.9.40
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/README.md +1 -1
- package/out/cjs/index.cjs +148 -159
- package/out/cli/index.cjs +567 -324
- package/out/dependencies/README.md +2 -2
- package/out/dependencies/mermaid/mermaid.min.js +2052 -1312
- package/out/esm/index.mjs +203 -214
- package/out/server-app/server-app.css +1 -1
- package/out/server-app/server-app.js +13 -12
- package/out/types/src/lib/css-urls.d.ts +4 -0
- package/out/types/src/markdown-engine/index.d.ts +1 -0
- package/out/types/src/notebook/index.d.ts +5 -2
- package/out/types/src/server-app/lib/api.d.ts +1 -0
- package/out/types/src/server-app/lib/wiki.d.ts +3 -1
- package/out/types/test/global-css-urls.test.d.ts +1 -0
- package/out/types/test/serve/config-writer.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 +73 -73
- package/package.json +4 -2
|
@@ -7,7 +7,7 @@ I managed some of the libraries by myself instead of through npm to reduce the o
|
|
|
7
7
|
"font-awesome": "6.4.2", // Download from here: https://fontawesome.com/download
|
|
8
8
|
// Fontawesome cheatsheet is available here: https://kapeli.com/cheat_sheets/Font_Awesome.docset/Contents/Resources/Documents/index
|
|
9
9
|
"katex": "v0.16.47", // Only keep the css and fonts files.
|
|
10
|
-
"mermaid": "
|
|
10
|
+
"mermaid": "12.0.0", // see "Updating the vendored mermaid bundle" below
|
|
11
11
|
// https://www.jsdelivr.com/package/npm/mermaid
|
|
12
12
|
"reveal": "4.6.0",
|
|
13
13
|
|
|
@@ -30,7 +30,7 @@ _Attention_: NOTE: We have to disable the `_self = window` line in `prism.js` to
|
|
|
30
30
|
|
|
31
31
|
## Updating the vendored mermaid bundle
|
|
32
32
|
|
|
33
|
-
`dependencies/mermaid/mermaid.min.js` is mermaid's **official dist build** downloaded from jsDelivr (e.g. <https://cdn.jsdelivr.net/npm/mermaid@
|
|
33
|
+
`dependencies/mermaid/mermaid.min.js` is mermaid's **official dist build** downloaded from jsDelivr (e.g. <https://cdn.jsdelivr.net/npm/mermaid@12.0.0/dist/mermaid.min.js>). Do **not** re-bundle mermaid locally with esbuild — the committed file must be byte-identical to the CDN file so the `__esbuild_esm_mermaid_nm` IIFE wrapper and the trailing `globalThis["mermaid"] = ...` assignment match what mermaid ships.
|
|
34
34
|
|
|
35
35
|
To update mermaid:
|
|
36
36
|
|