crossnote 0.9.16 → 0.9.18
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 +12 -3
- package/out/cjs/index.cjs +241 -232
- package/out/dependencies/README.md +3 -2
- package/out/dependencies/katex/katex-swap.min.css +1 -1
- package/out/dependencies/katex/katex.min.css +1 -1
- package/out/dependencies/mermaid/mermaid.min.js +534 -323
- package/out/esm/index.mjs +261 -252
- package/out/styles/markdown-it-callout.css +1 -0
- package/out/types/src/custom-markdown-it-features/callout.d.ts +3 -0
- package/out/types/src/markdown-engine/sanitize.d.ts +1 -0
- package/out/types/src/notebook/types.d.ts +2 -0
- package/out/types/src/render-enhancers/fenced-diagrams.d.ts +3 -1
- package/out/types/src/renderers/parse-math.d.ts +0 -1
- package/out/types/src/renderers/wsd.d.ts +2 -0
- package/out/types/src/webview/lib/sanitize.d.ts +1 -0
- package/out/types/test/sanitize.test.d.ts +1 -0
- package/out/types/test/wsd.test.d.ts +1 -0
- package/out/types/tsconfig.tsbuildinfo +1 -1
- package/out/webview/preview.js +224 -220
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -18,6 +18,9 @@ API Documentation: https://shd101wyy.github.io/crossnote/
|
|
|
18
18
|
# If you are using npm
|
|
19
19
|
$ npm install --save crossnote
|
|
20
20
|
|
|
21
|
+
# If you are using pnpm
|
|
22
|
+
$ pnpm add crossnote
|
|
23
|
+
|
|
21
24
|
# If you are using yarn
|
|
22
25
|
$ yarn add crossnote
|
|
23
26
|
```
|
|
@@ -274,6 +277,12 @@ const config = {
|
|
|
274
277
|
// Kroki server url.
|
|
275
278
|
krokiServer: "https://kroki.io",
|
|
276
279
|
|
|
280
|
+
// The WebSequenceDiagrams server URL.
|
|
281
|
+
webSequenceDiagramsServer: "https://www.websequencediagrams.com";
|
|
282
|
+
|
|
283
|
+
// API key for WebSequenceDiagrams. Required for wider diagram sizes.
|
|
284
|
+
webSequenceDiagramsApiKey: "";
|
|
285
|
+
|
|
277
286
|
// Always show backlinks in the preview.
|
|
278
287
|
alwaysShowBacklinksInPreview: false,
|
|
279
288
|
}
|
|
@@ -294,9 +303,9 @@ If your notebook has `.crossnote` directory, then when you run `await Notebook.i
|
|
|
294
303
|
## Development
|
|
295
304
|
|
|
296
305
|
1. Clone this project.
|
|
297
|
-
2. Run `
|
|
298
|
-
3. Run `
|
|
299
|
-
4. Run `
|
|
306
|
+
2. Run `pnpm install` from shell.
|
|
307
|
+
3. Run `pnpm build:watch` to start the watch mode.
|
|
308
|
+
4. Run `pnpm build` to build the project.
|
|
300
309
|
|
|
301
310
|
Or
|
|
302
311
|
|