statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 234 forks source link

Add option to use the HighlightCode module for generation-time code highlighting #971

Closed daveaglick closed 2 years ago

daveaglick commented 2 years ago

The trade-off would be overall generation time depending on how complicated the code blocks are. Also include an option to toggling support for unspecified languages (see https://github.com/statiqdev/Statiq.Framework/pull/210).

daveaglick commented 2 years ago

This is now done and will go out with the next release. Can be toggled using the WebKeys.HighlightCode setting.

daveaglick commented 2 years ago

cc @Turnerj