func github.com/yuin/goldmark/util.IndentPosition
8 uses
github.com/yuin/goldmark/util (current package)
util.go#L151: func IndentPosition(bs []byte, currentPos, width int) (pos, padding int) {
github.com/yuin/goldmark/extension
definition_list.go#L84: pos, padding := util.IndentPosition(line, reader.LineOffset(), list.Offset)
definition_list.go#L140: cpos, padding := util.IndentPosition(line[pos+1:], pos+1, list.Offset-pos-1)
footnote.go#L78: childpos, padding := util.IndentPosition(line, reader.LineOffset(), 4)
github.com/yuin/goldmark/parser
code_block.go#L27: pos, padding := util.IndentPosition(line, reader.LineOffset(), 4)
code_block.go#L46: pos, padding := util.IndentPosition(line, reader.LineOffset(), 4)
list_item.go#L47: pos, padding := util.IndentPosition(line[match[4]:], match[4], itemOffset)
list_item.go#L71: pos, padding := util.IndentPosition(line, reader.LineOffset(), offset)
 |
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. |