glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Header reference prints the URL in the header

Open akshaybabloo opened this issue 3 years ago • 1 comments

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:

Screen Shot 2020-12-28 at 4 02 48 PM

is there a way to remove the URL from the header?

akshaybabloo avatar Dec 28 '20 03:12 akshaybabloo

Any update on this?

akshaybabloo avatar Feb 23 '21 19:02 akshaybabloo