mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-18 17:14:34 -04:00
Highlight.js -> Hugo's chromastyles (#1364)
* remove hljs * rename var --hljs-bg to --code-block-bg * bundle chroma-styles from css/includes/chroma-styles.css * add compatibility fixes for papermod <-> chroma * fix line-num and line padding and set width for line container to 100% * After a lot of experimentation this compatiblity should work well * fix inline line highlights not working * Use catppuccin-macchiato as default theme with highlightStyle 'bg:#474733' - hugo gen chromastyles --style catppuccin-macchiato --highlightStyle 'bg:#474733' > assets/css/includes/chroma-styles.css
This commit is contained in:
parent
a1cb044262
commit
045c08496d
8 changed files with 122 additions and 132 deletions
44
assets/js/highlight.min.js
vendored
44
assets/js/highlight.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue