This would certainly make a good package, but I'm not sure it belongs in core Django, as it would likely introduce dependencies for everyone.
I've done something similar for the Wagtail CMS on Django using the PrismJS library: https://github.com/FlipperPA/wagtailcodeblock A similar package only using JSON could be built for the Django admin for those who want it. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/63cc0876-cc4f-443d-848a-594b20b83d3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.