Versions in this module Expand all Collapse all v0 v0.28.0 Aug 25, 2026 Changes in this version + const MaxMarkdownDepth + var ErrMarkdownTooLarge = errors.New("article markdown: rendered output exceeds the size limit") + var ErrNilNode = errors.New("article markdown: nil HTML node") + var ErrUnsupportedContentType = errors.New("article mode requires HTML or Markdown content") + func Convert(root *html.Node) (string, error) + func ReadLimited(source io.Reader) ([]byte, error) + func Render(source []byte, contentType, pageURL string) ([]byte, error)