문제

I'd like to put together a Django Blog App that uses Pygments for code markup within the Blog. I'd like to be able to mark up the main text similar to StackOverflow with *, _ or cmd+K for special notation within the code to add href or bold etc.

Is there a Django App that can do this? Looked at zinnia but it seems pretty robust, and not sure how to extend it to use Pygments.

도움이 되었습니까?

해결책

The django-pygments is a Django app (Django-Pygments integration) that provides a template tag and 2 filters for doing syntax highlighting with Pygments.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top