jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Steps the default behavior for lists resp. anything

danrot opened this issue · comments

I would like to let the Steps component to be used in every slide I make, without manually using it in the mdx file. Is there any possibility to do so?

I know that I could just copy over that part to all slides, but that does not feel very comfortable... I have chosen this library to build something in just markdown, and I don't want to start code in mdx files more than necessary. Having just everything appear like using steps would be a great was forward for this.

You can replace any markdown element with a custom component in MDX, see https://mdxjs.com/getting-started/#mdxprovider