Documentation
¶
Index ¶
- func ExtractPreTOC(doc *document.Document, headings []string)
- func ExtractSections(doc *document.Document)
- func GenerateFigureTable(doc *document.Document, heading string)
- func InlineFootnotes(doc *document.Document)
- func MarkNoNumber(doc *document.Document, exclude []string)
- func NumberReferences(doc *document.Document, biblioHeading, sitoHeading string)
- func Parse(data []byte) (*document.Document, error)
- func ParseFile(path string) (*document.Document, error)
- func ProcessFigures(doc *document.Document)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPreTOC ¶ added in v0.0.5
func ExtractSections ¶ added in v0.0.5
ExtractSections splits doc.Body by h2 headings and populates doc.Sections. Each section contains the rendered HTML between two consecutive h2s, and a parsed Table if a Markdown table is present.
func GenerateFigureTable ¶ added in v0.0.5
func InlineFootnotes ¶ added in v0.0.5
func MarkNoNumber ¶ added in v0.0.5
func NumberReferences ¶ added in v0.0.5
func ProcessFigures ¶ added in v0.0.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.