github.com/yuin/goldmark/text.Segments.Append (method)
17 uses
github.com/yuin/goldmark/text (current package)
segment.go#L157: func (s *Segments) Append(t Segment) {
github.com/yuin/goldmark/extension
definition_list.go#L135: term.Lines().Append(segment.TrimRightSpace(reader.Source()))
table.go#L235: node.Lines().Append(seg)
github.com/yuin/goldmark/parser
atx_heading.go#L135: node.Lines().Append(text.NewSegment(segment.Start+start+1-segment.Padding, segment.Start+closureOpen-segment.Padding))
atx_heading.go#L156: node.Lines().Append(text.NewSegment(segment.Start+start-segment.Padding, segment.Start+stop-segment.Padding))
code_block.go#L34: node.Lines().Append(segment)
code_block.go#L43: node.Lines().Append(segment.TrimLeftSpaceWidth(4, reader.Source()))
code_block.go#L58: node.Lines().Append(segment)
fcode_block.go#L97: node.Lines().Append(seg)
html_block.go#L153: node.Lines().Append(segment)
html_block.go#L213: node.Lines().Append(segment)
paragraph.go#L30: node.Lines().Append(segment)
paragraph.go#L41: node.Lines().Append(segment)
raw_html.go#L66: node.Segments.Append(segment.WithStop(segment.Start + match[1]))
raw_html.go#L92: node.Segments.Append(text.NewSegment(start, end))
setext_headings.go#L71: node.Lines().Append(segment)
setext_headings.go#L91: para.Lines().Append(segment)
![]() |
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. |