Skip to content

hashobject/pygmenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygmenter

A Clojure wrapper for Pygments (syntax highlighter).

Implemented using following documentation and code sample.

Build Status Dependencies Status Downloads

Install

[pygmenter "0.1.1"]

Usage

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\">&#39;Hello world!&#39;</span><span class=\"p\">))</span>\n</pre></div>

Contributions

We love contributions. Please submit your pull requests.

License

Copyright © 2013-2015 Hashobject Ltd (team@hashobject.com).

Distributed under the Eclipse Public License.

About

Clojure wrapper for Pygments (code highlighter).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published