Export Your Source code in HTML format
2 posters
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Export Your Source code in HTML format
- Why do you need this?:
You need this because if you export your source code to html, it will automatically insert all the color codes, and you can use the html code in any web page. The source will be automatically coloured!
In ubuntu, I am going to show you the terminal way
1. code2html:
Just install this package:
- Code:
sudo apt-get install code2html
now, go to the directory of your source code, and execute this command in terminal:
- Code:
code2html <source_code_file> <output_file>.html
and you are done!
2. TOhtml in Vim:
(if you do not understand these instructions, you probably don't know how to use vim! learn using that first.)
Vim is one of the most popular editors of linux/unix. It offers many features.
just open your source code in vim, and go to command mode.
now just type :TOhtml
and Surprise! it prepared the html file for you instantly!!
Re: Export Your Source code in HTML format
Nice............
angel- Pre-Alpha Release
- Course(s) :
- N/A
Blood Group : NULL
Posts : 6
Points : 6
Similar topics
» What is source code in simple?
» Can anyone help me providing jdk source code
» Source lines of code
» Source code of observer pattern
» installing avro from source (64 or 32 bit)
» Can anyone help me providing jdk source code
» Source lines of code
» Source code of observer pattern
» installing avro from source (64 or 32 bit)
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford