package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

CleanValue will clean a value to make it safe to be an id This function is quite different from the original goldmark function and more closely matches the output from the shurcooL sanitizer In particular Unicode letters and numbers are a lot more than a-zA-Z0-9...
NewFootnote returns a new Footnote node.
NewFootnoteASTTransformer returns a new parser.ASTTransformer that insert a footnote list to the last of the document.
NewFootnoteBackLink returns a new FootnoteBackLink node.
NewFootnoteBlockParser returns a new parser.BlockParser that can parse footnotes of the Markdown(PHP Markdown Extra) text.
NewFootnoteHTMLRenderer returns a new FootnoteHTMLRenderer.
NewFootnoteLink returns a new FootnoteLink node.
NewFootnoteList returns a new FootnoteList node.
NewFootnoteParser returns a new parser.InlineParser that can parse footnote links of the Markdown(PHP Markdown Extra) text.
NewLinkifyParser return a new InlineParser can parse text that seems like a URL.

# Variables

FootnoteExtension represents the Gitea Footnote.
KindFootnote is a NodeKind of the Footnote node.
KindFootnoteBackLink is a NodeKind of the FootnoteBackLink node.
KindFootnoteLink is a NodeKind of the FootnoteLink node.
KindFootnoteList is a NodeKind of the FootnoteList node.
Linkify is an extension that allow you to parse text that seems like a URL.

# Structs

A Footnote struct represents a footnote of Markdown (PHP Markdown Extra) text.
A FootnoteBackLink struct represents a link to a footnote of Markdown (PHP Markdown Extra) text.
FootnoteHTMLRenderer is a renderer.NodeRenderer implementation that renders FootnoteLink nodes.
A FootnoteLink struct represents a link to a footnote of Markdown (PHP Markdown Extra) text.
A FootnoteList struct represents footnotes of Markdown (PHP Markdown Extra) text.