• Post Reply Bookmark Topic Watch Topic
  • New Topic

add java programming syntax in html  RSS feed

 
Ramesh Sengani
Ranch Hand
Posts: 36
  • 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
Saloon Keeper
Posts: 3893
91
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!