parser

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxMentionLength matches the username token length accepted by the API.
	MaxMentionLength = 32
)
View Source
const (
	// MaxTagLength defines the maximum number of runes allowed in a tag.
	MaxTagLength = 100
)

Variables

This section is empty.

Functions

func NewMentionParser

func NewMentionParser() parser.InlineParser

NewMentionParser creates a new inline parser for @mention syntax.

func NewTagParser

func NewTagParser() parser.InlineParser

NewTagParser creates a new inline parser for #tag syntax.

Types

This section is empty.

Jump to

Keyboard shortcuts

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