feat: Markdown extensions configurable in YAML
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp, yaml
- Ambito
- backend, documentation
Direzione di ricerca
Start in Fanstatic/Helpers/SiteHelper.cs at the fixed UseAdvancedExtensions() pipeline, then inspect how fanstatic.yaml is read and the tests in Fanstatic.Test/. Use .TestSites/ to verify that disabling emojis leaves :smile: as text and that default output is unchanged; also test invalid names and document supported extensions. Run ./build.sh test and 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
The Markdig pipeline is fixed to UseAdvancedExtensions() (Fanstatic/Helpers/SiteHelper.cs:18-20) for every
site.
Tasks:
-
Markdown:section infanstatic.yaml, e.g.
Markdown: { Extensions: [pipetables, footnotes, emojis, tasklists, autoidentifiers, smartypants] };
default = today's advanced set - Build the pipeline once per site from the config (needed by the render hooks issues too)
- Unknown extension name: error listing the valid names
- Docs page listing the supported names
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:
- Disabling
emojisleaves:smile:as text on a fixture site; default output unchanged.
Related:
- #33 (Phase 3 epic, parent)
- 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: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
-
c:templates p:high size:M t:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di MASS4ORG/Fanstatic
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
area:re1 bounty help wanted needs-game
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
StackExchange/StackExchange.Redis#3274 ·
I maintainer di solito rispondono entro 1 giorno
-
affected/v17 affected/v18 area/frontend type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
umbraco/Umbraco-CMS#24186 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni