From bcc1345abf1e0fc456c5c451f21f70f9130ec65e Mon Sep 17 00:00:00 2001 From: Maximilian Falco Widjaya Date: Fri, 29 May 2026 20:33:56 +1000 Subject: [PATCH 1/3] fix: honor backslash escaped list and hash markers in JSX table cells --- __tests__/transformers/mdxish-tables.test.ts | 98 +++++++++++++++++++ .../transform/mdxish/tables/mdxish-tables.ts | 31 +++++- 2 files changed, 127 insertions(+), 2 deletions(-) diff --git a/__tests__/transformers/mdxish-tables.test.ts b/__tests__/transformers/mdxish-tables.test.ts index 3d7295f93..dd6eee831 100644 --- a/__tests__/transformers/mdxish-tables.test.ts +++ b/__tests__/transformers/mdxish-tables.test.ts @@ -203,6 +203,104 @@ describe('mdxish tables transformation', () => { }); }); + describe('given a leading list marker inside a JSX cell', () => { + it('renders an unescaped leading dash as a bullet list (default markdown behaviour)', () => { + const doc = ` + + +
head
- foo
`; + const html = toHtml(mdxish(doc)); + expect(html).toContain('