Repository navigation
Description
Bug: graphify export wiki emits Obsidian [[wikilinks]] that break in every non-Obsidian renderer
Summary
graphify export wiki writes index.md and article files using Obsidian-style
[[Title]] wikilinks, but writes the article filenames with spaces replaced
by underscores (and other chars sanitized). Obsidian resolves [[Title]] by note
title internally, so it works there — but in VS Code preview, GitHub, GitLab, or a
plain browser, [[Domain Data Models]] resolves literally to Domain Data Models.md,
which does not exist (the file is Domain_Data_Models.md). Result: nearly every
navigation link in the generated wiki opens an empty page.
Reproduction
graphify <any-corpus> --wiki(orgraphify export wikion an existing graph)- Open
graphify-out/wiki/index.mdin VS Code preview / GitHub / a browser (not Obsidian) - Click any community or god-node link, e.g.
[[Domain Data Models]] - Lands on an empty/non-existent page
Expected
Links resolve in any markdown renderer, Obsidian included.
Actual
- Link text:
[[Domain Data Models]] - Actual file:
Domain_Data_Models.md - These reconcile only inside Obsidian.
In one real run: index + 38 articles contained 206 [[...]] links. 108 were
community/god-node navigation links (all broken outside Obsidian). The other 98
were node-level links such as [[AwsHelper.py]] and [[.read_object_key_content_from_s3()]]
— these point at nodes for which the exporter never writes an article file at all,
so they are dead even inside Obsidian.
Two distinct defects
- Link/filename convention mismatch. Emit standard relative markdown links
[Display](Domain_Data_Models.md)(the exact filename, URL-encoded or<...>-wrapped
if it contains spaces/parens/&). These work everywhere, Obsidian included.
Alternatively, gate[[...]]output behind an--obsidian-style flag. - Links to non-existent articles. The exporter links to individual nodes
([[AwsHelper.py]],[[.method()]]) but only generates article files for
communities and god nodes. Either generate those article files, or render
non-article nodes as plain text instead of dead links.
Environment
- graphify (PyPI package
graphifyy), installed viauv tool - Robot Framework / Python test corpus, ~69 files
- Observed on Linux; renderer-agnostic (any non-Obsidian markdown viewer)
Workaround in use
A post-export normalizer rewrites [[Title]] → [Title](Filename.md) using a
resolver built from each file's H1 title + filename stem (with _↔space variants),
wrapping targets containing spaces/&/parens in <...>. Links with no matching
article file are downgraded to plain text. Idempotent. Happy to contribute it as a PR.
Activity
safishamsi commentedon Jun 23, 2026
Feel free to send a pr :)
safishamsi commentedon Jun 27, 2026
Fixed in 0.8.50 (PR #1465, thanks @restagner for the report).
export wikinow emits portable relative[display](slug.md)links (URL-encoded) instead of Obsidian[[wikilinks]], so navigation works in GitHub/GitLab/VS Code preview/plain browsers and Obsidian alike; articleless neighbors render as plain text instead of dangling.pip install -U graphifyy.fix(report): don't emit dangling [[_COMMUNITY_*]] wikilinks by default (
fix(wiki): portable relative markdown links so navigation works outsi…
release: 0.8.50
fix(report): don't emit dangling [[_COMMUNITY_*]] wikilinks by default (