On Friday, April 19, 2013 3:16:58 AM UTC-4, Tassilo Horn wrote:
>
>
> > I think the final output would look better if you assumed the 
> > docstrings themselves were markdown-formatted and rendered them as 
> > html. (That is, only have the items under "Arglists" in a preformatted 
> > block --- everything else would be html.) 
>
> Hm, that sounds like a good idea.  Is there some clojure lib that takes 
> a markdown-formatted string and returns plain HTML5 code? 
>
>
Well, there's <https://github.com/yogthos/markdown-clj>, which I think is 
actively maintained, though I've not used it.

I think it would be great if I could tell lein-html5-docs: "treat 
docstrings as markdown, render them as html, and shell out to Pandoc [^1] 
to do it". 

[^1]: Pandoc supports some niceties I've gotten pretty used to, like 
tables, definition lists, deeply-nested lists, and LaTeX math.

---John

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to