crossnote 0.9.11 → 0.9.13
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 +5 -1
- package/out/cjs/index.cjs +115 -112
- package/out/dependencies/README.md +1 -1
- package/out/dependencies/katex/katex.min.css +1 -1
- package/out/dependencies/mermaid/mermaid.min.js +594 -343
- package/out/esm/index.mjs +123 -120
- package/out/types/src/prism/prism.d.ts +1317 -1524
- package/out/types/src/tools/sharp.d.ts +1 -0
- package/out/types/src/utility.d.ts +1 -1
- package/out/types/tsconfig.tsbuildinfo +1 -1
- package/out/webview/backlinks.js +3 -3
- package/out/webview/preview.js +6 -6
- package/package.json +18 -10
package/README.md
CHANGED
|
@@ -40,6 +40,9 @@ async function main() {
|
|
|
40
40
|
codeBlockTheme: 'github.css',
|
|
41
41
|
printBackground: true,
|
|
42
42
|
enableScriptExecution: true, // <= For running code chunks.
|
|
43
|
+
|
|
44
|
+
chromePath: '/path/to/chrome', // <= For puppeteer export and open in browser locally.
|
|
45
|
+
// Recommended to use the absolute path of Chrome executable.
|
|
43
46
|
},
|
|
44
47
|
});
|
|
45
48
|
|
|
@@ -205,7 +208,8 @@ const config = {
|
|
|
205
208
|
// Chrome executable path, which is used for Puppeteer export. Leaving it empty means the path will be found automatically.
|
|
206
209
|
chromePath: '',
|
|
207
210
|
|
|
208
|
-
// ImageMagick command line path. Should be either `magick` or `convert`.
|
|
211
|
+
// ImageMagick command line path. Should be either `magick` or `convert`.
|
|
212
|
+
// Leaving it empty we will use `sharp` instead.
|
|
209
213
|
imageMagickPath: '',
|
|
210
214
|
|
|
211
215
|
// Pandoc executable path
|