mirror of
https://github.com/mnaoumov/obsidian-backlink-full-path.git
synced 2026-07-22 05:41:39 +00:00
Ship a curated demo-vault/ for Backlink Full Path, bootstrapped by the release-injected obsidian-dev-utils demo-vault-helper. Three same-named Meeting notes in different folders link to a shared note so the Backlinks pane shows each one's full path; a Settings note documents every option. Add a static registerDemoVaultCoverageSuite no-app test, the project dprint.json (excludes demo-vault), and the README demo vault access section.
10 lines
447 B
TypeScript
10 lines
447 B
TypeScript
// Per-vault startup script, run by the universal Demo Vault Helper plugin (via CodeScript
|
|
// Toolkit's require) once CodeScript Toolkit is installed and enabled. This is where each
|
|
// plugin's demo vault does its own startup setup. Here it just opens the landing note.
|
|
|
|
const START_NOTE_PATH = '00 Start.md';
|
|
|
|
const startNote = app.vault.getFileByPath(START_NOTE_PATH);
|
|
if (startNote) {
|
|
void app.workspace.getLeaf(false).openFile(startNote);
|
|
}
|