html

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractID

func ExtractID(heading string) string

ExtractID returns a properly formatted ID for a heading title

func GenerateTableOfContents

func GenerateTableOfContents(page *yunyun.Page) []yunyun.ListItem

GenerateTableOfContents generates a table of contents for a page.

Types

type ExporterHtml

type ExporterHtml struct {
	// Config is the configuration for the exporter.
	Config *alpha.DarknessConfig
}

ExporterHtml is the exporter for HTML.

func (ExporterHtml) Do

func (e ExporterHtml) Do(page *yunyun.Page) io.Reader

Jump to

Keyboard shortcuts

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