Skip to main content

parse

Function parse 

Source
pub fn parse(src: &str) -> TaskFile
Expand description

Parse a markdown task file. It is line-based (no CommonMark dependency): a heading starts a job, the first fenced block under it is the script, and Key: value lines set metadata. Parsing is infallible; problems are reported in TaskFile::warnings rather than dropped to silence. CRLF endings are normalized.