class Vox::FrontMatter
- Vox::FrontMatter
- Reference
- Object
Defined in:
vox/front_matter.crConstant Summary
-
EMPTY_YAML =
Hash(YAML::Any, YAML::Any).new
Constructors
Class Method Summary
-
.split(text)
TODO handle carriage returns, whitespace after dashes
-
.split_file(path)
TODO handle file not found error
Instance Method Summary
-
#add(sources : Array(String))
TODO handle invalid ids (eg spaces)
- #pages : Hash(YAML::Any, YAML::Any)
- #pages_by_source : Hash(String, YAML::Any)
- #resolve_links(src : String)
- #resolve_links_obj(obj : YAML::Any)