mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-07-21 23:02:29 +00:00
code highligher: switch to standard hugo highlighter #32
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:
parent
540bd91fbc
commit
5c667b3d07
9 changed files with 35 additions and 253 deletions
static/js
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue