parser

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	CodeHighlightingStyle string
	EnableWikiLinks       bool
	WorkspaceRoot         string

	EnableFootnotes bool
	EnableEmoji     bool
)

Functions

func CleanupDocumentContent added in v0.17.1

func CleanupDocumentContent(uri string)

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 LinkResolverTransformer added in v0.17.0

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

func (*LinkResolverTransformer) Transform added in v0.17.0

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

type ScrollIDTransformer added in v0.15.0

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

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