Code Block Panel

The code block panel provides abilities to expand code, copy code, wrap code and toggle code line numbers.

Modulegithub.com/hbstack/code-block-panel
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

Requirements

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}

Site Parameters

Learn more on Code block panel parameters.

razonyang
Sunday, June 16, 2024 Monday, February 13, 2023