OptionalalwaysOptionalbreakWhether to break on single new line.
If set to false, then two spaces at the end of line will be required to break a line.
OptionalchromeThe path of Chrome or Chromium.
This is used for puppeteer to generate pdf or images.
OptionalcodeThe code block theme.
OptionalcursorOptionald2Default layout engine for D2 diagrams.
Optionald2Path to the D2 executable.
Optionald2Whether to render D2 diagrams in sketch (hand-drawn) style.
Optionald2Default theme ID for D2 diagrams.
OptionalenableWhether to enable critic markup syntax.
OptionalenableWhether to enable emoji syntax.
OptionalenableWhether to enable extended table syntax.
OptionalenableWhether to enable HTML5 embed.
Note: This is dangerous and should be used with caution.
OptionalenableWhether to enable linkify.
OptionalenableWhether to enable preview zen mode. Enable this option will hide unnecessary UI elements in preview unless your mouse is over it.
OptionalenableWhether to enable script execution.
Note: This is dangerous and should be used with caution.
OptionalenableWhether to enable typographer.
OptionalenableWhether to enable wiki link syntax.
OptionalfrontThe front matter rendering option.
OptionalglobalGlobal custom CSS styles.
This will be inserted into HTML <style> tag.
OptionalHTML5The audio attributes for HTML5 embed.
OptionalHTML5Whether to allow HTTP protocol for HTML5 embed. *
OptionalHTML5Whether to use image syntax for HTML5 embed.
OptionalHTML5Whether to use link syntax for HTML5 embed.
OptionalHTML5The video attributes for HTML5 embed.
OptionalimageThe folder path for storing images.
OptionalimageThe path of ImageMagick.
This is used for converting svg to png.
OptionalimageOptionalincludeThe content to be included in HTML <head> tag.
This is useful for adding custom styles or scripts.
OptionalisWhether the current environment is VSCode.
OptionaljsdelivrThe host of jsdelivr CDN.
OptionalkatexKaTeX configuration.
OptionalkrokiThe Kroki server used to render diagrams.
OptionallatexThe latex engine.
OptionalmarkdownThe files of extensions to be included in the notebook
OptionalmarkdownMarkdown parser to use for rendering.
'markdown-it' (default) — built-in markdown-it renderer'pandoc' — render via Pandoc (requires Pandoc installed)'markdown_yo' — render via markdown_yo (WASM or native binary)OptionalmarkdownPath to the markdown_yo native binary.
When set, crossnote will invoke this binary (via stdin/stdout) instead of
the bundled WASM module when markdownParser is 'markdown_yo'.
Performance note: the native binary is faster for files under ~300 KB (roughly 6× faster than WASM due to lower per-call overhead). For very large files (>500 KB) the subprocess I/O cost may exceed the WASM render time, so WASM (the default) is preferable in those cases.
Supports $HOME and ~ variable substitution.
OptionalmathThe math delimiters for block math.
For example, [["$$", "$$"]] will render $$x$$ as block math.
OptionalmathThe math delimiters for inline math.
For example, [["$", "$"]] will render $x$ as inline math.
OptionalmathjaxMathJax configuration.
https://docs.mathjax.org/en/latest/options/index.html
Default: Defined in ${notebookPath}/.crossnote/configs.js or
{
tex: {},
options: {},
loader: {},
OptionalmathjaxThe script source for MathJax v3.
OptionalmathThe online math rendering service used for markdown export.
OptionalmathThe math rendering option.
OptionalmermaidMermaid configuration.
OptionalmermaidThe mermaid theme.
OptionalpandocThe arguments for running the pandoc command.
OptionalpandocThe pandoc markdown flavor.
OptionalpandocThe path of the pandoc command.
OptionalparserParser configuration.
OptionalplantumlThe path of the plantuml.jar file.
The plantuml.jar file could be downloaded from https://sourceforge.net/projects/plantuml/
OptionalplantumlThe PlantUML server.
If this is set, then plantumlJarPath will be ignored.
You run start a plantuml server by running:
$ docker run -d -p 8080:8080 plantuml/plantuml-server:jetty
OptionalpreviewThe preview theme.
OptionalprintWhether to print background for file export.
OptionalprotocolsThe protocols white list.
OptionalpuppeteerThe arguments for running puppeteer.
OptionalpuppeteerThe timeout for puppeteer to wait for the page to be loaded.
Increase the timeout if the exported file is incomplete.
OptionalrevealjsThe reveal.js theme.
OptionalscrollOptionalsourceOptionaluseWhether to use GitHub style piped link.
[[ text | link ]][[ link | text ]]OptionalwebAPI key for WebSequenceDiagrams. Required for wider diagram sizes.
OptionalwebThe WebSequenceDiagrams server URL.
OptionalwikiThe file extension for the link in wikilink if the link does not have an extension.
OptionalwikiThe case for the file name in wikilink.
If the value is none, then the file name will not be changed.
Otherwise, the file name will be transformed to the specified case.
You can read https://www.npmjs.com/package/case-anything for more details.
Optionalzoom
Whether to always show backlinks in preview.