import { markdownHtmlAgent } from '../src/services/markdownHtmlAgent'; describe('markdownHtmlAgent table and image support', () => { it('should render tables properly', async () => { const md = `# Title\n\n| H1 | H2 |\n| -- | -- |\n| A | B |`; const html = await markdownHtmlAgent({ title: 'Doc', markdown: md }); // Table wrapper expect(html).toContain('
| A | '); expect(html).toContain('B | '); }); it('should render images with alt and src attributes', async () => { const md = `# Img\n\n`; const html = await markdownHtmlAgent({ title: 'Doc', markdown: md }); expect(html).toMatch(/