No description
- Go 100%
| ast.go | ||
| extend.go | ||
| extend_test.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| parser.go | ||
| README.md | ||
| render.go | ||
goldmark-inline-attributes
GoldMark inline attributes extension.
[Attention]{.underline} some text
<p><span class="underline">Attention</span> some text</p>
var md = goldmark.New(attributes.Enable)
var source = []byte("[Text]{#id .class1}\nother text")
err := md.Convert(source, os.Stdout)
if err != nil {
log.Fatal(err)
}