ericclemmons / ericclemmons/polydev

MDX example

オープン
#35 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
282
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
web-dev
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。