aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-04-18 12:04:47 -0700
committerBjørn Erik Pedersen <[email protected]>2024-04-20 12:25:28 +0200
commitda6112fc65346d0f4e12b52d0580258cf02716c9 (patch)
treea6ac9c6436fcb0563e3ed4f09808a76940bdb005 /docs
parentfaf9fedc3d39cf226a26cbd41e0152359c46968a (diff)
downloadhugo-da6112fc65346d0f4e12b52d0580258cf02716c9.tar.gz
hugo-da6112fc65346d0f4e12b52d0580258cf02716c9.zip
commands: Add gen chromastyles --lineNumbersTableStyle flag
For symmetry, also rename --linesStyle to --lineNumbersInlineStyle. Closes #12393
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/commands/hugo_gen_chromastyles.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/content/en/commands/hugo_gen_chromastyles.md b/docs/content/en/commands/hugo_gen_chromastyles.md
index 1970ed736..6ecb00bd0 100644
--- a/docs/content/en/commands/hugo_gen_chromastyles.md
+++ b/docs/content/en/commands/hugo_gen_chromastyles.md
@@ -20,10 +20,11 @@ hugo gen chromastyles [flags] [args]
### Options
```
- -h, --help help for chromastyles
- --highlightStyle string style used for highlighting lines (see https://github.com/alecthomas/chroma)
- --linesStyle string style used for line numbers (see https://github.com/alecthomas/chroma)
- --style string highlighter style (see https://xyproto.github.io/splash/docs/) (default "friendly")
+ -h, --help help for chromastyles
+ --highlightStyle string foreground and background colors for highlighted lines, e.g. --highlightStyle "#fff000 bg:#000fff"
+ --lineNumbersInlineStyle string foreground and background colors for inline line numbers, e.g. --lineNumbersInlineStyle "#fff000 bg:#000fff"
+ --lineNumbersTableStyle string foreground and background colors for table line numbers, e.g. --lineNumbersTableStyle "#fff000 bg:#000fff"
+ --style string highlighter style (see https://xyproto.github.io/splash/docs/) (default "friendly")
```
### Options inherited from parent commands