feat: render hooks for headings, code blocks, blockquotes and tables
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C#
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 10 h 23 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MASS4ORG/Fanstatic
-
c:templates p:low size:S t:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
-
c:content good first issue p:low size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
-
c:templates p:medium size:M t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
c:content p:medium size:L t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
c:templates p:medium size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 57/100
Todos los issues de MASS4ORG/Fanstatic
Issues similares
-
documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 62/100
-
bug misleading tooling trivial
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Docs example projects pinned to a literal library version instead of 3.*Posiblemente ocupada @DaveSkender la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
facioquo/stock-indicators-dotnet#2372 ·
Los mantenedores suelen responder en 1 día
-
[Docs] officecli-docx SKILL.md still describes `\n` as a soft line break after #262Posiblemente ocupada @giprime la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Facepunch/sbox-public#12097 ·
Los mantenedores suelen responder en 2 días