feat(chat): Enable disabling code-fencing for streamed tables per-adapter#349
Merged
dancer merged 2 commits intoApr 9, 2026
Merged
Conversation
…pter As Slack now natively supports markdown tables, the code-fencing for tables is not required and in fact stops them from being rendered natively. This PR adds an option to configure code-fencing tables per adapter. By default true, false only for Slack.
Contributor
|
@raimondlume is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
raimondlume
commented
Apr 8, 2026
Removed comment about default behavior for wrapTablesForAppend option.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
Last time I tested Slack did not support tables in streaming rendering |
Contributor
Author
@cramforce I believe this was added recently, see video below for example on how this looks in practice Screen.Recording.2026-04-09.at.00.03.59.mov |
Collaborator
|
Oh, very nice! |
cramforce
approved these changes
Apr 9, 2026
Collaborator
|
@dancer Could you give this a quick try and merge? |
grundmanise
pushed a commit
to grundmanise/vercel-chat-sdk
that referenced
this pull request
Apr 22, 2026
…pter (vercel#349) * feat(chat): Enable disabling code-fencing for streamed tables per-adapter As Slack now natively supports markdown tables, the code-fencing for tables is not required and in fact stops them from being rendered natively. This PR adds an option to configure code-fencing tables per adapter. By default true, false only for Slack. * Update StreamingMarkdownRendererOptions comments Removed comment about default behavior for wrapTablesForAppend option.
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
As Slack now natively supports markdown tables, the code-fencing for streamed tables is not required and in fact stops them from being rendered natively.
This PR adds an option to configure code-fencing tables per adapter. By default
true,falseonly for SlackTest plan
wrapTablesForAppendbehaviourBefore:

After:
