hugo/markup/highlight
Khayyam Saleem 73ece30d84
markup: Fix linenos codeblock hl option case regression
This fixes a regression introduced in v0.93.0 where previously, a
mixed-case key for lineNos would be successfully parsed. This change
moves the configuration key lowercasing step into the configuration
normalization stage, which is called whether the highlighting config
is being parsed from a `string` or a `map`.

Fixes #10682
2023-02-05 20:06:25 +01:00
..
chromalexers Add a cache for lexers.Get 2022-11-24 13:18:33 +01:00
config.go markup: Fix linenos codeblock hl option case regression 2023-02-05 20:06:25 +01:00
config_test.go markup: Fix linenos codeblock hl option case regression 2023-02-05 20:06:25 +01:00
highlight.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01: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