Skip to main content

Module markup

Module markup 

Source
Expand description

Reading a page’s Markdown as text, before it is rendered: its front matter, its title, its <Notes>, and the scanner that finds widget tags outside code. A leaf: it depends on nothing else in devpage, so documents, rendering, widgets and checking can all use it.

Structs§

Note
One <Notes> block: the line it starts on, its text, trimmed, as written, and its delivery attribute — how the narrator should sound saying it.

Constants§

NOTES
The tag a slide’s speaker notes are written in.

Functions§

notes
Each <Notes>…</Notes> block in a page’s Markdown, outside code and HTML comments, as found by [expand]. A <Notes> without its </Notes> runs to the end of the page.
split_front_matter
A page’s front matter’s YAML, and the page after it.
title
A page’s title: its first level-one heading, or its file name.