joplin-plugin-tag-navigator 2.1.4 → 2.3.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
|
@@ -18,6 +18,7 @@ Type inline #tags or front matter in the note editor. View your tagged paragraph
|
|
|
18
18
|
This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://joplinapp.org) in five ways:
|
|
19
19
|
|
|
20
20
|
1. It adds a panel for searching and viewing tagged paragraphs across all your notes. ([video](https://www.youtube.com/watch?v=im0zjQFoXb0))
|
|
21
|
+
- **Search queries**: Search tags using logical operators (AND, OR, NOT), and using free text in the note, title, or notebook name / path.
|
|
21
22
|
- **Save search queries** in notes and sync them across device. ([video](https://www.youtube.com/watch?v=GuzCwYxyYZ0))
|
|
22
23
|
- **Tag-by-notes:** Search for links or [[wikilinks]] to notes (including backlinks to the current note).
|
|
23
24
|
- **Tag in front matter:** All Markdown front matter fields can be treated as tags. ([video](https://www.youtube.com/watch?v=L3zHletRk54), [tips](#front-matter-tags))
|
|
@@ -71,6 +72,7 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
|
|
|
71
72
|
- [Tag values](#tag-values)
|
|
72
73
|
- [Front matter tags](#front-matter-tags)
|
|
73
74
|
- [Table views](#table-views)
|
|
75
|
+
- [Filtering results](#filtering-results)
|
|
74
76
|
- [Inline TODOs](#inline-todos)
|
|
75
77
|
- [Colour tags](#colour-tags)
|
|
76
78
|
- [Keyboard shortcuts](#keyboard-shortcuts)
|
|
@@ -82,9 +84,9 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
|
|
|
82
84
|
|
|
83
85
|
### Custom tag definitions
|
|
84
86
|
|
|
85
|
-
- The definition of a "tag" can be adjusted with user-defined regular expressions.
|
|
87
|
+
- The definition of a "tag" can be adjusted with user-defined regular expressions (see the advanced setting `Tag regex`).
|
|
86
88
|
- Example: Every word in the text may be defined as a tag using a custom regex such as `[A-Za-z0-9]+[\w]*`.
|
|
87
|
-
- You may also define an exclusion rule to ignore certain tags.
|
|
89
|
+
- You may also define an exclusion rule to ignore certain tags (see the advanced setting `Exclude regex`).
|
|
88
90
|
- Example: Numeric (`#123`) or hexanumeric (`#C0FF1E`) tags can be filtered using an exclusion regex such as `#(\d+|[a-fA-F0-9]{6})$`.
|
|
89
91
|
|
|
90
92
|
### Tag insertion
|
|
@@ -189,10 +191,18 @@ These tags will be accessible in the search panel / notes / tables like standard
|
|
|
189
191
|
}
|
|
190
192
|
```
|
|
191
193
|
|
|
194
|
+
### Filtering results
|
|
195
|
+
|
|
196
|
+
- Text entered in the results filter (on the panel or in a saved query) can be used to search within title of the notes, their notebook name / path, or the content of the displayed results.
|
|
197
|
+
- To gain more control over filtering by notebook, you may enable the setting `Search: Extract the full notebook path`.
|
|
198
|
+
- Example: Limit results to a notebook that appears in the top level by searching for `|/topNotebook`.
|
|
199
|
+
- Example: Search for `topNotebook/childNotebook` to show only result from childNotebook.
|
|
200
|
+
- You may enable `Search: Use regex for tag / note / content filtering` to filter using regular expressions.
|
|
201
|
+
|
|
192
202
|
### Inline TODOs
|
|
193
203
|
|
|
194
204
|
- Filter results by pending tasks (`"- [ ]"`) or ones done (`"- [x]"`).
|
|
195
|
-
- Add support for [additional tags](https://github.com/CalebJohn/joplin-inline-todo?tab=readme-ov-file#confluence-style) for @mentions, +projects and //due-dates using a custom tag regex such as `(?<=^|\s)([#@+]|\/\/)([^\s
|
|
205
|
+
- Add support for [additional tags](https://github.com/CalebJohn/joplin-inline-todo?tab=readme-ov-file#confluence-style) for @mentions, +projects and //due-dates using a custom tag regex such as `(?<=^|\s)([#@+]|\/\/)([^\s#@+'",.()\[\]:;\?\\]+)`.
|
|
196
206
|
- Supported additional checkbox styles (inspired by `[x]it!`).
|
|
197
207
|
- Set any of them to done by clicking the checkbox in the search panel.
|
|
198
208
|
|
|
@@ -203,7 +213,7 @@ These tags will be accessible in the search panel / notes / tables like standard
|
|
|
203
213
|

|
|
204
214
|
|
|
205
215
|
- You may increase the checkbox size on smaller screens by setting `Search: Panel style` with the CSS `.itags-search-checkbox { width: 18px; height: 18px; font-size: 18px }` (adjust as needed).
|
|
206
|
-
- Furthermore, every checkbox in the text (even ones that are not tagged by any inline #tag) may be defined as a tag using a custom regex such as `(?<=^|\s)([#]
|
|
216
|
+
- Furthermore, every checkbox in the text (even ones that are not tagged by any inline #tag) may be defined as a tag using a custom regex such as `(?<=^|\s)(#([^\s#'",.()\[\]:;\?\\]+)|(\-\s\[[x\s@\?!~]\]))`.
|
|
207
217
|
- You may then use queries to search for tag-tasks based on their state (`- [ ]`, `- [x]`, `- [@]`, ...).
|
|
208
218
|
|
|
209
219
|
### Colour tags
|
|
@@ -265,7 +275,7 @@ These tags will be accessible in the search panel / notes / tables like standard
|
|
|
265
275
|
- You can highlight tags in the Markdown editor using [Rich Markdown](https://github.com/CalebJohn/joplin-rich-markdown) (version ≥ 0.14).
|
|
266
276
|
- In `Joplin settings --> Rich Markdown --> Advanced Settings --> Custom classes JSON` enter:
|
|
267
277
|
```
|
|
268
|
-
[{"name": "rm-tag", "regex": "(?<=^|\\s)#([^\\s#'\"]
|
|
278
|
+
[{"name": "rm-tag", "regex": "(?<=^|\\s)#([^\\s#'\",.()\\[\\]:;\\?\\\\]+)"}]
|
|
269
279
|
```
|
|
270
280
|
- In `Joplin settings --> Appearance --> Custom stylesheet for Joplin-wide app styles` add the following to the style sheet:
|
|
271
281
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-tag-navigator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.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",
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"desktop",
|
|
7
7
|
"mobile"
|
|
8
8
|
],
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.3.0",
|
|
10
10
|
"name": "Inline Tag Navigator",
|
|
11
11
|
"description": "Type inline tags or front matter in the note editor. View your tagged paragraphs and tasks / TODOs in a search panel, or in a generated note. 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:
|
|
28
|
-
"_publish_commit": "main:
|
|
27
|
+
"_publish_hash": "sha256:3d80ed589eb8e48fa51094d60f68b10ffc1885fb3425be3c25b14f545b076f55",
|
|
28
|
+
"_publish_commit": "main:94f9258d26e4b1770e454b1eca5b1af1a1d8c248"
|
|
29
29
|
}
|