Skip to content

A simple tool to convert you source code into a readable html page

License

Notifications You must be signed in to change notification settings

AICDEV/code-review-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code review builder

What can this program do for you

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.

Requirements

Please make sure that you have click installed and python as well. Program is tested with python3.

  pip install click

Example

Preview: alt text

Run code template builder

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

About

A simple tool to convert you source code into a readable html page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published