aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes add java programming syntax in html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "add java programming syntax in html" Watch "add java programming syntax in html" New topic
Author

add java programming syntax in html

Ramesh Sengani
Ranch Hand

Joined: Nov 23, 2011
Posts: 36
I am working in tutorial site where i want to show Java examples in html page.It will show Java code in html like string in blue,variable in green etc. I tried by watching other sites, but its really hard to implement that manually.

Is that any pre-build css available to simply my work. where i can write code in java and they convert that in html sytax?.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Several such JavaScript libraries are available; check out this one: http://alexgorbatchev.com/SyntaxHighlighter/
Ramesh Sengani
Ranch Hand

Joined: Nov 23, 2011
Posts: 36
Thanks Dude...I got what i need ....................Thank you very mach............and thansk to Coderanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: add java programming syntax in html