# light or dark
colorTheme: light
# Adjust font size in editor and preview
fontSizeFactor: 1
# Adjust maximum text width in editor and preview
maxWidthFactor: 1
# Auto-sync frequency (in ms). Minimum is 60000.
autoSyncEvery: 90000

# Editor settings
editor:
  # Automatic list numbering
  listAutoNumber: true
  # Display images in the editor
  inlineImages: true
  # Use monospaced font only
  monospacedFontOnly: false
  # 是否显示右上角图标
  showInPageButtons: true
  # 头部的按钮是否显示独立设置
  headButtons:
    # 加粗
    bold: true
    # 斜体
    italic: true
    # 标题
    heading: true
    # 删除线
    strikethrough: true
    # 无序列表
    ulist: true
    # 有序列表
    olist: true
    # 可选列表
    clist: true
    # 块引用
    quote: true
    # 代码
    code: true
    # 表格
    table: true
    # 链接
    link: true
    # 图片
    image: true
    # ChatGPT
    chatgpt: true

# Keyboard shortcuts
# See https://craig.is/killing/mice
shortcuts:
  mod+s: sync
  mod+f: find
  mod+alt+f: replace
  mod+g: replace
  mod+shift+b: bold
  mod+shift+c: clist
  mod+shift+k: code
  mod+shift+h: heading
  mod+shift+r: hr
  mod+shift+g: image
  mod+shift+p: chatgpt
  mod+shift+i: italic
  mod+shift+l: link
  mod+shift+o: olist
  mod+shift+q: quote
  mod+shift+s: strikethrough
  mod+shift+t: table
  mod+shift+u: ulist
  mod+shift+f: inlineformula
  # 切换编辑与预览模式
  mod+shift+e: toggleeditor
  '= = > space':
    method: expand
    params:
    - '==> '
    - '⇒ '
  '< = = space':
    method: expand
    params:
    - '<== '
    - '⇐ '

# Options passed to wkhtmltopdf
# See https://wkhtmltopdf.org/usage/wkhtmltopdf.txt
wkhtmltopdf:
  marginTop: 25
  marginRight: 25
  marginBottom: 25
  marginLeft: 25
  # A3, A4, Legal or Letter
  pageSize: A4

# Options passed to pandoc
# See https://pandoc.org/MANUAL.html
pandoc:
  highlightStyle: kate
  toc: true
  tocDepth: 3

# HTML to Markdown converter options
# See https://github.com/domchristie/turndown
turndown:
  headingStyle: atx
  hr: ----------
  bulletListMarker: '-'
  codeBlockStyle: fenced
  fence: '```'
  emDelimiter: _
  strongDelimiter: '**'
  linkStyle: inlined
  linkReferenceStyle: full

# GitHub/GitLab/Gitee/Gitea commit messages
git:
  createFileMessage: '{{path}} created'
  updateFileMessage: '{{path}} updated'
  deleteFileMessage: '{{path}} deleted'

# Default content for new files
newFileContent: |



  > Written with [睿展知识库].

# Default properties for new files
newFileProperties: |
#  extensions:
#    preset: gfm

