Open Aetet opened 5 years ago
I am facing the same issue.
Thanks! Do you have both mdx-deck
and @mdx-deck/export
installed as development dependencies locally?
Yes, I have
I worked around this by manually modifying /node_modules/mdx-deck/index.js
with named exports
export * from '@mdx-deck/components'
import * as themes from '@mdx-deck/themes'
import * as Layouts from '@mdx-deck/layouts'
export {
themes,
Layouts
}
then mdx-deck-export pdf deck.mdx
worked.
Doesn't work for me either, tried @filoxo suggestion but still same error
EDIT: Never mind, it did work. I had a typo :man_facepalming:
This was applicable to v2. Is it still applicable to v3? I haven't been able to test v3 yet.
Adding some example exported decks to the readme is essential. I personally came here and wasn’t at all reassured of the portability of presentations made by this software. Adding “/print” to the demo also only showed the first slide on my ipad.
Hello. When I try to export my presentation like:
I have following error:
presentation file: https://github.com/Aetet/history/blob/master/history.mdx