*
The moose likes Ranch Office and the fly likes Syntax highlighter for Programming blog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Syntax highlighter for Programming blog" Watch "Syntax highlighter for Programming blog" New topic
Author

Syntax highlighter for Programming blog

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 410

Hi All,

I am working on a blog. So wanted to check what kind of Syntax highlight JavaRanch is using to highlight code samples?


Pawan Chopra
SCJP - DuMmIeS mInD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41132
    
  45
This one: http://alexgorbatchev.com/SyntaxHighlighter/


Ping & DNS - my free Android networking tools app
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 410

Ya, I tried it. But its not working for me. May I am doing something wrong. I just created pre tag and put complete code there. and then put a class "brush: java". But it's not highlighting my code.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41132
    
  45
If the examples on the site don't work, then you can always check out how it's integrated here :-)
 
 
subject: Syntax highlighter for Programming blog
 
Similar Threads
Eclipse beginner question - how to add .jsp / .xml etc. to project ?
JSP Preview plug in with Eclipse
FREE javascript editor ?
JTextPane and creating reserved words
Blog advice