Skip to content

Commit 54b4169

Browse files
authored
Update _config.yml
1 parent cf33284 commit 54b4169

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

_config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/
186186
- | # 来自primer/css的页面样式,不要改
187187
<link
188188
rel="stylesheet"
189-
href="https://cdn.jsdelivr.net/npm/@primer/css@22.0.0/dist/primer.min.css"
189+
href="https://cdn.jsdelivr.net/npm/@primer/css@22.0.2/dist/primer.min.css"
190190
/>
191191
- | # 代码高亮,可在 <https://www.npmjs.com/package/pygments-rouge-css> 挑选
192192
<link
@@ -205,6 +205,7 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/
205205
<style>
206206
body, .markdown-body {
207207
font-family: "Monaspace Xenon", "极影毁片文宋 Medium", var(--fontStack-monospace, monospace);
208+
font-feature-settings: "calt" 1, "liga" 1;
208209
}
209210
</style>
210211
- | # 填满页面
@@ -285,7 +286,7 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/
285286
}
286287
</style>
287288
<script
288-
src="https://cdn.jsdelivr.net/npm/mermaid@11.8.0/dist/mermaid.min.js"
289+
src="https://cdn.jsdelivr.net/npm/mermaid@11.10.0/dist/mermaid.min.js"
289290
async="async"
290291
defer="defer"
291292
onload='
@@ -364,6 +365,7 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/
364365
/>
365366
<style>
366367
.reveal {
368+
font-feature-settings: "calt" 1, "liga" 1;
367369
--r-code-font: "Monaspace Xenon", "极影毁片文宋 Medium", var(--fontStack-monospace, monospace);
368370
--r-main-font: var(--r-code-font);
369371
--r-heading-font: var(--r-main-font);
@@ -449,4 +451,4 @@ kramdown: # 见<https://kramdown.gettalong.org/options.html>
449451
# noscript: false
450452
#kramdown:
451453
# math_engine: mathjax
452-
# syntax_highlighter: rouge
454+
# syntax_highlighter: rouge

0 commit comments

Comments
 (0)