with-heart
with-heart
Hi @yudai-nkt, I am using [Dracula](https://github.com/zenorocha/dracula-theme).
Awww @cameronelliott, not a bother at all! Thanks so much for sharing! It makes me happy to know it's been so helpful for you! β€οΈ
For the time being, I created a CodeSandbox demonstration: https://codesandbox.io/s/interesting-blackburn-oldox?file=/src/App.tsx Really need to add validation and show off `FieldErrorMessage` as well.
`mdx-deck` is tied heavily into Gatsby. In fact, if you look at `packages/mdx-deck/index.js`, it's just exporting `@mdx-deck/gatsby-plugin`: https://github.com/jxnblk/mdx-deck/blob/08b1ca4673cd448a3552e9f003bdd4bda2c80268/packages/mdx-deck/index.js#L4
I opened #2360 to try to handle some of the tooling/config stuff needed to support the rest of the conversions. As of right now, it's mostly focused on `tsconfig.json` files...
@steveruizok I spent more time on this today than I'd care to admit π but I think I've come up with something that feels pretty good Still need to actually...
Played around with it, seems to be working!
Actually I wasn't thorough enough with testing. It works fine if `document` has a single page or `currentPageId` corresponds to the first page in `document.pages`. If you have multiple pages...
In the current state, we can at least pass an `onMount` callback that calls `app.changePage(currentPageId)` to set the correct page after the document loads. Maybe that's enough for a temporary...
Sorry this has been languishing! Will try to get it updated and ready for merge later today. Gonna go with the `onMount` callback to make things work for now