Versions in this module Expand all Collapse all v1 v1.0.1 Apr 17, 2026 v1.0.0 Apr 16, 2026 Changes in this version + type Hook struct + Fn func(ctx *HookContext) error + Name string + Point HookPoint + type HookConfig struct + Append string + Command string + Point string + Prepend string + Replace []ReplaceRule + type HookContext struct + Content string + FilePath string + Format string + Metadata map[string]interface{} + Theme string + Width int + type HookPoint int + const HookAfterIndex + const HookAfterRender + const HookBeforeIndex + const HookBeforeRender + const HookOnNavigate + type PluginConfig struct + Description string + Hooks []HookConfig + Name string + type Registry struct + func LoadPlugins(configDir string) (*Registry, error) + func NewRegistry() *Registry + func (r *Registry) Register(hook Hook) + func (r *Registry) Run(point HookPoint, ctx *HookContext) error + type ReplaceRule struct + New string + Old string