There is only one story and a readme.md that should be rendered.
We used npm since this is how our project is set up but I expect the same issue to occur with yarn.
EDIT: I want to mention that removing the comments from all markdown files is not an option (it is also valid md and therefore should not cause issues)
Originally posted by @pixelass in https://github.com/storybookjs/storybook/issues/18383#issuecomment-1160767410
Looks like I found the issue while trying to build the repro.
It is an HTML comment within the markdown
README.md
Test.stories.mdx
which is then reactified via:
.stroybook/main.js
(partial)Here's the very minimal repro: https://github.com/pixelass/sb-repro-mdx
There is only one story and a readme.md that should be rendered.
We used npm since this is how our project is set up but I expect the same issue to occur with yarn.
EDIT: I want to mention that removing the comments from all markdown files is not an option (it is also valid md and therefore should not cause issues)