Versions in this module Expand all Collapse all v0 v0.0.0 Jul 16, 2023 Changes in this version + var KindTreeBranch = ast.NewNodeKind("TreeBranch") + type Tree struct + Doc TreeBranch + Source []byte + func GoldmarkToTree(doc ast.Node, source []byte) (Tree, error) + type TreeBranch struct + Level int + TreeParent *TreeBranch + func NewTreeBranch(heading *ast.Heading, parent *TreeBranch) *TreeBranch + func NewTreeBranchRoot() *TreeBranch + func (n *TreeBranch) Dump(source []byte, level int) + func (n *TreeBranch) Kind() ast.NodeKind