AtlatestRepositoryfolio

folio / tree / test / fixturesf1b-parity-folio.sgd

1#lang folio/doc
2@note["topics/f1b-parity" title: "Delegation parity"]{
3Bare prose at a block boundary, deliberately not wrapped in a command, because
4paragraph formation is the part of the grammar a profile is most likely to fork
5by accident and SD-P3 changed exactly this path. An inline @em{emphasis} and an
6inline @code{block-node?} sit mid-run, so the SD-P3 fold is exercised rather
7than assumed.
8
9@p{An explicit paragraph, holding @em{emphasis}, @code{inline code} and a
10reference to @ref["parity-anchor"]{an anchor declared below}, plus an external
11@url["https://codeberg.org/sigil/sigil-doc"]{link that leaves the publication}.}
13@anchor["parity-anchor"]{}
15@section["Nested structure" id: "parity-nested"]{
17@p{Πολύγλωσσο κείμενο: καλημέρα κόσμε — 日本語も, and a rocket 🚀 far past the
18basic plane. Every span below this line has a UTF-8 byte offset that differs
19from its scalar offset, so a comparison that only ever saw ASCII cannot agree by
20accident.}
22@items[ordered: #t start: 1]{
23@item{Source fidelity: untouched bytes stay exact.}
24@item{Identity: a move never changes a stable local id.}
27@table[columns: '(left left) caption: "Two tiers"]{
28@row[header: #t]{@cell{tier}@cell{what it may do}}
29@row{@cell{passive}@cell{parse syntax and inspect declared fields}}
32@aside{@p{An admonition, which D13 renamed from @code{note} precisely so that
33@code{@@note} could become folio's root container.}}
35@warning{@p{A second admonition kind, so the comparison covers more than one.}}
37@code["sigil"]{(define (folded x)
38 ;; A raw body whose folded text is NOT its content.
39 (+ x 1))}
41@term["source of truth" id: "parity-sot"]{
42@p{Authored source files are authoritative and every derived table is
43disposable.}
46@glossary{}
48@exercise["parity-exercise" "An exercise, because it is a block node"]{
49@p{Present so that the shared body covers a block kind the folio vocabulary has
50no counterpart for.}