package hugocontext
import "github.com/gohugoio/hugo/markup/goldmark/hugocontext"
Index ¶
Functions ¶
func New ¶
func Wrap ¶
Wrap wraps the given byte slice in a Hugo context that used to determine the correct Page in .RenderShortcodes.
Types ¶
type HugoContext ¶
type HugoContext struct { ast.BaseInline Closing bool // Internal page ID. Not persisted. Pid uint64 }
HugoContext is a node that represents a Hugo context.
func (*HugoContext) Dump ¶
func (n *HugoContext) Dump(source []byte, level int)
Dump implements Node.Dump.
func (*HugoContext) Kind ¶
func (h *HugoContext) Kind() ast.NodeKind
Source Files ¶
- Version
- v0.134.0
- Published
- Sep 3, 2024
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 20 minutes ago –
Tools for package owners.