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