Skip to content

chore: bump spec submodule (ASCII heading-ids corpus + new examples) - #15

Merged
dereuromark merged 1 commit into
mainfrom
chore/bump-spec-ascii-corpus
May 20, 2026
Merged

chore: bump spec submodule (ASCII heading-ids corpus + new examples)#15
dereuromark merged 1 commit into
mainfrom
chore/bump-spec-ascii-corpus

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Follow-up to #13 + companion to markup-carve/carve#16 (now merged).

What's in it

  • spec submodule bumped to markup-carve/carve@0e05cc3 — picks up the ASCII-slug corpus fixture for 19-heading-ids (café-notescafe-notes, über-unsuber-uns, plus the matching </#cafe-notes> crossref) and 17 newly-added corpus examples.
  • test/corpus.test.ts un-skips 19-heading-ids (the TODO comment ASCII-safe heading id slugs (baked Unicode -> ASCII translit) #13 left behind) and adds the new 25–41 entries to IMPLEMENTED. All 17 new entries pass byte-for-byte against the current impl — no impl changes needed:
Entry Coverage
25-table-doubled-alignment-marker tight-prefix alignment markers (#5-era)
26-fenced-code-shorter-inner-fence fenced code outer/inner length rule
27-blockquote-caption-after-a-blank-line caption attachment per grammar
28-table-cell-escaped-pipe backslash-escaped | inside cell
29-table-cell-pipe-inside-code-span code-span shields `
30-abbreviation-matches-on-word-boundaries-only abbrev \b rule
31-mention-ignores-email-addresses @ mention boundary
32-tag-requires-a-word-boundary # tag boundary
33-table-stacked-rowspan repeated ^
34-reference-link, 35-collapsed-, 36-unresolved- #9-era ref resolution + #14 implicit-heading-ref
37/38/39-smart-typography-* #10-era smart-typography
40-table-multi-line-cell-continuation #11-era +-continuation row
41-table-rowspan-with-multi-line-content rowspan composed with continuation
  • vitest.config.ts (new, 12 lines) — narrows vitest's test discovery to test/**/*.test.ts. The bumped spec submodule carries its own spec/tests/*.test.mjs files (the carve repo's node:test runners for spec-corpus conformance + normativity checks), which vitest would otherwise try to load and fail on as "no test suite found".

Suite

217/217 (up from 187 before the bump). Typecheck clean.

Closes out

- spec submodule bumped to markup-carve/carve#16 (Adopt ASCII-safe
  heading id slugs spec + corpus + re-vendor). The corpus fixture
  for 19-heading-ids now matches the ASCII slugs the impl emits.
- Un-skips '19-heading-ids' in IMPLEMENTED — the TODO PR #13 left
  pending the corpus bump.
- Adds the 17 new corpus entries (25-41) the spec now ships:
  table doubled alignment marker, fenced-code shorter inner fence,
  blockquote caption after blank line, escaped/code-span pipes in
  table cells, abbreviation/mention/tag word-boundary rules,
  stacked rowspan, reference-link / collapsed / unresolved cases,
  three smart-typography splits, multi-line cell continuation, and
  rowspan with multi-line content. All 17 pass byte-for-byte
  against the current impl.
- Adds vitest.config.ts to scope test discovery to test/**/*.test.ts.
  The bumped spec submodule carries spec/tests/*.test.mjs files
  (node:test runners for the carve repo's own CI) that vitest
  would otherwise try to load and fail on as 'no test suite found'.

Suite: 217/217 (was 187). Typecheck clean.
@dereuromark
dereuromark merged commit d997112 into main May 20, 2026
2 checks passed
@dereuromark
dereuromark deleted the chore/bump-spec-ascii-corpus branch May 20, 2026 17:57
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