Unlinked Mentions
A Space Lua plug that shows unlinked mentions (pages that reference the current page name in plain text but don't have a [[wikilink]] to it) at the bottom of every page, with one-click conversion to proper wikilinks.
Features
- Full-text search via Silversearch
- Exact substring verification — no false positives from fuzzy matching (Silversearch's fuzzy search would match "Journal/2026-08-07" when searching for "Journal/2026-08-11", so every result is double-checked against actual page text)
- One-click
+button to convert the first safe mention to[[wikilink]] - Link all button for batch conversion
- Safe replacement — skips frontmatter, code blocks, inline code, existing links, and URLs
- Alias support via frontmatter, converts to
[[page|alias]] - Collapsible section, configurable default open/close
- Works with Chinese tokenizer
- Pure Space Lua, zero build — just drop one
.mdfile into your space
Requirements
- SilverBullet v2.x
- Silversearch (install via Configuration Manager first)
Installation
- Download Unlinked Mentions.md
- Place it anywhere in your space as a
.mdfile - Reload SilverBullet
If you place it somewhere other than Library/kiefeng/Unlinked Mentions.md, update the name field in the file's frontmatter to match its actual path.
Configuration
config.set("std.widgets.unlinkedMentions", {
enabled = true,
maxResults = 30,
minTermLength = 2,
defaultOpen = true,
excludeFolders = {"Library/", "System/", "template/", "Template/"}
})
Repository
Feedback, issues, and PRs welcome!
