content: assess a maintained MDX rendering path

オープン
#76 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, next.js, react, typescript

調査の方向性

Start with src/components/note-body.tsx, SAFE_MDX_OPTIONS, and the current next-mdx-remote dependency; compare maintained alternatives with a narrowly scoped maintenance strategy. Review the compatibility, licensing, runtime and bundle effects, maintenance cost, and issues #38 and #73 before documenting a choice. Done means the comparison supports the approach, safety and compatibility requirements are preserved, and the specified production-build and browser tests pass.

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

説明

dependencies enhancement help wanted

Maintenance finding

The upstream hashicorp/next-mdx-remote repository is archived as of this review (2026-11-10). This project currently pins version 6.0.0 and uses next-mdx-remote/rsc in src/components/note-body.tsx.

Sources: upstream repository and license. The current dependency audit reported no known production vulnerability; archival is a maintenance concern, not evidence of an active exploit.

Scope

  • Compare a maintained rendering approach with a narrowly scoped maintenance strategy for the current renderer. Record compatibility, licensing, bundle/runtime effects and maintenance cost before adding a replacement dependency.
  • Preserve SAFE_MDX_OPTIONS: reject raw HTML, JSX and expressions instead of evaluating or silently dropping them.
  • Preserve link/image sanitization, same-site image policy and filesystem/path isolation.
  • Keep the reviewed Markdown/MDX content contract, metadata, static generation and active dashboard/guide readers compatible.
  • Coordinate with #38 (Markdown tables) and #73 (legacy reader cleanup), so those tasks do not create a second rendering pipeline.
  • Document the selected approach and any migration steps; keep this separate from executing arbitrary student-supplied MDX.

Done when

A recorded comparison supports the chosen implementation, any new dependency is reviewed, and existing content safety, rendering, production-build and browser tests pass. Malicious HTML/JSX/expression and invalid-link fixtures remain rejected. Original learning content and its public URLs keep working.

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
8時間 58分
マージ済み PR(30日)
37

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

procoderji-com/procoderji のほかの issue

procoderji-com/procoderji の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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