Generating Markdown With godoc?

1,326 views
Skip to first unread message

crazy 2be

unread,
Jul 3, 2011, 12:46:52 AM7/3/11
to golan...@googlegroups.com
Is there any way to generate markdown using godoc? I often need this to update the READMEs for various packages I release, and my current solution is to copy-paste the plain text output from normal godoc and format it afterwards. However, this is annoying, time intensive, error prone, and likely to lag behind the implementation due to the additional time investment required.

The only idea I can think of is using https://github.com/garyburd/pkgdoc with a markdown template. Any other solutions to generate markdown from godoc?

crazy 2be

unread,
Jul 3, 2011, 2:04:35 PM7/3/11
to golan...@googlegroups.com
Awesome! That's exactly what I was looking for, and I've now moved all my packages to use it. +1 to you, good sir!

jimt

unread,
Jul 3, 2011, 4:57:00 PM7/3/11
to golan...@googlegroups.com
Seconded. Nice work!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages