Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

Coming in Podlite 2.0

DEV Community·Alexandr Zahatski·25 days ago
#5Dfezwtt
Reading 0:00
15s threshold

The spec branch for Podlite 2.0 has landed in a pull request. The final tag goes up once the review window closes. If you build parsers or ship documents in Podlite, this is the time to read the diff and push back. Why a major bump? A few real breaking changes (mostly legacy string-attribute syntax that nobody should have been writing anyway), plus four big new features. Bundling them means one parser-side update instead of four spread over time. Two new directives =boundary — section dividers with semantics A divider with semantics. It renders as a horizontal rule, but the parser sees a typed block. A tool building a table of contents, page-splitter, or chapter-navigator knows exactly where one section ends and the next begins. The optional :caption attribute describes the transition ( =boundary :caption('Part Two') ). =set — per-block attribute assignment Pre-configure attributes for the next block. Multiline values via continuation lines, inline markup inside attribute values, and lexical scope per file.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More