Books::SummaryParser
Inherits Reference / Object
Parses SUMMARY.md into a hierarchical chapter structure
Class methods
extract_description(content : String) : String
Extract description from SUMMARY.md (content between title and chapters)
parse(content : String) : Array(ChapterEntry)
Parse SUMMARY.md content and return array of root chapters