Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultLayoutURL = "base://document.html"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LayoutOptionFunc ¶
type LayoutOptionFunc func(opts *LayoutOptions)
func WithLayout ¶
func WithLayout(rawURL string) LayoutOptionFunc
func WithVar ¶
func WithVar(key string, value any) LayoutOptionFunc
func WithVars ¶
func WithVars(vars map[string]any) LayoutOptionFunc
type LayoutOptions ¶
func NewLayoutOptions ¶
func NewLayoutOptions(funcs ...LayoutOptionFunc) *LayoutOptions
Click to show internal directories.
Click to hide internal directories.