feat: Obsidian-style [[wikilinks]] in content
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start with Fanstatic/Helpers/SiteHelper.cs to see how Markdig extensions are registered, then read Parsers/RefShortcodeParser.cs for reference resolution and its error handling. Inspect the test conventions in Fanstatic.Test/ and fixture sites in .TestSites/; run ./build.sh test. Done means the acceptance cases resolve to expected permalinks, unresolved links log errors, and MissingWikiLinkAsError: true fails the build.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current State
Markdown content cannot express Obsidian-style [[wikilinks]]. Markdig's UseAdvancedExtensions() (Fanstatic/Helpers/SiteHelper.cs:18-20)
has no wikilink extension, so [[target]] renders as literal text. Hugo sites resolve [text](_)
links through a _markup/render-link.html hook; that is tracked separately by #34.
Tasks:
- New Markdig inline extension recognizing
[[target]]and[[target|label]](Helpers/WikiLinkExtension.cs) - Resolve
targetmirroringref/relref(Parsers/RefShortcodeParser.cs): a content path such as
posts/foo.mdor/posts/foo.md, and a taxonomy target such astags/sucos; a bare[[sucos]]
tries a taxonomy term first, then a page by path/name. Language and output format default to the
calling page's. - Unresolved target renders a link to
./and logs an error (build keeps going), matchingRefShortcodeParser -
fanstatic.yamlsettingMissingWikiLinkAsError(bool, defaultfalse) to escalate unresolved
wikilinks to build-failing errors - Alias resolution is intentionally out of scope (aliases are a post-processed page element)
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:
- Fixture site:
[[posts/foo.md]],[[tags/x]], and bare[[x]]resolve to the expected permalinks;
[[unknown]]renders./with an error logged; withMissingWikiLinkAsError: truethe build fails.
Related:
- #33 (Phase 3 epic, parent)
- #34 (render hooks for links and images; wikilink output can later route through it)
- #40 (Markdown extensions configurable in YAML)
- Lenguaje dominante
- C#
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 7 h
- PR fusionados (30 d)
- 6
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
Los mantenedores suelen responder en 1 día
-
c:content good first issue p:low size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
c:templates p:medium size:M t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
c:content p:medium size:L t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
c:templates p:medium size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 57/100
Los mantenedores suelen responder en 1 día
Todos los issues de MASS4ORG/Fanstatic
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr clawsweeper:not-repro-on-main impact:ux-release-blocker issue-rating: 🦪 silver shellfish P0
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openclaw/openclaw-windows-node#1843 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
kind:ux size:S type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elsa-workflows/elsa-foundation#3256 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Posiblemente ocupada @Wurschdhaud la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
pyrevitlabs/pyRevit#3817 ·
Los mantenedores suelen responder en 1 día
-
bug effort:S P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nightscout/nocturne#2449 ·
Los mantenedores suelen responder en 1 día