IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Export Your Source code in HTML format

2 posters

Go down

Export Your Source code in HTML format Empty Export Your Source code in HTML format

Post by BIT0122-Amit Wed Nov 17, 2010 3:11 pm

Why do you need this?:

In ubuntu, I am going to show you the terminal way Very Happy

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!!
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Export Your Source code in HTML format Empty Re: Export Your Source code in HTML format

Post by angel Wed Jan 12, 2011 9:43 pm

Nice............

angel
Pre-Alpha Release
Pre-Alpha Release

Course(s) :
  • N/A

Blood Group : NULL
Posts : 6
Points : 6

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum