ValidTitle

approved

by sxjeel

Automatically prevents 'File name cannot contain...' errors by safely sanitizing illegal characters in wikilinks. - This plugin has not been manually reviewed by Obsidian staff.

1 stars59 downloadsUpdated 27d agoMIT

ValidTitle for Obsidian

617728131-c467e446-edc6-4fb5-be70-83a07a5438be

A lightweight, zero-configuration plugin that automatically sanitizes invalid Windows filename characters inside wikilinks ([[...]]) preventing Obsidian's annoying "File name cannot contain..." error popup.

How it works

When you type or click on a link with an illegal character (like [[French Revolution: Causes?]]), ValidTitle intercepts the link creation and automatically fixes it to [[French Revolution - Causes]] in a millisecond.

It safely ignores aliases (|), markdown tables, code blocks, and headings (#).

Replaces:

  • : with -
  • / \ | with -
  • removes * ? " < >

Usage

Just enable the plugin. There are no settings, no ribbons, and no commands. It simply works silently in the background.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.