This is a brush used to provide syntax highlighting for Clojure with the popular SyntaxHighlighter library. It is intended as a drop-in replacement of the brush developed by Travis Whitton.


The key features of this brush include highlighting:


In order to use this brush, you simply need to load the shBrushClojure.js script along with the other SyntaxHighlighter files loaded by your web page. For more information, see the official installation instructions.


Unfortunately, the brush is not perfect and does not support any of the following:


Version 0.9.1 (10 April 2010)

Version 0.9 (7 April 2010)


I welcome any feedback or patches. The latest news about sh-clojure is available from the sh-clojure page on Deep Blue Lambda. The source for sh-clojure is available from GitHub.


Copyright © 2010 Sattvik Software & Technology Resources, Ltd. Co.

sh-clojure may be used under the terms of either the GNU Lesser General Public License (LGPL) or the Eclipse Public License (EPL). As a recipient of sh-clojure, you may choose which license to receive the code under. See the LICENSE file distributed with sh-clojure for details.

GNU Lesser General Public License

sh-clojure is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

sh-clojure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with sh-clojure. If not, see

Eclipse Public License

This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at