Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Feature request : replace PrismJS with Chroma #29

Closed
Miaourt opened this issue Mar 22, 2019 · 2 comments
Closed

Feature request : replace PrismJS with Chroma #29

Miaourt opened this issue Mar 22, 2019 · 2 comments

Comments

@Miaourt
Copy link

Miaourt commented Mar 22, 2019

Hugo come with a built-in syntaxt highlighter that allow you to pre-built hightlight and remove a JS dependencies :)
https://gohugo.io/content-management/syntax-highlighting/

@panr
Copy link
Owner

panr commented Mar 24, 2019

Chroma should work fine because it's Hugo's default syntax highlighter 🤔
...but... I use Prism because I made custom syntax colors that match the color of the theme...

If you know how to create a custom Chroma syntax highlighting that will match the theme color, please contribute 😉

@panr panr closed this as completed Mar 31, 2019
@ghost
Copy link

ghost commented Jul 7, 2022

Can there be a option to disable PrismJS and use Chroma, like this can remain disabled by default and used by someone who wants to use chroma [btw, prism doesn't highlight fortran code properly]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants