Skip to content

Commit 27a40ac

Browse files
committed
Add small disclosure about syntax migration & scan
1 parent dd71401 commit 27a40ac

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ You can migrate existing notes:
7474

7575
Each migration opens a review modal listing matching files with counts. Deselect any
7676
files you want to skip, then confirm the migration (it edits your files).
77+
Vault-wide Markdown file scanning is used only for these user-initiated migrations, not during
78+
normal rendering or autocomplete.
7779

7880
## Autocomplete
7981
Type the configured opener (`[%` or `{{`) to see a dropdown of frontmatter keys

src/migration-modal.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export class MigrationModal extends Modal {
4040
? "Finds backticked `=this.key` and converts to the selected syntax format."
4141
: "Finds other syntax formats and converts them to the selected syntax format.",
4242
});
43+
contentEl.createEl("p", {
44+
text: "This scans Markdown files in your vault only after you open this review, and only edits files you confirm.",
45+
});
4346

4447
this.listEl = contentEl.createDiv({cls: "embed-metadata-migration-list"});
4548
this.listEl.setText("Scanning files...");

0 commit comments

Comments
 (0)