https://github.com/davidar/django-codehilite
Codehilite (source code syntax highlighting) template filter for Django
https://github.com/davidar/django-codehilite
Last synced: 5 months ago
JSON representation
Codehilite (source code syntax highlighting) template filter for Django
- Host: GitHub
- URL: https://github.com/davidar/django-codehilite
- Owner: davidar
- License: agpl-3.0
- Created: 2009-11-19T08:12:00.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-11-19T08:19:20.000Z (over 16 years ago)
- Last Synced: 2025-04-04T14:14:39.253Z (about 1 year ago)
- Homepage: http://da.vidr.cc/
- Size: 82 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
USAGE
Copy the codehilite/ directory to somewhere in your PYTHONPATH, and add
"codehilite" to INSTALLED_APPS in settings.py. Then, use the filter with
something like the following (replacing python with the source language):
{% load codehilite %} {{ source|codehilite:"python" }}
Author Homepage: http://da.vidr.cc/