Use this skill when the vault lives on Windows but is being accessed from WSL through /mnt/.
Do not assume a fixed vault path.
Common patterns:
C:\Users\\Documents\\ D:\Notes\\ /mnt/c/Users//Documents// /mnt/d/Notes// Treat the vault root as the directory containing the Obsidian note tree.
Windows -> WSL: C:\path\to\file -> /mnt/c/path/to/file
Windows -> WSL: D:\path\to\file -> /mnt/d/path/to/file
WSL -> Windows: /mnt/c/path -> C:/path
WSL -> Windows: /mnt/d/path -> D:/path
Replace backslashes with forward slashes and lowercase the drive letter under /mnt/.
cat "/mnt/<drive>/<vault>/<path>/<filename>.md"
Prefer rg for speed:
rg "search term" "/mnt/<drive>/<vault>/"
Edit the markdown file in place with targeted changes instead of rewriting the whole note when possible.
Use a minimal template when metadata is needed:
---
title: Note Title
tags: []
---
# Note Title
.mdtitle, tags, and aliases[[Note Name]]![[Note Name]]> [!type]共 1 个版本