Repository navigation
Podlite 3.0
Specification: https://podlite.org/specification
Release announcement: https://podlite.org/2026/11/27/1/podlite-3-0-released
The specification now carries its own tests. They appear alongside the rules they check, and Podlite documents can use the same test syntax to check their own content. An ordinary paragraph directly inside a test included by the specification is part of the specification text. If a test of the specification disagrees with the rule it checks, the rule governs.
Added
- Test blocks: a
=testcontains one or more=assertblocks with selector assertions and may include=fixtureand=resourceblocks - Tests for block syntax, configuration, selectors, includes and data blocks, kept in files under
t/; the specification ends with a list of the tests - Selector predicates test the configuration in effect for a block, including values from
=configand=set: operators, empty and absent values, membership, combined conditions - The universal pattern
*, operations in parentheses and theinoperator - Internal addresses: the three parts of reading an address, address boundaries in selectors and links, and
data:column lookup by heading - A
=podblock nested in another is a group
Changed
- Attribute values: the configuration table lists the kinds of value and the keys each hash form accepts; values in parentheses or braces can continue on configuration lines
- Blocks and tests brought in by
=includebelong to the including document; on the first included block, a=setin the included file overrides a=setfor the same key made before the include - Includes without a source all select from the same document state, after includes from other sources have resolved
- An included
=tocapplies its selector to the including document - Selectors do not reach
=includeor=boundary - Block reading: the first line determines whether an implicit block is a paragraph or code; in abbreviated and paragraph forms of
=itemand=defn, indentation does not start a code block; when a block ends, the virtual margin of the enclosing block applies again - A
:mime-typewritten on=data-tableoverrides the format of itsdata:source - Markup codes: closing angles match the nearest open delimiter first; the reserved codes
Q<>andY<>keep their letter and delimiters when rendered and produce a warning - Relative paths in selector sources, images and links resolve from the file where the reference appears
Changes that affect existing documents
=configalso applies to matching blocks brought in by a later=includein its scope- Markup codes in a string value are read only if
=setassigns it =includecarries directives inside the selected blocks; a=boundaryoutside every included block stays behind=boundaryaccepts only:captionof the standard options and is not affected by=config boundary- In a simple table,
|,+and whitespace enclosed by a markup code whose delimiters are on one line stay in the cell - On a simple-table line that uses whitespace separators, two or more consecutive whitespace characters form one column separator of any width; an empty cell is written with visible separators or with
=rowand=cell - CSV and TSV: spaces in a field and indentation beyond the virtual margin are data; an empty line outside a quoted CSV field is a row with one empty field
- For CSV and TSV,
headernow defaults topresent, so the first row names the columns; useheader=absentto keep the first row as data; other values are errors - A blank line counts as inline content in
=data-tableand causes an error if:srcis set =picturetakes its source only from:src, and its whole content is the caption: a source written on the first line of the content now reads as caption text
Links
- Changelog: https://github.com/podlite/podlite-specs/blob/v3.0/Specification.pod6 (
=head2 v3.0) - Coming in Podlite 3.0: https://podlite.org/2026/11/5/1/coming-in-podlite-3-0-a-specification-that-tests-itself
- Editor: https://pod6.in
Specification | Publishing system | Desktop viewer/editor | Online resources |
What's Changed
- Correct conflicting value forms in the block configuration table by @zag in #30
- Add rules for reading attribute values by @zag in #31
- Use square brackets in :columns examples by @zag in #32
- Rework attribute value rules and forms by @zag in #33
- Complete the attribute value rules by @zag in #34
- Fix two dead links and state three rules the text applies by @zag in #35
- Selector predicates by @zag in #36
- Test blocks by @zag in #40
- Operations in parentheses by @zag in #41
- Reading CSV and TSV by @zag in #43
- Podlite Specification v3.0 by @zag in #44
Full Changelog: v2.0.1...v3.0
