https://github.com/dries007/nginxsourceviewer
A Source Code Viewer/Highlighter for Nginx, based on HTML, CSS & JS
https://github.com/dries007/nginxsourceviewer
highlight-js nginx syntax-highlighting
Last synced: 3 days ago
JSON representation
A Source Code Viewer/Highlighter for Nginx, based on HTML, CSS & JS
- Host: GitHub
- URL: https://github.com/dries007/nginxsourceviewer
- Owner: dries007
- Created: 2019-04-30T20:21:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-01T00:25:28.000Z (about 7 years ago)
- Last Synced: 2025-02-14T03:23:38.080Z (over 1 year ago)
- Topics: highlight-js, nginx, syntax-highlighting
- Language: Python
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimalist Source Code Viewer for Nginx
Copyright 2018 Dries007
Based on highlightjs, highlightjs-line-numbers.
Written in about a day because I wanted to display my code pretty for my Master Thesis.
When combined with some nginx configuration, all the clever bits happen client side.
Inspired by
Feel free to use under terms of MIT license, with link back to [this](https://github.com/dries007/NginxSourceViewer) repo.
There is a screenshot down below!
## Make it work
1. Edit the python file to include the languages & styles you want to use.
2. Run the python file.
3. Include the output file in an Nginx `server` block.
4. Magic!
## Screenshots
