joplin-plugin-tag-navigator 0.4.0 → 0.5.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
@@ -1,6 +1,6 @@
1
1
  # Inline Tag Navigator
2
2
 
3
- This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://joplinapp.org) in three ways:
3
+ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://joplinapp.org) in four ways:
4
4
 
5
5
  - It adds a panel for searching tagged paragraphs across your notes ([video](https://www.youtube.com/watch?v=im0zjQFoXb0)).
6
6
  - Save favourite search queries in notes and sync them across devices ([video](https://www.youtube.com/watch?v=xIBZl2Ala9A)).
@@ -9,6 +9,7 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
9
9
  - Toggle checkboxes / TODOs from the panel.
10
10
  - It adds a panel for navigating between inline tags that appear in the current note.
11
11
  - It can convert your existing inline tags to native Joplin tags, so that they are accessible using Joplin's built-in tag search.
12
+ - It can convert your existing native Joplin tags to inline tags, so that they are accessible using inline tag search (this plugin).
12
13
 
13
14
  After installing the plugin, check the commands listed under `Tag Navigator` in the `Tools` menu, as well as the corresponding settings section.
14
15
 
@@ -24,6 +25,7 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
24
25
 
25
26
  ## Tips
26
27
 
28
+ - If any of the actions on note results does not work (toggling checkboxes, editing tags), this is usually resolved by a database update (Ctrl+Shift+D).
27
29
  - The definition of a "tag" can be adjusted with user-defined regular expressions.
28
30
  - For example, every word in the text may be defined as a tag using a custom regex such as `[A-Za-z0-9]+[\w]*`.
29
31
  - Inline TODOs:
@@ -40,6 +42,25 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
40
42
  | Arrow-Down | Toggle negation of last tag / note in query |
41
43
  | Arrow-Up | Toggle last operator AND <--> OR |
42
44
 
45
+ ## Companion plugins
46
+
47
+ - The excellent [Inline Tags](https://github.com/roman-r-m/joplin-inline-tags-plugin) plugin can help you add tags on the fly.
48
+ - You can highlight tags in the Markdown editor using [Rich Markdown](https://github.com/CalebJohn/joplin-rich-markdown) (version ≥ 0.14).
49
+ - In `Joplin settings --> Rich Markdown --> Advanced Settings --> Custom classes JSON` enter:
50
+ ```
51
+ [{"name": "rm-tag", "regex": "(?<=^|\\s)#([^\\s#]*\\w)"}]
52
+ ```
53
+ - In `Joplin settings --> Appearance --> Custom stylesheet for Joplin-wide app styles` add the following to the style sheet:
54
+ ```
55
+ div.CodeMirror .cm-rm-tag {
56
+ background-color: #7698b3;
57
+ color: white !important;
58
+ padding: 0em 0.2em;
59
+ border-radius: 0.5em;
60
+ display: inline;
61
+ }
62
+ ```
63
+
43
64
  ## Motivation
44
65
 
45
66
  - Notes are arguably the atomic blocks of information in [Joplin](https://joplinapp.org). They can be linked to, tagged, and come up in search results. Joplin is optimised for this, and these features are pretty efficient.
@@ -53,10 +74,4 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
53
74
  2. Browse the entire content of these paragraphs without having to open each note.
54
75
  3. Make this accessible and user-friendly.
55
76
 
56
- ## Companion plugins
57
-
58
- - The excellent [Inline Tags](https://github.com/roman-r-m/joplin-inline-tags-plugin) plugin can help you add tags on the fly
59
- - I created a fork for the [Rich Markdown](https://github.com/alondmnt/joplin-rich-markdown) plugin and updated the "Stylish" style to highlight inline tags in notes ([download](https://github.com/alondmnt/joplin-rich-markdown/releases/download/cm-rm-tag/plugin.calebjohn.rich-markdown.jpl))
60
-
61
-
62
77
  [![DOI](https://zenodo.org/badge/753598497.svg)](https://zenodo.org/doi/10.5281/zenodo.10701718)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "0.4.0",
3
+ "version": "0.5.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",
@@ -29,6 +29,7 @@
29
29
  "webpack-cli": "^4.10.0"
30
30
  },
31
31
  "dependencies": {
32
+ "lodash.debounce": "^4.0.8",
32
33
  "markdown-it": "^14.0.0",
33
34
  "markdown-it-task-lists": "^2.1.1"
34
35
  }
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 1,
3
3
  "id": "joplin.plugin.alondmnt.tag-navigator",
4
4
  "app_min_version": "2.10",
5
- "version": "0.4.0",
5
+ "version": "0.5.0",
6
6
  "name": "Inline Tag Navigator",
7
7
  "description": "A system to organize, search, browse and convert inline tags and note mentions via dedicated panels.",
8
8
  "author": "Alon Diament",
@@ -20,6 +20,6 @@
20
20
  ],
21
21
  "screenshots": [],
22
22
  "icons": {},
23
- "_publish_hash": "sha256:0445d8bfde2d36ebdcca73c2b4285514debe5c0aff00fa78e633e9e9e4c5b118",
24
- "_publish_commit": "main:ef44640c2e4fb3f17f90029385678625f924e5ed"
23
+ "_publish_hash": "sha256:6488f32d6f9162d0b0db5acfc69131f15f6fa882ae33f4cd1f3684c160bdad69",
24
+ "_publish_commit": "main:665f83e42a99cb0c2e6763b327c3f4ee15ff208c"
25
25
  }