ohnonot 7d392263df fiddling | 1 år sedan | |
---|---|---|
.. | ||
README.md | 1 år sedan | |
pygsgallery.py | 1 år sedan | |
pygsgallery.py.css | 1 år sedan | |
pygsgallery.sh | 1 år sedan | |
pygsgallery.sh.css | 1 år sedan | |
styles.py | 1 år sedan |
I'm not sure these still work since I massively changed the way styles(colors are applied.
styles.py
will generate CSS stylesheets that are required for this plugin to actually colorize the code.python3 styles.py -h
PicoPygments.stylesheet
in the picopygments.yml
configuration file.pygsgallery.py
will output an HTML fragment that contains sample code styled in all available styles,
and a table of contents. If the file pygsgallery.py.css
is found in the same folder, it will be used to style
the HTML.python3 pygsgallery.py > fragment.html