Skip to content

fix(changelog): render GFM tables and blockquotes in release notes#220

Open
AnanteshG wants to merge 1 commit into
gofr-dev:mainfrom
AnanteshG:fix/changelog-markdown-tables
Open

fix(changelog): render GFM tables and blockquotes in release notes#220
AnanteshG wants to merge 1 commit into
gofr-dev:mainfrom
AnanteshG:fix/changelog-markdown-tables

Conversation

@AnanteshG

@AnanteshG AnanteshG commented Jun 6, 2026

Copy link
Copy Markdown

The hand-rolled RenderMarkdown had no branch for tables or blockquotes, so table rows in release notes fell through to the plain-paragraph branch and rendered as literal pipe-text (first visible on v1.56.7, whose notes contain benchmark tables).

Add a table branch (header row + |---| separator detection, GFM alignment markers mapped to text-align classes) and a blockquote branch (consecutive > lines folded into one blockquote). Cell and quote content still flows through renderInline so bold/inline-code render as before.

Fixes #221

Before :
image

After :
image

The hand-rolled RenderMarkdown had no branch for tables or
blockquotes, so table rows in release notes fell through to the
plain-paragraph branch and rendered as literal pipe-text (first
visible on v1.56.7, whose notes contain benchmark tables).

Add a table branch (header row + |---| separator detection,
GFM alignment markers mapped to text-align classes) and a
blockquote branch (consecutive > lines folded into one
<blockquote>). Cell and quote content still flows through
renderInline so bold/inline-code render as before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

Changelog page renders markdown tables as plain pipe-text

1 participant