Reply to comment
Convert Source Code to HTML using vim
1. open your source code in vim
go to Applications >>> Accessories >>> Terminal
then type vim <codeFileName> then hit Enter
e.g vim factorial.py
2. convert your code to readable html
type :runtime! syntax/2html.vim then hit Enter
note: be sure you are in command mode, if your in insert mode just press Esc

3. save the generated html file
type :wq <filename.html> then hit Enter
note: be sure you are in command mode, if your in insert mode just press Esc
e.g. :wq factorial.html
You can now open the html page of your source code with your favorite web browser.
example output


Recent comments
5 days 3 hours ago
2 weeks 4 days ago
3 weeks 1 hour ago
3 weeks 1 hour ago
4 weeks 2 days ago
4 weeks 5 days ago
4 weeks 5 days ago
6 weeks 1 day ago
7 weeks 3 days ago
7 weeks 3 days ago