公式

Hugo Narrow 通过 Katex 支持公式。

params.yaml
 1katex:
 2  enabled: true
 3  delimiters:
 4    - left: "$$"
 5      right: "$$"
 6      display: true
 7    - left: "$"
 8      right: "$"
 9      display: false
10    - left: "\\("
11      right: "\\)"
12      display: false
13    - left: "\\["
14      right: "\\]"
15      display: true
点击展开查看更多

图表

Hugo Narrow 通过 Mermaid 支持图表。

params.yaml
1mermaid:
2  enabled: true
点击展开查看更多

mermaid: true 形式也支持。

版权声明

作者: Hugo Narrow

链接: https://hugo-narrow-docs.vercel.app/zh-cn/docs/%E5%85%AC%E5%BC%8F%E5%92%8C%E5%9B%BE%E8%A1%A8/

许可证: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键