This fixes an incompatibility between Statiq.Highlight and Statiq.Docs as Statiq.Highlight is specifically looking for language to determine what language to render as. It might still auto-detect the language correctly without it however given we know what language it is, we should be using it.
This fixes an incompatibility between
Statiq.Highlight
andStatiq.Docs
asStatiq.Highlight
is specifically looking forlanguage
to determine what language to render as. It might still auto-detect the language correctly without it however given we know what language it is, we should be using it.https://github.com/statiqdev/Statiq.Framework/blob/1a8bd58e6f1a4e63f0cae2870db78126bc511928/src/extensions/Statiq.Highlight/HighlightCode.cs#L121