crossnote 0.9.16 → 0.9.17
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 +6 -3
- package/out/cjs/index.cjs +240 -231
- 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 +254 -245
- 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
|
```
|
|
@@ -294,9 +297,9 @@ If your notebook has `.crossnote` directory, then when you run `await Notebook.i
|
|
|
294
297
|
## Development
|
|
295
298
|
|
|
296
299
|
1. Clone this project.
|
|
297
|
-
2. Run `
|
|
298
|
-
3. Run `
|
|
299
|
-
4. Run `
|
|
300
|
+
2. Run `pnpm install` from shell.
|
|
301
|
+
3. Run `pnpm build:watch` to start the watch mode.
|
|
302
|
+
4. Run `pnpm build` to build the project.
|
|
300
303
|
|
|
301
304
|
Or
|
|
302
305
|
|