Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-04-25 22:25:10 +0300
committerGitHub <noreply@github.com>2020-04-25 22:25:10 +0300
commitbcbc4268ea70465a3461c5bd9ef678e305dc4e95 (patch)
tree92cb12af697acee4de84aec75f459e296639626f /exampleSite/config.toml
parent41a92c61661145cf2f1777a50bf7ee7a2a50cc60 (diff)
feat(code): add support for code block folding (#259)
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 1ed2c45..632987a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -678,6 +678,9 @@ enableEmoji = true
# whether to show the copy button of the code block
# 是否显示代码块的复制按钮
copy = true
+ # the maximum number of lines of displayed code by default
+ # 默认展开显示的代码行数
+ maxShownLines = 10
# KaTeX mathematical formulas config (KaTeX https://katex.org/)
# KaTeX 数学公式配置 (KaTeX https://katex.org/)
[params.page.math]