github.com/yuin/goldmark/ast.BaseBlock.Lines (method)
31 uses
github.com/yuin/goldmark/ast (current package)
block.go#L38: func (b *BaseBlock) Lines() *textm.Segments {
block.go#L465: for i := 0; i < n.Lines().Len(); i++ {
block.go#L466: s := n.Lines().At(i)
github.com/yuin/goldmark/extension
definition_list.go#L130: lines := para.Lines()
definition_list.go#L135: term.Lines().Append(segment.TrimRightSpace(reader.Source()))
definition_list.go#L160: textBlock.SetLines(paragraph.Lines())
table.go#L150: lines := node.Lines()
table.go#L169: node.Lines().SetSliced(0, i-1)
table.go#L171: if node.Lines().Len() == 0 {
table.go#L174: last := node.Lines().At(i - 2)
table.go#L176: node.Lines().Set(i-2, last)
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))
atx_heading.go#L194: lastIndex := node.Lines().Len() - 1
atx_heading.go#L196: lastLine := node.Lines().At(lastIndex)
code_block.go#L34: node.Lines().Append(segment)
html_block.go#L153: node.Lines().Append(segment)
html_block.go#L161: lines := htmlBlock.Lines()
link_ref.go#L17: lines := node.Lines()
list.go#L239: textBlock.SetLines(paragraph.Lines())
paragraph.go#L30: node.Lines().Append(segment)
setext_headings.go#L71: node.Lines().Append(segment)
setext_headings.go#L83: heading.Lines().Clear()
setext_headings.go#L86: if tmp.Lines().Len() == 0 {
setext_headings.go#L91: para.Lines().Append(segment)
setext_headings.go#L98: heading.SetLines(tmp.Lines())
github.com/yuin/goldmark/renderer/html
html.go#L296: l := n.Lines().Len()
html.go#L298: line := n.Lines().At(i)
golang.org/x/pkgsite/internal/frontend
goldmark.go#L122: l := n.Lines().Len()
goldmark.go#L124: line := n.Lines().At(i)
![]() |
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. |