Versions in this module Expand all Collapse all v0 v0.4.0 Nov 9, 2023 Changes in this version + var DefaultBook = Book + func BooKTest() + func SetBook(b Book) + type Book struct + BasePath string + DraftChapters *LineNodes + NumberedChapter *LineNodes + PartChapters []*PartChapter + PrefixChapter *LineNodes + SuffixChapter *LineNodes + Title string + func (a *Book) AddNode(basePath, fullPath, title string) + func (a *Book) AddPart(title string) + func (a *Book) Markdown() *bytes.Buffer + type Line struct + BasePath string + IsNumber bool + IsSeparators bool + Path string + Title string + func (a *Line) GetPath() string + func (a *Line) LevelSpace() string + func (a *Line) LineString() string + func (a *Line) Markdown(buf *bytes.Buffer) + type LineList []*Line + type LineNode struct + LineNodes *LineNodes + func (a *LineNode) Markdown(buf *bytes.Buffer) + type LineNodes struct + List []*LineNode + func (a *LineNodes) GetNode(basePath string) *LineNode + func (a *LineNodes) GetNodes(basePath string) (list *LineNodes) + func (a *LineNodes) Markdown(buf *bytes.Buffer, level int, basePath string) + func (a *LineNodes) Sort() + type PartChapter struct + Parts *LineNodes + Title string + func (a *PartChapter) Markdown(buf *bytes.Buffer, level int, basePath string) + type PartChapters []*PartChapter