Created
March 27, 2012 17:42
-
-
Save adambard/2218289 to your computer and use it in GitHub Desktop.
Quick pegdown demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns pegdown-test | |
(:import org.pegdown.PegDownProcessor)) | |
(defn markdown-to-html [md] | |
(let [pd (PegDownProcessor.)] | |
(.markdownToHtml pd md))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment