github.com/yuin/goldmark/ast.Heading.Level (field)
12 uses
github.com/yuin/goldmark/ast (current package)
block.go#L164: Level int
block.go#L170: "Level": fmt.Sprintf("%d", n.Level),
block.go#L187: Level: level,
github.com/yuin/goldmark/renderer/html
html.go#L231: _ = w.WriteByte("0123456"[n.Level])
html.go#L238: _ = w.WriteByte("0123456"[n.Level])
golang.org/x/pkgsite/internal/frontend
goldmark.go#L92: r.offset = 3 - n.Level
goldmark.go#L95: newLevel := n.Level + r.offset
goldmark.go#L97: if n.Level > 6 {
goldmark.go#L98: _, _ = w.WriteString(fmt.Sprintf(`<div class="h%d" role="heading" aria-level="%d"`, newLevel, n.Level))
goldmark.go#L100: _, _ = w.WriteString(fmt.Sprintf(`<h%d class="h%d"`, newLevel, n.Level))
goldmark.go#L107: if n.Level > 6 {
goldmark.go#L300: Level: heading.Level,
 |
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. |