func github.com/yuin/goldmark/ast.IsParagraph
8 uses
github.com/yuin/goldmark/ast (current package)
block.go#L154: func IsParagraph(node Node) bool {
github.com/yuin/goldmark/extension
footnote.go#L227: if fc := container.LastChild(); fc != nil && gast.IsParagraph(fc) {
github.com/yuin/goldmark/parser
html_block.go#L138: } else if tagName != "script" && tagName != "style" && tagName != "pre" && !ast.IsParagraph(last) && !(isCloseTag && hasAttr) { // type 7 can not interrupt paragraph
list.go#L140: if ast.IsParagraph(last) && last.Parent() == parent {
list.go#L195: if ast.IsParagraph(last) {
parser.go#L914: continuable = ast.IsParagraph(lastBlock.Node)
parser.go#L1074: if !ast.IsParagraph(be.Node) {
setext_headings.go#L89: if next == nil || !ast.IsParagraph(next) {
![]() |
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. |