github.com/yuin/goldmark/text.Segments.Set (method)
4 uses
github.com/yuin/goldmark/text (current package)
segment.go#L186: func (s *Segments) Set(i int, v Segment) {
github.com/yuin/goldmark/extension
table.go#L176: node.Lines().Set(i-2, last)
github.com/yuin/goldmark/parser
atx_heading.go#L241: node.Lines().Set(lastIndex, lastLine)
paragraph.go#L57: node.Lines().Set(length-1, lastLine.TrimRightSpace(reader.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. |