Underline tag <u> or <ins> didn't interpret
rilysh opened this issue · 0 comments
rilysh commented
By default, markdown support underline by <u>
or <ins>
HTML tags. But for some reason, I can't able to use these tags with glamour. I'm not sure is this feature already implemented or not. Also, there is a kind of lack in documentation, so I can't be sure.
Steps to reproduce
package main
import (
"fmt"
"github.com/charmbracelet/glamour"
)
func main() {
msg := "<u>this supposed to be an underline, isn't it?</u>"
render, _ := glamour.Render(msg, "dark")
fmt.Println(render)
}
Expected Behavior
Like URLs, <u>
or <ins>
tag should represent that this is an underline text.
Actual Behavior
According to Markdown docs, this is the only standard way to do underline in Markdown. https://www.markdownguide.org/hacks/#underline