This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41078
    
  43
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: 41078
    
  43
If the examples on the site don't work, then you can always check out how it's integrated here :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
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