Skip to content

fix(shared-types): repair MDD tables glued to prose and headings - #543

Merged
OscarRubioSevilla merged 1 commit into
masterfrom
fix/md-format-repair
Aug 11, 2026
Merged

fix(shared-types): repair MDD tables glued to prose and headings#543
OscarRubioSevilla merged 1 commit into
masterfrom
fix/md-format-repair

Conversation

@OscarRubioSevilla

Copy link
Copy Markdown
Collaborator

Summary

  • Expands collapsed pipe tables and splits prose, blockquotes, and headings from table headers in the MDD markdown pipeline.
  • Fixes Workshop preview/render when pasting matrices like Trazabilidad BRD → MDD (FR → módulo → §§) that were glued on a single line.
  • Adds regression tests for FR traceability matrix and glued heading/blockquote cases.

Test plan

  • node --import tsx --test packages/shared-types/src/markdown-table.spec.ts packages/shared-types/src/repair-glued-headings.spec.ts
  • Paste collapsed FR matrix in Workshop MDD editor and confirm table renders in preview
  • Run Reformatear MDD on an affected document and verify matrix columns

Expand collapsed pipe tables and split prose, blockquotes, and headings
from table headers so GFM matrices (e.g. FR traceability) render in Workshop.
@OscarRubioSevilla
OscarRubioSevilla merged commit fcad7b4 into master Aug 11, 2026
2 checks passed
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