Optional
HTML5controls preload="metadata"
Optional
HTML5Whether to allow HTTP protocol for HTML5 embed. *
false
Optional
HTML5Whether to use image syntax for HTML5 embed.
true
Optional
HTML5Whether to use link syntax for HTML5 embed.
false
Optional
HTML5The video attributes for HTML5 embed.
controls preload="metadata"
Optional
alwaysWhether to always show backlinks in preview.
Optional
breakWhether 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.
true
Optional
chromeThe path of Chrome or Chromium.
This is used for puppeteer to generate pdf or images.
''
Optional
codeThe code block theme.
auto.css
Optional
cursorOptional
enableWhether to enable critic markup syntax.
false
Optional
enableWhether to enable emoji syntax.
true
Optional
enableWhether to enable extended table syntax.
false
Optional
enableHTML5Whether to enable HTML5 embed.
Note: This is dangerous and should be used with caution.
false
Optional
enableWhether to enable linkify.
true
Optional
enableWhether to enable preview zen mode. Enable this option will hide unnecessary UI elements in preview unless your mouse is over it.
Optional
enableWhether to enable script execution.
Note: This is dangerous and should be used with caution.
false
Optional
enableWhether to enable typographer.
false
Optional
enableWhether to enable wiki link syntax.
true
Optional
frontThe front matter rendering option.
none
Optional
globalGlobal custom CSS styles.
This will be inserted into HTML <style>
tag.
${notebookPath}/.crossnote/style.less
or ''
Optional
imageThe folder path for storing images.
/assets
Optional
imageThe path of ImageMagick.
This is used for converting svg to png.
''
Optional
imageOptional
includeThe content to be included in HTML <head>
tag.
This is useful for adding custom styles or scripts.
Optional
isVSCodeWhether the current environment is VSCode.
false
Optional
jsdelivrThe host of jsdelivr CDN.
cdn.jsdelivr.net
Optional
katexKaTeX configuration.
Defined in ${notebookPath}/.crossnote/configs.js
or { macros: {} }
Optional
krokiThe Kroki server used to render diagrams.
https://kroki.io
Optional
latexThe latex engine.
pdflatex
Optional
markdownThe files of extensions to be included in the notebook
[".md", ".markdown", ".mdown", ".mkdn", ".mkd", ".rmd", ".qmd", ".mdx"]
Optional
mathThe math delimiters for block math.
For example, [["$$", "$$"]]
will render $$x$$
as block math.
[['$$', '$$']]
Optional
mathThe math delimiters for inline math.
For example, [["$", "$"]]
will render $x$
as inline math.
[['$', '$']]
Optional
mathThe online math rendering service used for markdown export.
https://latex.codecogs.com/gif.latex
Optional
mathThe math rendering option.
KaTeX
Optional
mathjaxMathJax configuration.
https://docs.mathjax.org/en/latest/options/index.html
Default: Defined in ${notebookPath}/.crossnote/configs.js
or
{
tex: {},
options: {},
loader: {},
}
Optional
mathjaxThe script source for MathJax v3.
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
Optional
mermaidMermaid configuration.
Defined in ${notebookPath}/.crossnote/configs.js
or { startOnLoad: false }
Optional
mermaidThe mermaid theme.
default
Optional
pandocThe arguments for running the pandoc
command.
[]
Optional
pandocThe pandoc markdown flavor.
markdown-raw_tex+tex_math_single_backslash
Optional
pandocThe path of the pandoc
command.
pandoc
Optional
parserParser configuration.
${notebookPath}/.crossnote/parser.js
or {}
Optional
plantumlThe path of the plantuml.jar file.
The plantuml.jar file could be downloaded from https://sourceforge.net/projects/plantuml/
''
Optional
plantumlThe 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
''
Optional
previewThe preview theme.
github-light.css
Optional
printWhether to print background for file export.
false
Optional
protocolsThe protocols white list.
http://, https://, atom://, file://, mailto:, tel:
Optional
puppeteerThe arguments for running puppeteer.
[]
Optional
puppeteerThe timeout for puppeteer to wait for the page to be loaded.
Increase the timeout if the exported file is incomplete.
0
Optional
revealjsThe reveal.js theme.
white.css
Optional
scrollOptional
sourceOptional
useWhether to use GitHub style piped link.
[[ text | link ]]
[[ link | text ]]
false
Optional
useWhether to use Pandoc parser.
false
Optional
wikiThe file extension for the link in wikilink if the link does not have an extension.
'.md'
Optional
wikiThe 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.
Optional
zoomGenerated using TypeDoc
The audio attributes for HTML5 embed.