support for ref links

fixes https://github.com/lacarmen/cryogen/issues/39
This commit is contained in:
Dmitri Sotnikov 2014-12-24 16:53:25 -05:00
parent 7184295160
commit f43b751cfd

View file

@ -78,6 +78,7 @@
(->> (java.io.BufferedReader. rdr) (->> (java.io.BufferedReader. rdr)
(line-seq) (line-seq)
(s/join "\n")) (s/join "\n"))
:reference-links? true
:heading-anchors true :heading-anchors true
:replacement-transformers (conj transformer-vector (partial rewrite-hrefs config)))) :replacement-transformers (conj transformer-vector (partial rewrite-hrefs config))))