storybookjs / marksy

📑 A markdown to custom VDOM components library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rendering custom components doesn't work

kitze opened this issue · comments

commented

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:
image

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 :)

commented

Thanks @yannbf, I'll downgrade for now

Storybook doesn't really use this lib anymore, we do the markdown / jsx transformation in webpack loaders now.

commented

If anyone stumbles upon the same issue: I moved to https://github.com/probablyup/markdown-to-jsx