toc

package
v1.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Level int
	Text  string
	ID    string
}

type Plugin

type Plugin struct{}

func (*Plugin) Commands

func (p *Plugin) Commands() []plugins.Command

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) OnAssets

func (p *Plugin) OnAssets(ctx *renderer.ViewData, assetSet *renderer.AssetSet) error

func (*Plugin) OnContext

func (p *Plugin) OnContext(ctx *renderer.ViewData) error

func (*Plugin) OnDocumentParsed

func (p *Plugin) OnDocumentParsed(doc *content.Document) error

func (*Plugin) OnHTMLSlots

func (p *Plugin) OnHTMLSlots(ctx *renderer.ViewData, slots *renderer.Slots) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL