File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 413

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: 42934
    
  68
This one: http://alexgorbatchev.com/SyntaxHighlighter/
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 413

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: 42934
    
  68
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