mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Refine highlight shortcode options
Attempts to clean up and clarify bullets around options, fix punctuation.
This commit is contained in:
1 parent
1075a172a1
commit
ebb3b4f3ab
1 file changed
+3
-4
@@ -43,10 +43,9 @@ Highlighting is carried out via the [built-in shortcode](/content-management/sho
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
* `linenos`: Valid values are `true`, `false`, `table`, `inline`. `table` will give copy-and-paste friendly code blocks) turns on line numbers.
|
* `linenos`: configure line numbers. Valid values are `true`, `false`, `table`, or `inline`. `false` will turn off line numbers if it's configured to be on in site config. {{< new-in "0.60.0" >}} `table` will give copy-and-paste friendly code blocks.
|
||||||
* Setting `linenos` to `false` will turn off linenumbers if it's configured to be on in site config.{{< new-in "0.60.0" >}}
|
* `hl_lines`: lists a set of line numbers or line number ranges to be highlighted.
|
||||||
* `hl_lines` lists a set of line numbers or line number ranges to be highlighted.
|
* `linenostart=199`: starts the line number count from 199.
|
||||||
* `linenostart=199` starts the line number count from 199.
|
|
||||||
|
|
||||||
### Example: Highlight Shortcode
|
### Example: Highlight Shortcode
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user