This renders code as syntax highlighted rich text, to be copied-and-pasted in presentations or downloaded as a pdf.
- Python 3
- pip
- django
- weasyprint 52.5
- pygments
- whitenoise
Download the repo by opening a terminal and typing
$ git clone https://github.com/daltonma/pygments-web
... extra stuff ...
$ cd pygments-web/highlight
$
Then run pip install -r requirements.txt
.
Run python manage.py runserver
.