ericclemmons / ericclemmons/polydev
MDX example
- Lenguaje dominante
- JavaScript
- Estrellas
- 282
- Forks
- 6
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Review the proposed routes/docs/:page/index.js structure and the referenced MDX runtime and Next MDX examples. Determine which MDX behavior or example this issue should specify, and define completion around an agreed route or rendering approach.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- web-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100