Mdx-deck: Page Numbers

Created on 1 Aug 2018  Â·  4Comments  Â·  Source: jxnblk/mdx-deck

An option to display the page numbers.

Most helpful comment

Yeah, I think the current Dots should probably move to a default Provider, then a custom Provider would need to add its own dots/progress bar/page numbers etc – starting with components will make it easier to support customization via front matter if that's something we decide to do

All 4 comments

This makes me think that the custom Provider should maybe be inside the SlideDeck component and receive it's state as props – would open up a lot more flexibility in terms of customization

Yes, this would make a lot of sense!

It would be really interesting if we could define a <Footer> and <Header> via mdx that is applicable to all pages. For example always show a logo on the bottom right corner or a show a social media handle.
The <dots /> component could be replaced by something else etc.

Yeah, I think the current Dots should probably move to a default Provider, then a custom Provider would need to add its own dots/progress bar/page numbers etc – starting with components will make it easier to support customization via front matter if that's something we decide to do

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sibelius picture sibelius  Â·  3Comments

wpannell picture wpannell  Â·  4Comments

marcysutton picture marcysutton  Â·  4Comments

jxnblk picture jxnblk  Â·  4Comments

busypeoples picture busypeoples  Â·  5Comments