markdown-to-jsx
markdown-to-jsx copied to clipboard
Allow JSX overrides with same leading substring in component names
It seems to be currently not possible to add JSX components to the overrides with the same leading substring in the component names. I created PR https://github.com/probablyup/markdown-to-jsx/pull/364 where I added a test to verify this scenario. I can see that the nestedParse function is currently not returning the expected parser result. Any help / pointer for a fix is appreciated.
Anything that holds this from being solved? I've been experiencing this issue for a while. Example:
<Faq>
<FaqItem>...</FaqItem>
</Faq>
Will not work because FaqItem
has Faq
as its prefix, which is also a separate component.
Dear maintainers, what's holding your from solving this?
@kojiwakayama would you please update your PR to make all tests pass?