[django-cms] Pygments Code Highlighting

Django, Flask, Bottle, WSGI, CGI…
Antworten
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Möchte gern auch Sourcecode mit Pygments anzeigen lassen.

Es gab mal das "cmsplugin-pygments" Plugins dafür:
https://www.djangopackages.com/packages ... -pygments/
https://www.django-cms.org/en/add-ons/c ... -pygments/

Aber das dazugehörige Repro https://github.com/fivethreeo/cmsplugin-pygments ist weg.

Gefunden habe ich aber: https://github.com/chrisglass/cmsplugin-pygments aber letzte Änderung von 2010...


Kennt jemand was aktuelles???

EDIT: Sehe gerade https://pypi.python.org/pypi/cmsplugin-pygments/ gibt es auch. Ist ebenfalls von 2010... Also das selbe wie https://github.com/chrisglass/cmsplugin-pygments ?

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

cmsplugin-pygments läuft nicht mit Django 1.7...

Hab mal einen Pull Request dafür gemacht: https://github.com/chrisglass/cmsplugin-pygments/pull/1

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Antworten