Skip to content

Phase 15: setext --- vs thematic-break parity (v0.1.12) - #12

Merged
lidonggui merged 1 commit into
mainfrom
phase-15-setext-dash-underline
Sep 18, 2026
Merged

lidonggui merged 1 commit into
mainfrom
phase-15-setext-dash-underline

Conversation

@lidonggui

Copy link
Copy Markdown
Contributor

Summary

  • Native paragraph extension now prefers continuous setext underlines (=== / ---) as heading before isBlockStart treats --- as thematic (micromark / CommonMark parity).
  • Spaced - - - / *** / ___ after a paragraph stay thematic; standalone / top-of-doc --- unchanged; quote lazy path still ends on --- (Phase 13).
  • Closes Noto intentional golden gap Phase 7: dialect serialize parity (hard-break + list-marker) #1 (setext---- vs hr) on the engine side. Package 0.1.12.

Test plan

  • pnpm verify (typecheck + test + build) — 91 tests passed locally
  • CI green on this PR
  • Focused Phase 15 cases in native-scanner.test.ts (joinSplit identity)

While extending a paragraph, continuous setext underlines (=== / ---)
absorb as heading before isBlockStart treats --- as thematic. Spaced
- - - / *** / ___ stay thematic; standalone --- unchanged. Closes Noto
intentional golden gap #1.
@lidonggui
lidonggui merged commit dda6988 into main Sep 18, 2026
1 check passed
@lidonggui
lidonggui deleted the phase-15-setext-dash-underline branch September 18, 2026 18:54
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