Expand description
A page, rendered in two phases. The content phase turns one file’s
Markdown into Rendered: its HTML and every link it holds, by file and
line. The preview and devpage check judge that, and the frame phase puts
it inside its document’s frame — a site’s page, a doc, a deck — with the
problems found listed above it. ids answers which ids a link into
another page can land on, from that page’s content phase, without
building its frame. Also the canvas
page, a design alone in the window, and the page of a document file that
can’t be loaded.
Structs§
- Link
- A link the content holds: what it names as written — an
href, asrc, or a design the Markdown embeds — the file it is written in, and the line, when its text is found in the file. - Rendered
- One file’s content as its page shows it.
Functions§
- canvas
- The canvas page for the design at
pathinserved: the design fills the window, drawn by the design script — inthemewhen the address names one, set before the page paints and never remembered. - content
file’s content fromsource, the tags ofwidgetsexpanded first.- doc
- A doc: every chapter’s
renderedcontent on one page, in order, with an outline of the chapters’ headings beside them. In print mode the outline and the live connection are left out and the page size is the doc’s paper. - escape
- The one HTML escape, for the binary’s own HTML.
textsafe in HTML: in an element’s text and in a double-quoted attribute value. - extension
- A page an extension’s program wrote,
renderedat the address it is shown at, in the frame ofdocument, which binds the extension: a site’s page, or — for any other document — a doc of that one chapter, as a Markdown file alone is drawn. Its content’s source issource, the page as its extension names it. It shows no comments, which belong to files, and lists no problems. - generated
- A page the site
documentmakes from something other than a file of its own — a code reference’s —renderedat the address it is shown at, and the sidebar open atcurrent: the page itself, or the nearest page above it the sidebar lists — listingfoundabove it. It shows no comments, which belong to files. - ids
- Every id a link’s
#fragmentintofilecan land on, as its page renders them: the ids of the content phase, the tags of its document’s widgets expanded, read throughmodules— without building the frame. A Markdown file’s are its content’s, as the document it is shown in renders it; a doc’s are its chapters’, each prefixed with its chapter’s name when there is more than one, and the chapters’ own names. Anything else has none. - invalid
- A document file that can’t be loaded: a page listing what is wrong with
it —
Nonefor a file outside the served folder, which is never shown. - missing
- The site
document’s page for an address with nothing at it,renderedfrom the site’s404.md. Shown at that address, not its own, so its relative links are pointed at their served addresses; it shows no comments and lists no problems —devpage checkreports its own. - nothing_
at - devpage’s own page for
address, with nothing at it, when the sitedocumenthas no404.md: in the site’s frame, as its404.mdwould be, offeringmeant— the address it most likely meant — and the site’s root. - nothing_
at_ alone - devpage’s own page for
asked, an address with nothing at it, outside any site: alone, in the theme ofentry, the served document, offeringmeantand where/leads. - page
- The whole page for one Markdown file of the site
document: navigation, the file’srenderedcontent and the scripts that mount its widgets and keep it live.commentsis whether comments are on;foundis the page’s problems, listed above it. The navbar and the sidebar are drawn from one navigation tree, built once for the page.Nonefor a file outside the served folder, which is never shown. - read
file’s content as read from the disk now; a file that can’t be read has none.- shown_
by - The file of the document a Markdown file is shown in, unloaded: its nearest site’s document file, or in no site the file itself.
- shown_
in - The document a Markdown file is shown in at its own address: its nearest
site; in no site, the file alone, as a doc of one chapter.
Nonewhen its site can’t be read: its page then shows why, and none of the file. - slides
- A deck: every slide’s
renderedcontent on its own 1920 × 1080 stage, scaled to the window as a whole, one shown at a time. In print mode each slide is one 16:9 page. - workspace
- A package workspace uses the ordinary site frame and React lifecycle, with the available content area allocated to the tool instead of an article.