Re-expose the RuleType object from markdown-to-jsx #31512
maxpatiiuk
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I was just linked to this discussion by the bot from my bug report #32433 ; this would be more helpful if it was described where or how to implement this as a workaround. I am not clear at all where I would place this code or how I would ensure it gets used. Is anyone able to shed some light on that? Thanks! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Storybook is using the markdown-to-jsx library, and is re-exposing it's Markdown component:
storybook/code/addons/docs/src/blocks/blocks/Markdown.tsx
Line 12 in 84bc7f7
However, to effectively use that component, I would like Storybook to also re-expose the following object from that library: https://github.com/quantizor/markdown-to-jsx/blob/9d53fa83f7c29da747e457159850083b53394510/index.tsx#L15
Because this library is bundled into storybook, I cannot simply import from it directly as it won't guarantee my version matches what is bundled with storybook
Describe the solution you'd like
Re-Expose RuleType type
Describe alternatives you've considered
My use case and workaround:
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions