[docs] Update markdown parser to remove backticks from description #30495
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.
On https://mui.com/customization/theme-components/ the page description element (which is
<p class="description">
) contains backticks which are rendered incorrectly (at least compared to how the backticks work for markdown).Preview:
Looking into understanding why that happens I found out that the
description
is rendered in the head of the page. Looking more into it I found out that thetitle
is rendered the same, but the title already was trimming the backtics. So I added trimming of the backtics for thedescription
as well.While this makes sense to me, obviously I cannot grasp the entire set of implications. Easiest thing to do for now, without introducing this change, would be to remove the backticks from description in the mentioned file.
Deploy preview: https://deploy-preview-30495--material-ui.netlify.app/customization/theme-components/