withlogicco/django-prose

Code Colors

Closed this issue · 1 comments

Is it possible to allow code highlighting on RichTextField() with CSS?

Say, a code example would come with colors .

This is not supported natively by neither Django Prose nor Trix, the underlying rich text editor. There is a workaround suggested upstream though: basecamp/trix#394 (comment).