• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

add java programming syntax in html

 
Ramesh Sengani
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2502
14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Several such JavaScript libraries are available; check out this one: http://alexgorbatchev.com/SyntaxHighlighter/
 
Ramesh Sengani
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic