# Post wordcount display settings # Dependencies: https://github.com/theme-next/hexo-symbols-count-time symbols_count_time: separated_meta:true #文章中的显示是否显示文字(本文字数|阅读时长) item_text_post:true #网页底部的显示是否显示文字(站点总字数|站点阅读时长) item_text_total:false # Average Word Length (chars count in word) awl:4 # Words Per Minute wpm:275
4. latex公式支持
Next主题中自带latex插件
修改_config.xml文件即可
注意事项
1. 表格中不能使用\|,需要使用latex中的\mid来代替
示例
1 2 3 4
| 描述 | 代码 | | ---------- | ----------------- | | 使用`\|` | a \| b | | 使用`\mid` | a $\mid$ b |
kroki: # the kroki free service server, you may switch to your self-hosted sever. server:"https://kroki.io/"# 服务器地址,想要自己搭建就 docker pull yuzutech/kroki # Available values # "inline": <svg>xxx<svg/> # "inlineUrlEncode": <img src='data:image/svg+xml;> # "inlineBase64": <img src='data:image/svg+xml;base64> # "localLink": <img src="/assert/puml/xxxx.svg"> # "externalLink": <img src="http://www.plantuml.com/plantuml/svg/xxx"> link:"externalLink"
# common options: svg/png outputFormat:"svg" # the generated img will have a default class name. className:'kroki'
# append some fragment per diagram, used for the theme or else config inserts: -diagram:plantuml after:1 # see https://plantuml.com/en/theme fragment:'!theme sketchy-outline' -diagram:mermaid after:0 # see https://mermaid-js.github.io/mermaid/#/theming fragment:"%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#ff0000'}}}%%"
7.2. 搭建kroki本地服务器
1 2
docker pull yuzutech/kroki docker run -d -p 8000:8000 yuzutech/kroki