Skip to content

WINDOWS_UNSAFE_PATH_CHARS

The characters Obsidian refuses in a file name on Windows.

Read from Obsidian 1.15.0’s app.js, whose name check throws on this set from app.vault.create, a rename and Sync alike.

Import:

import { WINDOWS_UNSAFE_PATH_CHARS } from '@mnaoumov/obsidian-lib/validation';

Signature:

const WINDOWS_UNSAFE_PATH_CHARS: RegExp

Type: RegExp


Links to this page: