Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2026 Changes in this version + type Alert struct + Body string + Kind string + type Align int + const AlignCenter + const AlignDefault + const AlignLeft + const AlignRight + type Block struct + Alert *Alert + Image *Image + Kind BlockKind + Lang string + Table *Table + Text string + func Segment(src string) []Block + type BlockKind int + const BlockAlert + const BlockCode + const BlockImage + const BlockMarkdown + const BlockTable + type FrontMatter struct + Pairs [][2]string + func SplitFrontMatter(src string) (*FrontMatter, string) + type Image struct + Alt string + Dest string + Remote bool + func (im Image) Resolve(docDir string) string + type Section struct + Level int + Source string + Title string + func SplitByHeadings(src string) []Section + type Table struct + Aligns []Align + Headers []string + Rows [][]string