OKF: Convert Wikilinks
okf_convert_linksConvert resolvable wikilinks in your vault to OKF bundle-root-absolute markdown links, preserving the link graph. Unresolvable links are left unchanged.
Instructions
Rewrite wikilinks as OKF bundle-root-absolute markdown links.
A migration transform (Open Knowledge Format): converts every
resolvable [[wikilink]] in the vault (or one folder) into
[text](/path/note.md), OKF's recommended link style. Only links
whose target is indexed are converted, so the link graph is
preserved exactly — a converted link points at the same note the
wikilink resolved to. Unresolvable wikilinks are left untouched and
counted as skipped. Each changed note is written through the normal
write path (git commit if configured). Re-running is safe: already-
converted links are plain markdown and are not touched again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Restrict to this folder subtree (e.g. "guides"). Omit to convert the whole vault. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||