goreadme
goreadme copied to clipboard
internal/markdown/comment.go: consider exposing whole package or ToMarkdown
Would be useful to be able to import and use ToMarkdown
as defined in here https://github.com/posener/goreadme/blob/master/internal/markdown/comment.go#L284.
Might be helpful to just the internal package
altogether. Not sure...
Hi, Sorry for the long delay.
Totally agree. Actually, if you look at the first line in this file, I copied and modified this code from the go source code file: https://github.com/golang/go/blob/master/src/go/doc/comment.go
The original code has ToText and ToHTML converters. I needed a markdown converter.
WDYT?
Hi, plan to use it to resolve this issue https://github.com/saibing/bingo/issues/69.