This Go module contains a package that converts markdown content to html.
The API is simple:
var input io.Reader // The input data, possibly as a file, or buffer, etc.
var output bytes.Buffer
n, err := mdw.Convert(&output, input)
if err != nil {
panic(err)
}
fmt.Println(n, "bytes read")
fmt.Println(output.String())