code highligher: switch to standard hugo highlighter

Since a while, Hugo has its own mechanism for code highlightning.

We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files.

This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results.

This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information.

Another advantage is the huge list of supported languages which by far exceeds our current list.

On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
This commit is contained in:
Sören Weber 2021-07-26 01:05:46 +02:00
parent 540bd91fbc
commit 5c667b3d07
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
9 changed files with 35 additions and 253 deletions

File diff suppressed because one or more lines are too long