Difference between revisions of "Team:EPF Lausanne/Modeling"
Line 208: | Line 208: | ||
− | </div></div></div> | + | </div></div></div></div> |
Revision as of 10:13, 31 July 2015
Code
code2html
The following Python script allows to generate HTML (and CSS) code from source files in C++ and Python languages. It is based on Pygment, a Python syntax highlighter. All code in our Wiki is formatted using this script.
This script accepts two command line arguments: the first argument is the name of the file to convert, the second one (optional) is to ask separate HTML and CSS files.