Open LaurensUP opened 1 year ago
@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.
heres an example I was experimenting with just now
@dannyhw thank you but i use react native cli without expo, is it possible to use markdown in notes ? how can i do it ?
@Michael-Ivlev as far as I know it doesn't require expo Notes isn't worth investing time into because the addon is deprecated on storybook core Though I mean technically I could make a NotesMdx addon that requires the MDX transformer
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:
Headers need a newline to get formatting
doesn't format the heading
If you put the newline, the rest of the content disappears
Some text