Files
tplate/config/luteParse.yaml

79 lines
3.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# GFMTable 设置是否打开“GFM 表”支持。
GFMTable: true
# GFMTaskListItem 设置是否打开“GFM 任务列表项”支持。
GFMTaskListItem: true
# GFMStrikethrough 设置是否打开“GFM 删除线”支持。
GFMStrikethrough: true
# GFMAutoLink 设置是否打开“GFM 自动链接”支持。
GFMAutoLink: true
# Footnotes 设置是否打开“脚注”支持。
Footnotes: false
# HeadingID 设置是否打开“自定义标题 ID”支持。
HeadingID: false
# ToC 设置是否打开“目录”支持。
ToC: false
# Emoji 设置是否对 Emoji 别名替换为原生 Unicode 字符。
Emoji: false
# AliasEmoji 存储 ASCII 别名到表情 Unicode 映射。
# AliasEmoji map[string]string
# EmojiAlias 存储表情 Unicode 到 ASCII 别名映射。
# EmojiAlias map[string]string
# EmojiSite 设置图片 Emoji URL 的路径前缀。
EmojiSite: ""
# Vditor 所见即所得支持。
VditorWYSIWYG: false
# Vditor 即时渲染支持。
VditorIR: false
# Vditor 分屏预览支持。
VditorSV: false
# Protyle 所见即所得支持。
ProtyleWYSIWYG: false
# InlineMathAllowDigitAfterOpenMarker 设置内联数学公式是否允许起始 $ 后紧跟数字 https:#github.com/b3log/lute/issues/38
InlineMathAllowDigitAfterOpenMarker: false
# Setext 设置是否解析 Setext 标题 https:#github.com/88250/lute/issues/50
Setext: true
# YamlFrontMatter 设置是否开启 YAML Front Matter 支持。
YamlFrontMatter: true
# BlockRef 设置是否开启内容块引用支持。
BlockRef: true
# FileAnnotationRef 设置是否开启文件注解引用支持。
FileAnnotationRef: true
# Mark 设置是否打开 ==标记== 支持。
Mark: true
# KramdownBlockIAL 设置是否打开 kramdown 块级内联属性列表支持。 https:#kramdown.gettalong.org/syntax.html#inline-attribute-lists
KramdownBlockIAL: false
# KramdownSpanIAL 设置是否打开 kramdown 行级内联属性列表支持。
KramdownSpanIAL: false
# Tag 设置是否开启 #标签# 支持。
Tag: false
# ImgPathAllowSpace 设置是否支持图片路径带空格。
ImgPathAllowSpace: true
# SuperBlock 设置是否支持超级块。 https:#github.com/88250/lute/issues/111
SuperBlock: true
# Sup 设置是否打开 ^上标^ 支持。
Sup: true
# Sub 设置是否打开 ~下标~ 支持。
Sub: true
# GitConflict 设置是否打开 Git 冲突标记支持。
GitConflict: true
# LinkRef 设置是否打开“链接引用”支持。
LinkRef: true
# IndentCodeBlock 设置是否打开“缩进代码块”支持。
IndentCodeBlock: true
# ParagraphBeginningSpace 设置是否打开“段首空格”支持。
ParagraphBeginningSpace: true
# DataImage 设置是否打开 ![foo](data:image...) 形式的图片支持。
DataImage: true
# TextMark 设置是否打开通用行级节点解析支持。
TextMark: true
# HTMLTag2TextMark 设置是否打开 HTML 某些标签解析为 TextMark 节点支持。目前仅支持 <u> 和 <kbd> 标签。
# 这个开关主要用于兼容 Markdown 输入 API 上 https:#github.com/siyuan-note/siyuan/issues/6039
# 不用于 Protyle 自旋过程 https:#github.com/siyuan-note/siyuan/issues/5877
HTMLTag2TextMark: false
# Spin 设置是否打开自旋解析支持,该选项仅用于 Spin 内部过程,设置时请注意使用场景。
#
# 该选项的引入主要为了解决 finalParseBlockIAL 过程中是否需要移动 IAL 节点的问题,只有处于自旋过程中才需要移动 IAL 节点
# 其他情况,比如标题块软换行分块 https:#github.com/siyuan-note/siyuan/issues/5723 以及软换行空行分块 https:#ld246.com/article/1703839312585
# 的场景需要移动 IAL 节点,但是 API 输入 markdown https:#github.com/siyuan-note/siyuan/issues/6725无需移动
Spin: false