github.com/yuin/goldmark/ast.BaseNode.SetAttribute (method)
4 uses
github.com/yuin/goldmark/ast (current package)
ast.go#L387: func (n *BaseNode) SetAttribute(name []byte, value interface{}) {
ast.go#L404: n.SetAttribute(util.StringToReadOnlyBytes(name), value)
github.com/yuin/goldmark/parser
atx_heading.go#L133: node.SetAttribute(attr.Name, attr.Value)
atx_heading.go#L200: node.SetAttribute(attrNameID, headingID)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |