joplin-plugin-tag-navigator 2.6.2 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,6 +6,7 @@ Type inline tags or frontmatter in the note editor. View your tagged paragraphs
6
6
 
7
7
  - [Community discussion thread](https://discourse.joplinapp.org/t/plugin-inline-tag-navigator-v0-8-0-2024-06-26/35726)
8
8
  - [Release notes](CHANGELOG.md)
9
+ - [Quick Start](#quick-start)
9
10
  - [Features](#features)
10
11
  - [Demos](#demos)
11
12
  - [Tips](#tips)
@@ -13,6 +14,16 @@ Type inline tags or frontmatter in the note editor. View your tagged paragraphs
13
14
  - [Motivation](#motivation)
14
15
  - [Objectives](#objectives)
15
16
 
17
+ ## Quick Start
18
+
19
+ Get started in 3 steps:
20
+
21
+ 1. **Add tags to your notes**: Type `#project`, `#todo`, `#idea`, or any `#tag-name` in your note text.
22
+ 2. **Search your tags**: In the search panel, click a tag to add it to your query, then press Enter to search. Results show all matching paragraphs across your notes.
23
+ 3. **Interact with results**: Click checkboxes to toggle task states, or right-click on tags and results for more options (edit tags, switch between 6 task states, show/hide panel sections).
24
+
25
+ For video tutorials, see the [Demos](#demos) section or the [full playlist](https://www.youtube.com/playlist?list=PLV4DhNiuF20XCdqNEo1a190dkNFo69rd-).
26
+
16
27
  ## Features
17
28
 
18
29
  This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://joplinapp.org) in six ways:
@@ -29,8 +40,9 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
29
40
  - **Nested tags** hierarchy: Search parent tags to find the locations of their children. Example: #parent/child. ([video](https://www.youtube.com/watch?v=h-HdX7npbIw))
30
41
  - **Tag values**: Assign values to tags. Example: #tag=value. ([tips](#tag-values))
31
42
  - **Tag ranges**: Search for a range of tags, according to their lexicographic order. Example: #2024/07 -> #2024/08. ([tips](#tag-ranges))
32
- - **Today's date**: Search tags by today's date. Examples: #today, #today+1 (tomorrow), #today-10 (ten days ago). ([tips](#tag-ranges))
43
+ - **Date tags**: Search tags by today's date, this month, or a day in the current week. Examples: #today, #today+1 (tomorrow), #week+1 (Monday). ([tips](#date-tags))
33
44
  - **Colour tags**: Use colour tags to highlight results in the search panel. Example: #color=red. ([tips](#colour-tags))
45
+ - **Context expansion**: Reveal surrounding lines around search results to see more context. ([tips](#context-expansion))
34
46
  2. It can generate a note with all tagged paragaraphs that match a saved query (dynamically updated). ([video](https://www.youtube.com/watch?v=GuzCwYxyYZ0), [tips](#saved-queries))
35
47
  - Save a query in a note, and switch note view on: `Tools --> Tag Navigator --> Toggle search results display in note` .
36
48
  - Display results:
@@ -84,6 +96,7 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
84
96
  - [Table views](#table-views)
85
97
  - [Kanban views](#kanban-views)
86
98
  - [Filtering results](#filtering-results)
99
+ - [Context expansion](#context-expansion)
87
100
  - [Inline TODOs](#inline-todos)
88
101
  - [Colour tags](#colour-tags)
89
102
  - [Styling inline tags](#styling-inline-tags)
@@ -128,6 +141,12 @@ Date tags provide flexible ways to work with dates in your notes, supporting bot
128
141
  - **Week tags**: Use `#week` for the start of the current week, or add arithmetic like `#week+7` (next week).
129
142
  - Example: `#week` becomes `#2025-01-13` (if the current week starts on January 13, 2025)
130
143
  - The start day of the week can be configured in settings
144
+ - **Nested date tags**: Date arithmetic works in nested tag structures, enabling dynamic date ranges with semantic context.
145
+ - Example query: `#deadline/#today -> #deadline/#today+30` finds all deadlines in the next 30 days
146
+ - Results like: `#deadline/2025-11-09`, `#deadline/2025-12-09` (date prefix is stripped from nested parts)
147
+ - Example query: `#project/milestone/#week -> #project/milestone/#week+14` finds project milestones in the coming two weeks
148
+ - In notes, write absolute dates directly: `#deadline/2025-12-09`
149
+ - **Note**: To use date arithmetic in nested tags directly in notes (e.g., `#deadline/#today+30`), customize the tag pattern in Settings → Tag Navigator → Tag regex by removing `#` from the exclusion list: `(?<=^|\s)#([^\s'",.()\[\]:;\?\\]+)`
131
150
 
132
151
  #### Converting relative to absolute dates
133
152
 
@@ -347,6 +366,16 @@ This example searches for paragraphs that have both `#artist` AND `#album` tags,
347
366
  - Example: `"!references/"` excludes notebooks containing "references" in their path.
348
367
  - You may also enable `Search: Use regex for tag / note / content filtering` to filter using regular expressions.
349
368
 
369
+ ### Context expansion
370
+
371
+ Context expansion lets you reveal surrounding lines around search results to see more context without opening the note.
372
+
373
+ - Click the **↑** arrow on any search result section to show more lines above and below the matched content.
374
+ - Click again to expand further (up to 3 levels).
375
+ - When fully expanded, click **↓** to collapse back to the original view.
376
+ - The expanded context is dimmed to help distinguish it from the core matched lines.
377
+ - Configure the number of lines revealed per click in the setting `Search: Context expansion (show surrounding lines)`. Set to 0 to disable.
378
+
350
379
  ### Inline TODOs
351
380
 
352
381
  - Filter results by pending tasks (`"- [ ]"`) or ones done (`"- [x]"`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "2.6.2",
3
+ "version": "2.7.0",
4
4
  "scripts": {
5
5
  "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
6
6
  "prepare": "npm run dist",
@@ -6,7 +6,7 @@
6
6
  "desktop",
7
7
  "mobile"
8
8
  ],
9
- "version": "2.6.2",
9
+ "version": "2.7.0",
10
10
  "name": "Inline Tag Navigator",
11
11
  "description": "Type inline tags or frontmatter in the note editor. View your tagged paragraphs and tasks / TODOs in a search panel, or in a generated note / kanban. Build a table view / database from notes and tags. Convert between Obsidian tags and Joplin tags.",
12
12
  "author": "Alon Diament",
@@ -24,6 +24,6 @@
24
24
  ],
25
25
  "screenshots": [],
26
26
  "icons": {},
27
- "_publish_hash": "sha256:9b5c436e59f6344deccc4679e81e16da3274c03faf907b212a27f4062e3a4e5b",
28
- "_publish_commit": "main:54cee43045971b2543bcb5789d2593f158f3b732"
27
+ "_publish_hash": "sha256:436d648da02ddcb47fd0b3022cfbbd0428b01ce5c38c67847ae9c62e65056c60",
28
+ "_publish_commit": "main:ce71183111c9487a1b4ce5d8f36a4453f9e55442"
29
29
  }