ericclemmons / ericclemmons/polydev

MDX example

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
282
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

No, `index.mdx` doesn't work out of the box.

But I think that's fine. Because `index.mdx` and `about.md` aren't routes.

I think it makes more sense to have:

- `routes/docs/:page/index.js`
- Something like: https://github.com/mdx-js/mdx/tree/master/packages/runtime

Or, recommend using Next:

- https://github.com/zeit/next-plugins/tree/master/packages/next-mdx

Why not just render it? Because the moment you want to customize providers, you need an escape hook.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.