func github.com/yuin/goldmark/ast.NewTextSegment
10 uses
github.com/yuin/goldmark/ast (current package)
inline.go#L174: func NewTextSegment(v textm.Segment) *Text {
inline.go#L201: parent.AppendChild(parent, NewTextSegment(s))
inline.go#L213: parent.ReplaceChild(parent, n, NewTextSegment(s))
github.com/yuin/goldmark/extension
footnote.go#L179: parent.AppendChild(parent, gast.NewTextSegment(text.NewSegment(segment.Start, segment.Start+1)))
linkify.go#L278: n := ast.NewTextSegment(text.NewSegment(start, start+m[1]))
github.com/yuin/goldmark/parser
auto_link.go#L39: value := ast.NewTextSegment(text.NewSegment(segment.Start+1, segment.Start+stop))
code_span.go#L36: return ast.NewTextSegment(startSegment.WithStop(startSegment.Start + opener))
fcode_block.go#L61: info = ast.NewTextSegment(text.NewSegment(infoStart, infoStop))
link.go#L376: s.Parent().ReplaceChild(s.Parent(), s, ast.NewTextSegment(s.Segment))
parser.go#L1212: text := ast.NewTextSegment(rest.TrimRightSpace(source))
 |
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. |