Skip to main content

Module parser

Module parser 

Source
Expand description

Markdown to tasks: the extraction step itself.

A document is parsed with comrak, and every heading carrying an org-mode keyword (TODO, DONE, …) becomes a Task, together with the timestamp, priority and clock entries found in its body.

Structs§

HeadingLine
A heading line as it sits in a file, located token by token.
HeadingToken
A token found on a heading line, with the byte range it occupies.

Functions§

display_text
The text of a markdown fragment as the agenda shows it, with the inline markup taken off.
extract_tasks
Extract tasks from markdown content with a per-call warning budget.
extract_tasks_with_counter
Extract tasks from markdown content with a caller-owned warning counter.
parse_heading_line
Locate the parts of a heading line, or return None when line is not a heading.