Metadata parsing doesn't seem to work for me at all in ClojureScript on NodeJS and markdown-clj 1.10.5:
(require '[markdown.core :as m])
(def markdown "# This is a test\nsome code follows\n```clojure\n(defn foo [])\n```")
(m/md->html markdown)
;; => "<h1>This is a test</h1><p>some code follows<pre><code class=\"clojure\">(defn foo [])\n</code></pre></p>"
(m/md->html-with-meta markdown)
;; => {:metadata nil, :html ""}
I didn't see anything in the README that suggested that metadata can't be parsed in ClojureScript, and it's odd that the function is available and simple returns empty data.
Am I doing something wrong, or is this unimplemented?
Metadata parsing doesn't seem to work for me at all in ClojureScript on NodeJS and
markdown-clj
1.10.5:I didn't see anything in the README that suggested that metadata can't be parsed in ClojureScript, and it's odd that the function is available and simple returns empty data.
Am I doing something wrong, or is this unimplemented?