From 12ee31e2d6938e0c83bd603b1ccd163b38eb2202 Mon Sep 17 00:00:00 2001 From: Kodai Nakamura Date: Fri, 28 Nov 2025 00:06:40 +0900 Subject: [PATCH 1/3] chore: update README with new feature details --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 51f76e6..752b111 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,9 @@ Automatic Linker Plugin automatically converts plain text file references into O - **Prevent Linking:** You can prevent specific files from being automatically linked from other files by adding `automatic-linker-prevent-linking: true` to the file's frontmatter. This is useful for private notes or files you don't want to appear in automatic links. +- **Remove Aliases in Directories:** + Specify directories where link aliases should be automatically removed. For example, if you configure `dir` as a target directory, the plugin will convert `[[dir/xxx|yyy]]` to `[[dir/xxx]]`. This applies to both auto-generated aliases (like `[[dir/file|file]]`) and frontmatter aliases. This is useful for keeping links clean in specific directories where you prefer full paths without aliases. + - **Month Note Ignorance:** File references that consist solely of one or two digits (e.g. `1`, `01`, `12`) are commonly used to denote month notes. The plugin automatically ignores these as candidates unless they are explicitly namespaced (e.g. `namespace/01`), preventing unwanted link conversion. From 311e3a6402ddabb2486c3c269a19317e893950e5 Mon Sep 17 00:00:00 2001 From: Kodai Nakamura Date: Fri, 28 Nov 2025 00:07:02 +0900 Subject: [PATCH 2/3] chore: update README with Obsidian Linter usage instructions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 752b111..f2e6e26 100644 --- a/README.md +++ b/README.md @@ -62,3 +62,12 @@ Automatic Linker Plugin automatically converts plain text file references into O - Fetched titles are cached to minimize network requests. - Ignores URLs already in Markdown links, angle brackets, or code blocks. - Supports an internal list of domains to ignore (not yet configurable via UI). + +## Usage with Obsidian Linter + +To use this plugin with Obsidian Linter, ensure that the "Format on Save" option is disabled in Automatic Linker settings. Then, in Obsidian Linter settings, add "Automatic Linker: Format Current File" to the list of formatters to be executed on save. This setup allows Obsidian Linter to manage the formatting process while still utilizing Automatic Linker's link conversion capabilities. + +1. Disable "Format on Save" in Automatic Linker settings. +2. Open Obsidian Linter settings. +3. Add "Automatic Linker: Format Current File" to the `Custom Commands` setting. +4. Enable Obsidian Linter's format on save feature. From 1e70b876447272c97dbc5993003dbf240bafd353 Mon Sep 17 00:00:00 2001 From: Kodai Nakamura Date: Fri, 28 Nov 2025 00:07:17 +0900 Subject: [PATCH 3/3] 1.16.0 --- manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index ceea40e..20e8e10 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "automatic-linker", "name": "Automatic Linker", - "version": "1.15.1", + "version": "1.16.0", "minAppVersion": "1.9.0", "description": "Automatically converts plain text file references into wiki links (i.e. `[[...]]`)", "author": "Kodai Nakamura", diff --git a/package.json b/package.json index 6c4a49f..cf5d4e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "automatic-linker", - "version": "1.15.1", + "version": "1.16.0", "description": "Automatically converts plain text file references into Obsidian wiki links (i.e. `[[...]]`)", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 48c57e7..55dc8b5 100644 --- a/versions.json +++ b/versions.json @@ -75,5 +75,6 @@ "1.13.2": "1.9.0", "1.14.0": "1.9.0", "1.15.0": "1.9.0", - "1.15.1": "1.9.0" + "1.15.1": "1.9.0", + "1.16.0": "1.9.0" } \ No newline at end of file