glamour
glamour copied to clipboard
Header reference prints the URL in the header
The following code
package main
import (
"fmt"
"github.com/charmbracelet/glamour"
)
func main() {
in := `# [Hello World]
This is a simple example of glamour!
Check out the [other examples](https://github.com/charmbracelet/glamour/tree/master/examples).
Bye!
[Hello World]: https://github.com/charmbracelet/glamour
`
out, err := glamour.Render(in, "dark")
if err != nil {
panic(err)
}
fmt.Print(out)
}
Gives an output as:
is there a way to remove the URL from the header?
Any update on this?