PrismJS no longer seems to be maintained. There are also some underlying issues with CSS namespacing that conflict with Wagtail's admin, particularly around the CSS class named comment.
I'm considering switching to highlight.js as our underlying syntax highlighting library.
Pros:
- Resolves namespace conflicts
- Actively maintained
- More language support
- More theme choice
Cons:
- Current themes will no longer be supported
- It's a big change, and other backwards incompatibilities might be found.
I wanted to open this issue for discussion to our users before moving in this direction. Thoughts?
PrismJS no longer seems to be maintained. There are also some underlying issues with CSS namespacing that conflict with Wagtail's admin, particularly around the CSS class named
comment.I'm considering switching to highlight.js as our underlying syntax highlighting library.
Pros:
Cons:
I wanted to open this issue for discussion to our users before moving in this direction. Thoughts?