-
-
Notifications
You must be signed in to change notification settings - Fork 851
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
Some Markdown elements do not render #505
Comments
Weird. Pasting that text in here works fine: https://codesandbox.io/s/react-markdown-debug-9n4eg. Can you reproduce there, or in some other way, what’s up? |
Also: |
Whoops, forgot to add the closing first |
@wooorm Oh it appears to be something in my CSS, since when I don't include my CSS file I can see it rendering properly. Any idea what it could be? I'm using TailwindCSS for reference |
Also a similar issue I just tried to use this library 😄 I think it's more of a tailwind issue than an issue with this library, though - tailwind the default for list is Looks like there needs to be some changes in the |
Alright! Searchinf through the issues for css might help! |
Just to fix the issue - you can install the tailwind Typography plugin https://tailwindcss.com/docs/typography-plugin
You can then add the following:
Adding |
Subject of the issue
Describe your issue here.
Some markdown elements such as headers and lists do not render.
This is not a place to ask questions. For that, go to discussions
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Please provide a working and simplified example.
Expected behavior
What should happen?
hello
should be a header, and the rest should be rendered as a listActual behavior
What happens instead?
The text is rendered as-is, with no formatting and with
##
and*
still present.The text was updated successfully, but these errors were encountered: