Re-vendor carve-lib + section-wrap heading corpus fixtures - #19
Merged
Conversation
Completes the carve-side of the <section> wrapper rollout (PART 9 §13, carve PR #18; carve-js impl carve-js#16). - docs/examples.md: heading examples (Headings, Attributes, Heading IDs) rewritten to the <section id="…"><h*>…</h*></section> shape with the id on <section> and level-aware nesting. - tests/corpus/*.html + tests/spec/*.test: regenerated via `npm run corpus:build` -- 02-headings*, 17-attributes, 19-heading-ids now carry the section-wrapped output. - docs/.vitepress/carve-lib: re-vendored from carve-js main via `npm run sync-carve-lib`, picking up the section-wrapping renderer plus the implicit-heading-reference resolution merged since the last vendor. 86/86 corpus + normativity tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the carve-side of the
<section>wrapper rollout (PART 9 §13 spec landed in #18; carve-js renderer in markup-carve/carve-js#16).What's in it
docs/examples.md— the heading examples (Headings, Attributes, Heading IDs sections) rewritten from bare<h* id="…">to the<section id="…"><h*>…</h*></section>shape, with the id on<section>and level-aware nesting.tests/corpus/*.html+tests/spec/*.test— regenerated vianpm run corpus:build.02-headings*,17-attributes, and19-heading-idsnow carry the section-wrapped output.docs/.vitepress/carve-lib/— re-vendored from carve-js main vianpm run sync-carve-lib. Picks up the section-wrapping renderer plus the implicit-heading-reference resolution merged into carve-js since the last vendor.Verification
86/86 corpus + normativity tests pass (
npm test). The hand-written section HTML inexamples.mdwas confirmed byte-identical against the re-vendored renderer (corpus test compares generated.html← examples.md against carve-lib output).Follow-up sequence
KNOWN_GAPSentries