wood burning stoves
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: 415

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
This one: http://alexgorbatchev.com/SyntaxHighlighter/
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 415

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
If the examples on the site don't work, then you can always check out how it's integrated here :-)
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Syntax highlighter for Programming blog
 
jQuery in Action, 3rd edition