catalog icon indicating copy to clipboard operation
catalog copied to clipboard

Working with MDX files.

Open piotrfonte opened this issue 5 years ago • 2 comments

It seems to be possible to write documentation pages in mdx. However, when loading mdx pages, they come out sans styles:

Screenshot 2019-06-13 at 13 49 11

Is there a neat way to wrap mdx output with PageRenderer or apply some other magic to fix this?

piotrfonte avatar Jun 13 '19 11:06 piotrfonte

I don't have too much experience with mdx but I don't think it's possible in an easy way without explicit support from Catalog. You'd have to map all internal components like headings, paragraphs etc. to mdx – and even then I'm not sure how Specimens would work …

jstcki avatar Jun 17 '19 13:06 jstcki

Wouldn't Catalog be an alternative/replacement to MDX though?

johnsBeharry avatar Aug 11 '20 17:08 johnsBeharry