package render
import "github.com/gohugoio/hugo/markup/goldmark/internal/render"
Index ¶
- type BufWriter
- func (b *BufWriter) Available() int
- func (b *BufWriter) Buffered() int
- func (b *BufWriter) Flush() error
- type Context
- func (ctx *Context) PeekPid() uint64
- func (ctx *Context) PopPid() uint64
- func (ctx *Context) PopPos() int
- func (ctx *Context) PushPid(pid uint64)
- func (ctx *Context) PushPos(n int)
- type ContextData
- type RenderContextDataHolder
Types ¶
type BufWriter ¶
func (*BufWriter) Available ¶
func (*BufWriter) Buffered ¶
func (*BufWriter) Flush ¶
type Context ¶
type Context struct { *BufWriter ContextData // contains filtered or unexported fields }
func (*Context) PeekPid ¶
PeekPid returns the current page ID without removing it from the stack.
func (*Context) PopPid ¶
PopPid pops the last page ID from the stack.
func (*Context) PopPos ¶
func (*Context) PushPid ¶
PushPid pushes a new page ID to the stack.
func (*Context) PushPos ¶
type ContextData ¶
type ContextData interface { RenderContext() converter.RenderContext DocumentContext() converter.DocumentContext }
type RenderContextDataHolder ¶
type RenderContextDataHolder struct { Rctx converter.RenderContext Dctx converter.DocumentContext }
func (*RenderContextDataHolder) DocumentContext ¶
func (ctx *RenderContextDataHolder) DocumentContext() converter.DocumentContext
func (*RenderContextDataHolder) RenderContext ¶
func (ctx *RenderContextDataHolder) RenderContext() converter.RenderContext
Source Files ¶
- Version
- v0.125.5
- Published
- May 1, 2024
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 14 hours ago –
Tools for package owners.