toc

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSlugID

func NewSlugID() parser.IDs

Types

type Head struct {
	Level int
	ID    string
	Text  string
}

type SlugID

type SlugID struct {
	// contains filtered or unexported fields
}

func (*SlugID) Generate

func (s *SlugID) Generate(value []byte, kind ast.NodeKind, level int) []byte

func (*SlugID) Heads

func (s *SlugID) Heads() []Head

func (*SlugID) Put

func (s *SlugID) Put(value []byte)

Jump to

Keyboard shortcuts

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