Replies: 2 comments 1 reply
-
You have MDX. Use MDX. |
Beta Was this translation helpful? Give feedback.
0 replies
-
is there any workaround to fix this issue using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm new on
react-markdown
i want to transform jsx like strings to react component without mdx.
i just wanted to use this
react-markdown
library and related plugins.here's a example
This is my markdown source.(.md file)
![image](https://private-user-images.githubusercontent.com/166087781/329984303-30da6c25-5a27-4c4c-9bfb-3095af6fd9d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MjIyMjAsIm5iZiI6MTcxOTYyMTkyMCwicGF0aCI6Ii8xNjYwODc3ODEvMzI5OTg0MzAzLTMwZGE2YzI1LTVhMjctNGM0Yy05YmZiLTMwOTVhZjZmZDlkMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMDQ1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYmVjMmEyNDkzNjE5M2FiZTMwYTAxNTlhN2NiZDI0Y2U1ZmE2NzU2NTJlY2M0MWJlMjQ0YjIzNTJiNTcyOGQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4WPRuWDgaWS7KlOPCIndIYqtC0p2b8H_jk2PtVzWc5M)
i want to transform it into react component like below
![image](https://private-user-images.githubusercontent.com/166087781/329985536-9b87b92f-7f24-4dd1-b3c3-17e877482f6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MjIyMjAsIm5iZiI6MTcxOTYyMTkyMCwicGF0aCI6Ii8xNjYwODc3ODEvMzI5OTg1NTM2LTliODdiOTJmLTdmMjQtNGRkMS1iM2MzLTE3ZTg3NzQ4MmY2ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMDQ1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYzU5ZDVlYmY1OTNhMjJjNTFlNzljNzg4YTU1M2MwMzU3ZjQ2OTUxMDUxOGU1NWNlZGQyOGIxZmY3NzEwMDM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YYIQpWVsziWGq6RemlLvqEddD79WUZ1NteW8WMEBRW0)
my code is
but this code doesn't work very well.
please ignore korean.
Expect:
Actual:
i guess that's because following contents became children of my custom component.
how should i fix this?
Beta Was this translation helpful? Give feedback.
All reactions