crossnote 0.8.7 → 0.8.9

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.
Files changed (61) hide show
  1. package/README.md +7 -0
  2. package/out/cjs/index.cjs +179 -213
  3. package/out/dependencies/README.md +1 -9
  4. package/out/dependencies/reveal/css/reset.css +30 -0
  5. package/out/dependencies/reveal/css/reveal.css +3 -3
  6. package/out/dependencies/reveal/js/reveal.js +3 -3
  7. package/out/dependencies/reveal/plugin/notes/notes.js +1 -147
  8. package/out/dependencies/reveal/plugin/notes/plugin.js +261 -0
  9. package/out/dependencies/reveal/plugin/notes/speaker-view.html +891 -0
  10. package/out/dependencies/reveal/plugin/search/plugin.js +243 -0
  11. package/out/dependencies/reveal/plugin/search/search.js +7 -206
  12. package/out/dependencies/reveal/plugin/zoom/plugin.js +264 -0
  13. package/out/dependencies/reveal/plugin/zoom/zoom.js +11 -0
  14. package/out/esm/index.mjs +195 -229
  15. package/out/styles/preview.css +1 -1
  16. package/out/styles/preview_theme/github-dark.css +1 -1
  17. package/out/styles/prism_theme/github-dark.css +1 -0
  18. package/out/styles/style-template.css +1 -1
  19. package/out/types/src/markdown-engine/index.d.ts +2 -2
  20. package/out/types/src/notebook/index.d.ts +10 -8
  21. package/out/types/src/notebook/note.d.ts +2 -1
  22. package/out/types/src/notebook/types.d.ts +19 -1
  23. package/out/types/src/webview/backlinks.d.ts +1 -0
  24. package/out/types/src/webview/components/Backlinks.d.ts +2 -0
  25. package/out/types/src/webview/components/ContextMenu.d.ts +3 -0
  26. package/out/types/src/webview/components/Footer.d.ts +2 -0
  27. package/out/types/src/webview/components/ImageHelper.d.ts +2 -0
  28. package/out/types/src/webview/components/LoadingIcon.d.ts +2 -0
  29. package/out/types/src/webview/components/Preview.d.ts +2 -0
  30. package/out/types/src/webview/components/RefreshingIcon.d.ts +2 -0
  31. package/out/types/src/webview/components/SidebarToc.d.ts +2 -0
  32. package/out/types/src/webview/components/Topbar.d.ts +2 -0
  33. package/out/types/src/webview/containers/preview.d.ts +37 -0
  34. package/out/types/src/webview/lib/types.d.ts +19 -0
  35. package/out/types/src/webview/lib/utility.d.ts +2 -0
  36. package/out/types/src/webview/preview.d.ts +1 -0
  37. package/out/types/tsconfig.tsbuildinfo +1 -1
  38. package/out/webview/backlinks.css +1 -0
  39. package/out/webview/backlinks.js +43 -0
  40. package/out/webview/preview.css +1 -0
  41. package/out/webview/preview.js +84 -0
  42. package/package.json +26 -2
  43. package/out/dependencies/jquery/jquery.js +0 -4
  44. package/out/dependencies/jquery-contextmenu/font/context-menu-icons.eot +0 -0
  45. package/out/dependencies/jquery-contextmenu/font/context-menu-icons.ttf +0 -0
  46. package/out/dependencies/jquery-contextmenu/font/context-menu-icons.woff +0 -0
  47. package/out/dependencies/jquery-contextmenu/font/context-menu-icons.woff2 +0 -0
  48. package/out/dependencies/jquery-contextmenu/jquery.contextMenu.min.css +0 -16
  49. package/out/dependencies/jquery-contextmenu/jquery.contextMenu.min.js +0 -2
  50. package/out/dependencies/jquery-contextmenu/jquery.ui.position.min.js +0 -6
  51. package/out/dependencies/jquery-modal/jquery.modal.min.css +0 -1
  52. package/out/dependencies/jquery-modal/jquery.modal.min.js +0 -5
  53. package/out/dependencies/reveal/plugin/highlight/highlight.js +0 -77
  54. package/out/dependencies/reveal/plugin/markdown/example.html +0 -136
  55. package/out/dependencies/reveal/plugin/markdown/example.md +0 -36
  56. package/out/dependencies/reveal/plugin/markdown/markdown.js +0 -412
  57. package/out/dependencies/reveal/plugin/markdown/marked.js +0 -6
  58. package/out/dependencies/reveal/plugin/math/math.js +0 -67
  59. package/out/styles/loading.css +0 -1
  60. package/out/types/src/webview/webview.d.ts +0 -1
  61. package/out/webview/index.js +0 -22
package/README.md CHANGED
@@ -75,6 +75,9 @@ main();
75
75
 
76
76
  ```js
77
77
  const config = {
78
+ // File of extensions to be included in the notebook
79
+ markdownFileExtensions: [".md", ".markdown", ".mdown", ".mkdn", ".mkd", ".rmd", ".qmd"],
80
+
78
81
  // Enable this option will render markdown by pandoc instead of markdown-it.
79
82
  usePandocParser: false,
80
83
 
@@ -129,6 +132,7 @@ const config = {
129
132
  // "dark.css",
130
133
  // "funky.css",
131
134
  // "github.css",
135
+ // "github-dark.css"
132
136
  // "hopscotch.css",
133
137
  // "monokai.css",
134
138
  // "okaidia.css",
@@ -253,6 +257,9 @@ const config = {
253
257
 
254
258
  // Kroki server url.
255
259
  krokiServer: "https://kroki.io",
260
+
261
+ // Always show backlinks in the preview.
262
+ alwaysShowBacklinksInPreview: false,
256
263
  }
257
264
  ```
258
265