Versions in this module Expand all Collapse all v0 v0.1.0 Aug 8, 2026 Changes in this version + func ToHTML(src string, opts *Options) string + type Node struct + Destination []byte + FirstChild *Node + Info []byte + LastChild *Node + Level int + Literal []byte + Next *Node + Parent *Node + Prev *Node + Title []byte + Type NodeType + func Parse(src string, opts *Options) *Node + type NodeType int + const BlockQuote + const Code + const CodeBlock + const Document + const Emphasis + const HTMLBlock + const HTMLInline + const Heading + const Image + const Item + const Linebreak + const Link + const List + const Paragraph + const Softbreak + const Strikethrough + const Strong + const Table + const TableCell + const TableRow + const Text + const ThematicBreak + type Options struct + Autolink bool + GitHubPreLang bool + HardBreaks bool + Strikethrough bool + Tables bool + TaskList bool + Unsafe bool