Versions in this module Expand all Collapse all v1 v1.0.2 Nov 2, 2026 v1.0.1 Sep 1, 2026 Changes in this version + var GithubAlertIcons = map[string]string + var GithubAlertKinds = []string + var HTMLRenderer = NewHTMLRenderer() + var KindAlert = ast.NewNodeKind("Alert") + var Parser = NewParser() + func NewHTMLRenderer(opts ...HTMLRendererOption) html.Extension + func NewParser(opts ...ParserOption) parser.Extension + type Alert struct + AlertKind text.SingleLineValue + Title text.SingleLineValue + func NewAlert(kind text.SingleLineValue, opts ...Option) *Alert + func (n *Alert) DisplayTitle(source []byte) string + func (n *Alert) Dump(_ []byte) *ast.NodeDump + func (n *Alert) Kind() ast.NodeKind + type HTMLRendererOption func(*htmlRendererConfig) + func WithAlertIcons(icons map[string]string) HTMLRendererOption + type Option func(*Alert) + func WithTitle(title text.SingleLineValue) Option + type ParserOption func(*parserConfig) + func WithAlertKinds(kinds ...string) ParserOption + func WithAllowsNested(allowsNested ...bool) ParserOption