func github.com/yuin/goldmark/util.IsBlank
24 uses
github.com/yuin/goldmark/util (current package)
util.go#L118: func IsBlank(bs []byte) bool {
github.com/yuin/goldmark/ast
inline.go#L301: if !util.IsBlank(text.Value(source)) {
github.com/yuin/goldmark/extension
definition_list.go#L76: if util.IsBlank(line) {
footnote.go#L59: if util.IsBlank(label) {
footnote.go#L75: if util.IsBlank(line) {
table.go#L251: if util.IsBlank(cols[0]) {
table.go#L254: if len(cols) > 0 && util.IsBlank(cols[len(cols)-1]) {
github.com/yuin/goldmark/parser
atx_heading.go#L130: parsed = ok && util.IsBlank(rest)
atx_heading.go#L236: if ok && util.IsBlank(line[end.Start:]) {
code_block.go#L28: if pos < 0 || util.IsBlank(line) {
code_block.go#L42: if util.IsBlank(line) {
code_block.go#L70: if util.IsBlank(line.Value(source)) {
code_span.go#L55: if !util.IsBlank(line) {
fcode_block.go#L85: if length >= fdata.length && util.IsBlank(line[i:]) {
html_block.go#L209: if util.IsBlank(line) {
link.go#L236: if util.IsBlank(maybeReference) { // collapsed reference link
link_ref.go#L94: if util.IsBlank(label) {
link_ref.go#L103: isNewLine := line == nil || util.IsBlank(line)
link_ref.go#L147: if line != nil && !util.IsBlank(line) {
list.go#L88: if match[4] < 0 || util.IsBlank(source[match[4]:]) { // list item starts with a blank line
list.go#L162: if util.IsBlank(line) {
list_item.go#L55: if util.IsBlank(line) {
parser.go#L1071: blankLines = append(blankLines, lineStat{lineNum, i, util.IsBlank(line)})
github.com/yuin/goldmark/text
reader.go#L471: if util.IsBlank(line) {
![]() |
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. |