代码块面板提供了展开代码、复制代码、代码换行和切换代码行号等功能。
Module | github.com/hbstack/code-block-panel |
---|---|
Repository | ⭐ Please consider giving a star if your like it. |
Stars | |
Version | |
Used by | |
Requirements | |
License | |
Usage | See how to use modules. |
hugo.toml
1[markup]
2 [markup.highlight]
3 lineNos = true
4 lineNumbersInTable = false
hugo.yaml
1markup:
2 highlight:
3 lineNos: true
4 lineNumbersInTable: false
hugo.json
1{
2 "markup": {
3 "highlight": {
4 "lineNos": true,
5 "lineNumbersInTable": false
6 }
7 }
8}
另请参阅代码块面板参数。