Skip to main content

Module render

Module render 

Source
Expand description

Rendering tasks and agendas as markdown or HTML.

These functions produce the text the CLI writes to --output; embedders that build their own UI can ignore them and read the structures directly. Headings are sanitised here: characters that render as nothing but reorder or hide surrounding text are dropped rather than passed through.

Functionsยง

render_days_html
Render day agendas as HTML
render_days_markdown
Render day agendas as Markdown
render_html
Render tasks as HTML
render_markdown
Render tasks as Markdown