zola/components/markdown
Óscar 670b88263c fix: suppress highlight language warnings if highlight_code is false (#2287)
The warning about unknown highlight languages was displayed even when
code highlighting was disabled via `markdown.highlight_code = false`.
This commit adds a condition to check this setting before issuing the
warning, effectively suppressing it when code highlighting is disabled.

Issue: #2280
2023-12-18 23:24:06 +01:00
..
benches Allow taxonomies to not be rendered 2022-04-27 21:11:42 +02:00
src fix: suppress highlight language warnings if highlight_code is false (#2287) 2023-12-18 23:24:06 +01:00
tests Prevent spans crossing line boundaries in class-based code block formatter (#2237) 2023-12-18 23:24:06 +01:00
Cargo.toml add link_checker settings for external_level and internal_level (#1848) 2022-05-11 21:54:34 +02:00