feat: render hooks for headings, code blocks, blockquotes and tables
まだ誰も着手していません。
評価
調査の方向性
Read the link/image hooks work in #34 and inspect the Markdig rendering and fixture patterns in Fanstatic.Test/ and .TestSites/. Add hooks for headings, code blocks, blockquotes (including GitHub alerts), and tables while preserving output when hooks are absent. Add a fixture for each hook and run ./build.sh test; meet the stated coverage and CRAP thresholds.
索引モデルが issue の本文から書いたものです。
説明
Part of the Phase 3 epic (#33).
Current State
After the link/image hooks, the other common customization points still use Markdig's fixed HTML.
Tasks:
-
_markup/render-heading.html(heading.Level,heading.Text,heading.Anchor) -
_markup/render-codeblock.htmland_markup/render-codeblock-<lang>.html(code.Lang,code.Inner,
code.Attributes), language-specific first, e.g.render-codeblock-mermaid.html -
_markup/render-blockquote.htmlwith GitHub alert support (> [!NOTE]→blockquote.AlertType) -
_markup/render-table.html - Reuse the infrastructure from the link/image hooks issue
Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.
Acceptance Criteria:
- Each hook covered by a fixture; no output change without hooks.
Related:
- #33 (Phase 3 epic, parent)
- Depends on #34
- 主要言語
- C#
- スター
- 1
- フォーク
- 0
- 平均マージ
- 10時間 23分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MASS4ORG/Fanstatic のほかの issue
-
c:templates p:low size:S t:task
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
c:content good first issue p:low size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
-
c:templates p:medium size:M t:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
c:content p:medium size:L t:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
c:templates p:medium size:S t:feature
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
MASS4ORG/Fanstatic の issue をすべて見る
似ている issue
-
7.0
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
unoplatform/uno.extensions#3253 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Sector-Vestige/Sector-Vestige#476 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PowerShell/platyPS#868 ·
-
S: Untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Trauma-Station/Trauma-Station#5058 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信