fix(com/grid-comp/markdown): pin remark-gfm
to v3 to allow inline code block by backticks in Markdown
#32420
+878
−2
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.
fix(com/grid-comp/markdown): pin
remark-gfm
to v3 to allow inline code block by backticks in MarkdownSUMMARY
Fixes #32416
According to this
remark-gfm
issue post,react-markdown
v8 (current version in Superset) only plays well withremark-gfm
v3, hence the downgrade. The other alternative is to upgradereact-markdown
to v9 but that has breaking change of React 18 requirement.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
Screen.Recording.2025-02-28.at.12.24.40.mov
After
https://github.com/user-attachments/assets/5d861226-c98f-4687-b9e8-8e90da2a847a
TESTING INSTRUCTIONS
Sales dashboard
example dashboardVehicle Sales Dashboard
Markdown section.ADDITIONAL INFORMATION