joplin-plugin-tag-navigator 2.5.8 → 2.6.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
@@ -83,6 +83,7 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
83
83
  - [Filtering results](#filtering-results)
84
84
  - [Inline TODOs](#inline-todos)
85
85
  - [Colour tags](#colour-tags)
86
+ - [Styling inline tags](#styling-inline-tags)
86
87
  - [Keyboard shortcuts](#keyboard-shortcuts)
87
88
  - [Converting Joplin tags](#converting-joplin-tags)
88
89
 
@@ -337,7 +338,7 @@ This example searches for paragraphs that have both `#artist` AND `#album` tags,
337
338
  - To gain more control over filtering by notebook, you may enable the setting `Search: Extract the full notebook path`.
338
339
  - Example: Limit results to a notebook that appears in the top level by searching for `|/topNotebook`.
339
340
  - Example: Search for `topNotebook/childNotebook` to show only results from childNotebook.
340
- - You may exclude entire notebooks (and their sub-notebooks) from the tag database by right-clicking on a notebook and selecting "Exclude notebook" or "Include notebook", or by manually editing the setting `Database: Exclude notebooks`.
341
+ - You may exclude entire notebooks (and their sub-notebooks) from the tag database by right-clicking on a notebook and selecting "Exclude notebook" or "Un-exclude notebook", or by manually editing the setting `Database: Exclude notebooks`. To process only specific notebooks, configure the `Database: Include notebooks` setting with a comma-separated list of notebook IDs.
341
342
  - Use the `!` prefix to exclude terms from filter results.
342
343
  - Example: `project !archive` includes results containing "project" but excludes those containing "archive".
343
344
  - Example: `"!references/"` excludes notebooks containing "references" in their path.
@@ -375,6 +376,31 @@ This example searches for paragraphs that have both `#artist` AND `#album` tags,
375
376
 
376
377
  ![colour tags](img/tag-navigator-colours.png)
377
378
 
379
+ ### Styling inline tags in the Markdown preview
380
+
381
+ The Markdown preview pane wraps every match in `itags-search-renderedTag` and, when the token starts with `#`, `@`, `+`, or `//`, adds `itags-search-renderedTag--hash`, `--at`, `--plus`, or `--slash`. You may define their appearance in `userstyle.css`, e.g.:
382
+
383
+ ```css
384
+ /* optional: specify different sub-styles for each type of tag */
385
+ .itags-search-renderedTag {
386
+ background-color: #a576b3ff;
387
+ }
388
+
389
+ .itags-search-renderedTag--at {
390
+ background-color: #6fae4a;
391
+ }
392
+
393
+ .itags-search-renderedTag--plus {
394
+ background-color: #ae4a6f;
395
+ }
396
+
397
+ .itags-search-renderedTag--slash {
398
+ background-color: #4a6fae;
399
+ }
400
+ ```
401
+
402
+ For the Markdown editor see Rich Markdown in the [Companion plugins](#companion-plugins) section.
403
+
378
404
  ### Keyboard shortcuts
379
405
 
380
406
  - Default command shortcuts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "2.5.8",
3
+ "version": "2.6.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
+ "@codemirror/lang-yaml": "^6.1.2",
32
33
  "date-fns": "^3.6.0",
33
34
  "js-yaml": "^4.1.0",
34
35
  "lodash.debounce": "^4.0.8",
@@ -6,7 +6,7 @@
6
6
  "desktop",
7
7
  "mobile"
8
8
  ],
9
- "version": "2.5.8",
9
+ "version": "2.6.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:884127deba1435888c3a0ebd137f16d3e52d47cac2bf25cb1a25ebb02a11e0ef",
28
- "_publish_commit": "main:6416e7ba3d40031dac10d7bdbce91257121df194"
27
+ "_publish_hash": "sha256:da81f7c5502ce37d5f2641a1fcf17ae6f0dd5fcc00015581532f4d31400836c0",
28
+ "_publish_commit": "main:764250a7171655401ae1c448d772556a391600e8"
29
29
  }