Skip to content

Annotate the parse tree of lists#9929

Draft
pmario wants to merge 1 commit into
TiddlyWiki:masterfrom
pmario:feat/list-annotations
Draft

Annotate the parse tree of lists#9929
pmario wants to merge 1 commit into
TiddlyWiki:masterfrom
pmario:feat/list-annotations

Conversation

@pmario

@pmario pmario commented Jul 12, 2026

Copy link
Copy Markdown
Member

Record the facts about a list that existed only in the source: each item's full row marker and the blank line between merged list runs.

  • Record rowMarker on every list item; the tag nesting alone cannot reproduce mixed markers like *# or the ;/: description-list forms
  • Record blankLineBefore on the first item after a blank-line merge; the parser folds same-type lists across blank lines into one node, so the separator was unrecoverable from the tree
  • Note for third-party code: the new fields are purely additive; rendered output is unchanged

Part of #9908.

Record the facts about a list that existed only in the source: each
item's full row marker and the blank line between merged list runs.
Fixes TiddlyWiki#9912.

* Record rowMarker on every list item; the tag nesting alone cannot
  reproduce mixed markers like *# or the ;/: description-list forms
* Record blankLineBefore on the first item after a blank-line merge;
  the parser folds same-type lists across blank lines into one node,
  so the separator was unrecoverable from the tree
* Note for third-party code: the new fields are purely additive;
  rendered output is unchanged
@netlify

netlify Bot commented Jul 12, 2026

Copy link
Copy Markdown

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit 1c2cad7
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/6a541639b96e4d00093ac131
😎 Deploy Preview https://deploy-preview-9929--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

Confirmed: pmario has already signed the Contributor License Agreement (see contributing.md)

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

📊 Build Size Comparison: empty.html

Branch Size
Base (master) 2492.6 KB
PR 2493.0 KB

Diff: ⬆️ Increase: +0.5 KB


✅ Change Note Status

All change notes are properly formatted and validated!

📝 $:/changenotes/5.5.0/#9912

Type: enhancement | Category: developer
Release: 5.5.0

Lists annotate their parse tree nodes

🔗 #9912

👥 Contributors: pmario


📖 Change Note Guidelines

Change notes help track and communicate changes effectively. See the full documentation for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Annotate the parse tree of lists

1 participant