CodeShow turns a directory of code into a static website suitable for use in presentations. It uses pygments for syntax highlighting. In directories that include a
readme.txt, the readme contents will be displayed under the directory listing.
--site44 generates content optimized for hosting on Site44:
- No .html or .txt file extensions are appended to files. This makes for prettier URLs.
mimetypes.site44.txtfile is generated that enforces HTML and plain text content types for those pretty URLs.
pip install codeshow to install.
usage: codeshow [path] [<options>] CodeShow turns a directory of code into a static website suitable for use in presentations. positional arguments: PATH path to the code project optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -o, --output PATH output path for generated website -i, --ignore PATH relative path to skip (can be specified multiple times) -f, --force if the output directory already exists, delete it first -s, --site44 generate output for Site44 (generate mimetypes.site44.txt instead of using file extensions)