Mdx-deck: Allow to set Presenter component via theme

Created on 20 May 2019  路  5Comments  路  Source: jxnblk/mdx-deck

I'm currently working on my own presenter that emphasizes my Notes compared the current and next slides. I've found an easy way to change the Presenter component via theme - which basically requires to merge the themes in MDXDeck component instead of the Provider and then, based on the theme, either render the theme-provided Presenter or the default one. The merged could then also be passed to the Provider in order to not merge it twice.

It's not a lot of code changes and i'd love to contribute them to not have to maintain my fork. What do you think?

Most helpful comment

Sorry, definitely wanna get this in, I just haven't had as much time to focus on mdx-deck recently. Hoping to go through this over the weekend, so hang tight 馃檹

All 5 comments

This would also easily allow things like #46.

Here is a short clip of the presenter that i've built for my presentations - just to give you an idea:
custom-presenter

Thanks! This is a great idea! I was thinking of supporting this with Gatsby theme's shadowing feature in the next release, but I'll try to take a look at the PR in the next few days

I also have my own Presenter, this would be very useful.

@jxnblk any news on this?

Sorry, definitely wanna get this in, I just haven't had as much time to focus on mdx-deck recently. Hoping to go through this over the weekend, so hang tight 馃檹

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wpannell picture wpannell  路  4Comments

dance2die picture dance2die  路  5Comments

Irev-Dev picture Irev-Dev  路  4Comments

busypeoples picture busypeoples  路  4Comments

kwangkim picture kwangkim  路  4Comments