Storybook: Storysource with mdx?

Created on 23 Sep 2019  路  3Comments  路  Source: storybookjs/storybook

It's not clear to me if storysource is supposed to be working with Docs mdx stories definitions. The example manual webpack config has the loader running against test: /\.(stories|story)\.[tj]sx?$/. If all of my stories are defined in .mdx, is it possible to show source for them? Some additional documentation clarifying this one way or another would be helpful.

P3 docs storysource bug help wanted mdx todo

All 3 comments

@bmayen good question. this is a bug--for now we can't do it without either hacking up storysource or rearchitecting how source is displayed. need to figure this out with @libetl @igor-dv and it's a little complicated.

Thanks for the clarification. Let me know if I can help out in any way.

This is working as of 6.0, closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

purplecones picture purplecones  路  3Comments

MrOrz picture MrOrz  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

tirli picture tirli  路  3Comments

shilman picture shilman  路  3Comments