A Clojure wrapper for Pygments (syntax highlighter).
Implemented using following documentation and code sample.
[pygmenter "0.1.1"]
user=> (use 'pygmenter.core)
nil
user=> (pygmentize "(defn [] (println 'Hello world!'))")
<div class=\"highlight\"><pre><span class=\"p\">(</span><span class=\"n\">defn</span> <span class=\"p\">[]</span> <span class=\"p\">(</span><span class=\"n\">println</span> <span class=\"s\">'Hello world!'</span><span class=\"p\">))</span>\n</pre></div>
We love contributions. Please submit your pull requests.
Copyright © 2013-2015 Hashobject Ltd ([email protected]).
Distributed under the Eclipse Public License.