---
title: wikilinkResolver
description: >-
  The note a wikilink target names from anywhere in the vault, as
  `core:resolve-links` resolves it, or null. A target that `closest` would
  settle by the linking note's folder names no note here.
updated_at: '2026-11-12T09:19:22+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: function
  name: wikilinkResolver
  signatures:
    - >-
      wikilinkResolver(ctx: [[reference/api/core/PluginContext|PluginContext]]):
      (target: string) => string | null
  parameters:
    - name: ctx
      type: '[[reference/api/core/PluginContext|PluginContext]]'
  returns:
    type: '(target: string) => string | null'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/resolve-links.ts#L94
---

# wikilinkResolver
