feat: render hooks for headings, code blocks, blockquotes and tables
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C#
- Stelle
- 1
- Fork
- 0
- Merge medio
- 13h 50m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MASS4ORG/Fanstatic
-
c:templates p:low size:S t:task
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
-
c:content good first issue p:low size:S t:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
-
c:templates p:medium size:M t:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
c:content p:medium size:L t:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
c:templates p:medium size:S t:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 57/100
Tutte le issue di MASS4ORG/Fanstatic
Issue simili
-
:watch: Not Triaged async-task-programming/subsvc dotnet-csharp/svc
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parseForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertapython triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
microsoft/semantic-kernel#14590 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
Needs-Triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
PowerShell/PowerShell#28194 ·
I maintainer di solito rispondono entro 1 giorno
-
AI Projects Client customer-reported needs-team-attention question Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Azure/azure-sdk-for-net#63804 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno