-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
@storybook/addon-ondevice-notes: Markdown is very buggy #470
Comments
@LaurensUP yeah it's unfortunate, when I was trying to fix it I couldn't find any good libraries. I'll take another look. |
@dannyhw what is the best way to write docs and descriptions for the components? |
@Michael-Ivlev seems pretty subjective to me and I'm not sure but it could be worth experimenting with this: https://github.com/EvanBacon/expo-mdx/tree/main/packages/mdx Then you could make custom render functions with mdx in them. |
@dannyhw thank you but i use react native cli without expo, |
@Michael-Ivlev as far as I know it doesn't require expo |
Notes addon will be fixed to use a better markdown renderer in v7 |
These are my findings and bugs with the Notes addon for React Native:
# Button Some text
doesn't format the heading
# Button Some text
-> Formats the heading, but
Some text
disappearsDocumentation says you need a new line between each element, but if you do that, the things below your element don't get rendered
If you don't add a new line between your element, it works, but everything in the
Notes
section is on one lineThe text was updated successfully, but these errors were encountered: