parser

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ScrollAnchor = "mpls-scroll-anchor"

Variables

View Source
var (
	CodeHighlightingStyle string
	EnableWikiLinks       bool

	EnableFootnotes bool
	EnableEmoji     bool
)

Functions

func HTML

func HTML(document, uri string) (string, map[string]any)

func NormalizePath added in v0.14.0

func NormalizePath(uri string) string

Types

type ScrollIDTransformer added in v0.15.0

type ScrollIDTransformer struct{}

func (*ScrollIDTransformer) Transform added in v0.15.0

func (t *ScrollIDTransformer) Transform(doc *ast.Document, reader text.Reader, _ parser.Context)

Jump to

Keyboard shortcuts

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