fe2o3_text/tests/html_page.rs
26 operations, oldest first
created by r1870400018:70665, which is this file's identity for as long as the history lasts, whatever it is later renamed to
read the file · who wrote it · compare two states
An operation carries no clock of its own. Each row is therefore dated by the first mark written after it by the same replica, which is one copy of the repository, and that mark is where the command that wrote the operation ended.
+ signed and verified, ? signed by a key this forge does not carry, - unsigned
| Operation | Author | What | When | |
|---|---|---|---|---|
| + | r1870400018:70665 | replica 1870400018 | created fe2o3_text/tests/html_page.rs | 40 days ago under "fe2o3_text: doc -- the page constructs and an HTML reader that keeps names: Block::Figure and Block::Terms (with Term), a table caption, Cell as a named struct { content, header } for row-header cells, Inline::Sup/Sub, html::read::parse_with(Opts { keep_classed }) keeping classed or id'd spans and divs, td class=\"num\" columns read as Align::End; Block::as_plain as the one degradation for formats with no figure or definition list (Markdown, docx, odt, decks, SBJ import); the policy's attribute rule split into classes/pairs AllowLists and an ids flag, and the HTML writer refusing on*, style and malformed keys whatever a policy says (Zoapedia F1, review B1, S8)" |
| + | r1870400018:70666 | replica 1870400018 | inserted 15.0 KiB | 40 days ago under "fe2o3_text: doc -- the page constructs and an HTML reader that keeps names: Block::Figure and Block::Terms (with Term), a table caption, Cell as a named struct { content, header } for row-header cells, Inline::Sup/Sub, html::read::parse_with(Opts { keep_classed }) keeping classed or id'd spans and divs, td class=\"num\" columns read as Align::End; Block::as_plain as the one degradation for formats with no figure or definition list (Markdown, docx, odt, decks, SBJ import); the policy's attribute rule split into classes/pairs AllowLists and an ids flag, and the HTML writer refusing on*, style and malformed keys whatever a policy says (Zoapedia F1, review B1, S8)" |
| + | r1870400018:71895 | replica 1870400018 | inserted 28 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71896 | replica 1870400018 | replaced 10 bytes with 9 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71897 | replica 1870400018 | replaced 3 bytes with 2 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71898 | replica 1870400018 | replaced 139 bytes with 37 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71899 | replica 1870400018 | inserted 84 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71900 | replica 1870400018 | inserted 25 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71901 | replica 1870400018 | inserted 338 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:71902 | replica 1870400018 | inserted 968 bytes | 40 days ago under "fe2o3_text, fe2o3_sbj: an image carries its names -- Inline::Image gains `attrs: Attrs`; under html::read::Opts { keep_classed: true } an img keeps its id, classes and its width and height as pairs (the default reader leaves attrs empty, so earlier callers read as before); the HTML writer writes them through write_attrs's key refusal and never a second src or alt; policy::apply filters them like any node's; the Djot reader takes an attribute block against an image; the Markdown and office writers write source and alt alone; in fe2o3_sbj the img node (code 33) carries classes, id and pairs as span does, export::to_doc reads them back and validate admits them, oxeweb/doc/1 extended in place before any store held a /1 tree; the article fixture round-trips with class, width and height, the SBJ corpus generates attributed images, new tests in policy (09) and djot inline (18) (Zoapedia F1b)" |
| + | r1870400018:72383 | replica 1870400018 | inserted 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72384 | replica 1870400018 | inserted 2.3 KiB | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72385 | replica 1870400018 | replaced 241 bytes with 6 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72386 | replica 1870400018 | replaced 302 bytes with 31 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72387 | replica 1870400018 | replaced 69 bytes with 11 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72388 | replica 1870400018 | replaced 175 bytes with 9 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72389 | replica 1870400018 | replaced 122 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72390 | replica 1870400018 | replaced 110 bytes with 8 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72391 | replica 1870400018 | replaced 46 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72392 | replica 1870400018 | replaced 148 bytes with 5 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72393 | replica 1870400018 | replaced 46 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72394 | replica 1870400018 | replaced 373 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72395 | replica 1870400018 | replaced 194 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72396 | replica 1870400018 | replaced 81 bytes with 7 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72397 | replica 1870400018 | replaced 66 bytes with 6 bytes | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |
| + | r1870400018:72398 | replica 1870400018 | inserted 3.3 KiB | 40 days ago under "fe2o3_text: Djot writer, part 2 -- figures, definition lists and header cells round-trip, so parse(&render(&d)) == d holds over every block and inline the tree has. A figure is `::: figure {attrs}` with its caption a `^ caption` line last (a captionless table last in a figure gets a bare `^`); a division classed `figure` alone is written `::: {.figure}`. A definition list is Djot's `: term` with each definition indented beneath it, a `::` line before each further definition (and before a first that is empty), `:` alone for an empty term, and its attrs on a line above, given even when empty where a second list follows a first. The reader now reads a header row's cells as headers; a table that departs from that carries `{heads=\"rows\"}` (every body row headed by its first cell) or a word of 1 and 0 per row on the line above. An attributes line above a figure or definition list merges into its attrs. A `:` line does not interrupt a paragraph. tests: the generator widened to every variant at depth 4 (5000 seeds; 40000 checked once); hand-written reader forms; the F1 corpus read from HTML keeping names round-trips through Djot (fixtures hoisted to consts); the 25 Zoapedia page bodies likewise, behind #[ignore], read by absolute path (Zoapedia F2b)" |