Render PPTX callouts and normalize markdown text

This commit is contained in:
2026-06-15 14:58:16 -05:00
parent 4f74b03324
commit 3de8ec978b
4 changed files with 93 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ function emitBlock(lines, tb, { alertStyle = 'gfm' } = {}) {
`<div class="sf-callout sf-callout-${theme.kind}" style="${style}">`,
`<div style="font-weight: 700; color: ${theme.fg}; margin-bottom: ${body ? '6px' : '0'};">${escapeHtml(title)}</div>`,
);
if (body) lines.push(`<div style="color: #243044;">${tb.descriptionHtml || ''}</div>`);
if (body) lines.push(`<div style="color: inherit;">${tb.descriptionHtml || ''}</div>`);
lines.push('</div>', '');
return;
}