hugo/markup/highlight
Bjørn Erik Pedersen 241b21b0fd Create a struct with all of Hugo's config options
Primary motivation is documentation, but it will also hopefully simplify the code.

Also,

* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.

Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00
..
chromalexers Add a cache for lexers.Get 2022-11-24 13:18:33 +01:00
config.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
config_test.go markup: Fix linenos codeblock hl option case regression 2023-02-05 20:06:25 +01:00
highlight.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
highlight_test.go deps: Upgrade github.com/alecthomas/chroma/v2 v2.4.0 2022-11-19 11:55:30 +01:00
integration_test.go markup/highlight: Add hl_inline option 2022-06-15 20:04:20 +02:00