Is it possible to change highlight.js theme?

Just as title, Is it possible to change highlight.js theme?

I've tried looking at code and my guess is "no" because of this

Thank you!

You can always edit rendered markdown in userstyle.css to change different colours to your liking.

1 Like

This make sense, I think that by inserting a highlight.js theme CSS code in the userstyle.css file should be effective in overwriting the default one. I will give this a try.

Thank you!

Yes it worked!
Be careful and look how the theme has implemented classes like .hljs since some may conflict with the default atom-one-light.css.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.