Rendering custom components doesn't work
kitze opened this issue · comments
I've been trying to figure this out for probably 3 solid hours, but either I'm missing something obvious or there is a bug. You can check it out in this sandbox.
Hey @kitze, indeed there seems to be something weird in version 8, could be related to dependency updates.
If you try earlier versions like 7.0.1, custom components do work.
I've setup a playground with examples that work if that helps:
Other than that we can check if @christianalfoni or @ndelangen have any clues, maybe the way to use the lib has changed somehow? Let me know if I can help somehow :)
Storybook doesn't really use this lib anymore, we do the markdown / jsx transformation in webpack loaders now.
If anyone stumbles upon the same issue: I moved to https://github.com/probablyup/markdown-to-jsx