Clojure syntax highlight for web sites

282 views
Skip to first unread message

Ivan

unread,
Feb 28, 2010, 5:57:09 PM2/28/10
to Clojure
Hello All,

Do you happen to know of any JavaScript syntax highlighting library,
alike http://code.google.com/p/syntaxhighlighter/ or
http://code.google.com/p/google-code-prettify/, supporting Clojure and
not just Lisp. I've been trying to find one to no avail.

Cheers,
Ivan.

Saul Hazledine

unread,
Mar 1, 2010, 5:29:43 AM3/1/10
to Clojure
On Feb 28, 10:57 pm, Ivan <ivankob...@gmail.com> wrote:
> Do you happen to know of any JavaScript syntax highlighting library,
> alikehttp://code.google.com/p/syntaxhighlighter/orhttp://code.google.com/p/google-code-prettify/, supporting Clojure and

> not just Lisp. I've been trying to find one to no avail.

I don't know if it matches your needs but http://gist.github.com/
supports clojure.

Saul

Neill Alexander

unread,
Mar 1, 2010, 5:50:51 AM3/1/10
to Clojure
I use http://alexgorbatchev.com/wiki/SyntaxHighlighter plus the
Clojure highlighter listed at http://www.undermyhat.org/blog/2009/09/list-of-brushes-syntaxhighligher/

On Feb 28, 10:57 pm, Ivan <ivankob...@gmail.com> wrote:

> Hello All,
>
> Do you happen to know of any JavaScript syntax highlighting library,

> alikehttp://code.google.com/p/syntaxhighlighter/orhttp://code.google.com/p/google-code-prettify/, supporting Clojure and

Ivan

unread,
Mar 1, 2010, 1:42:15 AM3/1/10
to Clojure
OK, with a suggestion from Mike Meyer, I checked how Wordpress guys do
that. Turns out there is a custom Clojure brush for syntaxhighlighter.

Here's the original blog post:
http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html

Here's where you can download it from:
http://www.undermyhat.org/blog/2009/09/list-of-brushes-syntaxhighligher/

On Feb 28, 11:57 pm, Ivan <ivankob...@gmail.com> wrote:
> Hello All,
>
> Do you happen to know of any JavaScript syntax highlighting library,

> alikehttp://code.google.com/p/syntaxhighlighter/orhttp://code.google.com/p/google-code-prettify/, supporting Clojure and

Message has been deleted

Ivan

unread,
Mar 1, 2010, 6:19:06 AM3/1/10
to Clojure, Ivan Koblik
Saul and Neill,

Thank you both for the suggestions. I used SyntaxHighlighter before,
but I didn't know that there was a custom brush for Clojure. And I've
never known that github.com allows to embed snippets from the site!
Both approaches are equally good at solving my problem.

On Mar 1, 11:50 am, Neill Alexander <neillalexan...@gmail.com> wrote:
> I usehttp://alexgorbatchev.com/wiki/SyntaxHighlighterplus the
> Clojure highlighter listed athttp://www.undermyhat.org/blog/2009/09/list-of-brushes-syntaxhighligher/


>
> On Feb 28, 10:57 pm, Ivan <ivankob...@gmail.com> wrote:
>
>
>
> > Hello All,
>
> > Do you happen to know of any JavaScript syntax highlighting library,

> > alikehttp://code.google.com/p/syntaxhighlighter/orhttp://code.google.com/p..., supporting Clojure and

Reply all
Reply to author
Forward
0 new messages