-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<strong> Tag Doesn't Shows Properly in <pre> Block #6156
Comments
Looks like a Docusaurus error, can't reproduce in MDX playground. It's probably because we map |
Thanks, I think MDX should have compatibility with native html, just use GFM to reproduce, as for the line breaks, I will use |
That would be impossible, because MDX is more biased to the JSX side than to the MD side. You should see it as JSX with MD interspersed rather than Markdown that happens to be rendered as JSX.
I hope you mean GFM 😝 |
Perhaps I should close this issue and figure out a new way to bold sth. in the code blocks? |
No, it's still a valid issue because the |
Fixed by #6177. Please test with the latest canary release. |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I Write a Test Case below
As we can see blow, Github shows correctly
but if this block appears in a docusaurus MarkDown file when build a website
it appears like blow
which turns
<strong>
tag into [object Object]Steps to reproduce
write a markdown file includes
<strong>
tag in a<pre>
tagExpected behavior
Correct Content
Actual behavior
Incorrent
Your environment
Reproducible demo
No response
Self-service
The text was updated successfully, but these errors were encountered: