Become a backer or sponsor to support our work.
The code block panel provides abilities to expand code, copy code, wrap code and toggle code line numbers.
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}
Learn more on Code block panel parameters.