Sometimes it is, for some strange reason, quite helpful to convert your whole source code, into a html page where others can view your code. Also, there is a cool search function included. Enjoy. In short terms: this tool converts your source code into a html structure with syntax highlighting. Nothing more, nothing less.
Please make sure that you have click installed and python as well. Program is tested with python3.
pip install click
You have a few command line arguments to play with:
- --src source folder to serve from
- --out destination folder to write output html
- --syntax syntax highlighting. leave for autodetect.
Call examples:
Autodetect syntax
python3 main.py --src ../mimecraft/src --out .
Typescript
python3 main.py --src ../mimecraft/src --out . --syntax typescript