I usually have all doc-comments formatted as slash-slash-tab-comment:
// Doc goes here, after slash-slash-tab
//
// Another doc-comment line
package somepkg
This very first tab per line should not make it into the resulting mark-down output, so as to avoid "code formatting" for such comments. godocdown does strip this properly for funcs, types, methods, but not for the package clause, it seems?
I usually have all doc-comments formatted as slash-slash-tab-comment:
This very first tab per line should not make it into the resulting mark-down output, so as to avoid "code formatting" for such comments. godocdown does strip this properly for funcs, types, methods, but not for the
package
clause, it seems?Or maybe this is a
go/doc
issue, not sure..