Skip to content

refactor(markdown-toolkit): rename stringNodes to textNodesWithBreaks - #240

Merged
Jason3S merged 2 commits into
mainfrom
claude/md-text-breaks
Nov 22, 2026
Merged

Jason3S merged 2 commits into
mainfrom
claude/md-text-breaks

Conversation

@Jason3S

@Jason3S Jason3S commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Core has two functions that turn a string into text nodes. They differ only in what happens to a line ending:

  • textNodes keeps it in the text, so the page shows a space.
  • stringNodes turns it into a line break.

Neither name said which was which. This renames stringNodes to textNodesWithBreaks. Its two callers change, in builder/text.ts and element/content.ts.

Nothing in the public API or its behavior changes.

@Jason3S
Jason3S merged commit 734b75b into main Nov 22, 2026
8 checks passed
@Jason3S
Jason3S deleted the claude/md-text-breaks branch November 22, 2026 18:53
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.

1 participant