mdx-deck
mdx-deck copied to clipboard
mutiple decks not working
try to use multiple decks like shown in the csb-examples.
// deck.js
import { slides as one } from './one.mdx'
import { slides as two } from './two.mdx'
export const slides = [...one, ...two]
// package.json
"start": "mdx-deck deck.js"
but the result is only one page with "MDX Deck". (like in the example). what's my fault ?
The latest version does not support merging decks like in your example. If you found that example in the docs in this repo, could you please let me know where so that it can be corrected
I found the example here:
https://codesandbox.io/s/github/jxnblk/mdx-deck/tree/master/examples/multiple
referenced in the mdx-deck README.md / Usage Examples / Multiple Decks.
@jxnblk would it be simple enough to post how to do multiple decks?
I would love to help and update the docs.
@jxnblk I'm really interested in this as well! I see this as a critical organizational feature for longer presentations. If there is a new code pattern that allows multiple slide files with the newest version of mdx-deck, let me know how it works and I would be happy to write some docs around it.
Same here, was following the example here https://codesandbox.io/s/github/jxnblk/mdx-deck/tree/master/examples/multiple and it doesn't work either.
@okonet Thanks! Looks like that example should be removed
Is there a way to support merging in the newest version?
@christopherjbaker I am using the old version "mdx-deck": "^2.5.1"
that works reasonably well for me. See here for an example.