1HUGO-GEN-CHROMASTYLES(1)Apr(2020) HUGO-GEN-CHROMASTYLES(1)Apr(2020)
2
3
4
5Hugo 0.69.0 Hugo Manual
6
7
9 hugo-gen-chromastyles - Generate CSS stylesheet for the Chroma code
10 highlighter
11
12
13
15 hugo gen chromastyles [flags]
16
17
18
20 Generate CSS stylesheet for the Chroma code highlighter for a given
21 style. This stylesheet is needed if pygmentsUseClasses is enabled in
22 config.
23
24
25 See https://help.farbox.com/pygments.html for preview of available
26 styles
27
28
29
31 -h, --help[=false] help for chromastyles
32
33
34 --highlightStyle="bg:#ffffcc" style used for highlighting lines
35 (see https://github.com/alecthomas/chroma)
36
37
38 --linesStyle="" style used for line numbers (see
39 https://github.com/alecthomas/chroma)
40
41
42 --style="friendly" highlighter style (see https://help.far‐
43 box.com/pygments.html)
44
45
46
48 --config="" config file (default is path/config.yaml|json|toml)
49
50
51 --configDir="config" config dir
52
53
54 --debug[=false] debug output
55
56
57 -e, --environment="" build environment
58
59
60 --ignoreVendor[=false] ignores any _vendor directory
61
62
63 --log[=false] enable Logging
64
65
66 --logFile="" log File path (if set, logging enabled automatically)
67
68
69 --quiet[=false] build in quiet mode
70
71
72 -s, --source="" filesystem path to read files relative from
73
74
75 --themesDir="" filesystem path to themes directory
76
77
78 -v, --verbose[=false] verbose output
79
80
81 --verboseLog[=false] verbose logging
82
83
84
86 hugo-gen(1)
87
88
89
90 HUGO-GEN-CHROMASTYLES(1)Apr(2020)