joplin-plugin-heading-navigator 0.7.1 → 0.8.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
@@ -35,7 +35,7 @@ When selecting a heading with the keyboard, the editor will immediately scroll t
35
35
 
36
36
  - Navigate through headings with the keyboard
37
37
  - Search filter to filter list of headings
38
- - Copy link to heading
38
+ - Copy link to heading: right-click a heading on desktop, long-press on mobile
39
39
  - Panel adapts to your Joplin theme
40
40
  - Adjustable panel size (desktop only)
41
41
  - Ability to pin panel so it stays open until you unpin it (desktop only)
@@ -50,8 +50,11 @@ The plugin can be customized via Tools | Options | Heading Navigator:
50
50
  - Prevents the panel from obscuring too much content
51
51
  - **Panel top offset**: 0-200px distance from the top of the editor (default: 12px)
52
52
  - Push the panel down to avoid overlapping other top-right editor decorations, such as a backlinks indicator (desktop only)
53
- - **Compact mode**: Hide `H# - line #` metadata and reduce heading row height (default: off)
54
- - Shows more headings at once in the panel (desktop only)
53
+ - **Heading metadata display**: What each heading row shows alongside its text (default: Full)
54
+ - **Full**: the `H# - line #` metadata row
55
+ - **Compact**: an `H#` level badge instead of the metadata row
56
+ - **None**: no level indicator at all
57
+ - Compact and None also reduce heading row height on desktop, so more headings fit in the panel. Mobile keeps its larger touch targets.
55
58
  - **Copy internal anchor links**: Copy `[Heading](#heading-anchor)` instead of `[Heading @ Note](:/noteId#heading-anchor)` (default: off)
56
59
 
57
60
  Panel appearance settings take effect the next time the panel is opened. The copy link setting applies to the next copied link.
@@ -62,4 +65,4 @@ Panel appearance settings take effect the next time the panel is opened. The cop
62
65
 
63
66
  - On mobile, the panel has a responsive design and appears centered with faded background.
64
67
 
65
- - On mobile, the copy link icon is hidden, and instead long-press on a heading will copy link.
68
+ - Long-press a heading to copy its link.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-heading-navigator",
3
- "version": "0.7.1",
3
+ "version": "0.8.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",
@@ -27,6 +27,7 @@
27
27
  "@codemirror/view": "6.38.7",
28
28
  "@eslint/js": "^10.0.1",
29
29
  "@lezer/common": "^1.5.2",
30
+ "@lezer/markdown": "^1.6.0",
30
31
  "@types/node": "^25.9.4",
31
32
  "@typescript-eslint/eslint-plugin": "^8.59.2",
32
33
  "@typescript-eslint/parser": "^8.59.2",
@@ -35,6 +36,7 @@
35
36
  "eslint": "^10.3.0",
36
37
  "eslint-config-prettier": "^10.1.8",
37
38
  "eslint-plugin-import-x": "^4.16.2",
39
+ "eslint-plugin-sonarjs": "^4.2.0",
38
40
  "fs-extra": "^10.1.0",
39
41
  "glob": "^8.0.3",
40
42
  "globals": "^17.7.0",
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 1,
3
3
  "id": "com.bwat47.heading-navigator",
4
4
  "app_min_version": "3.3",
5
- "version": "0.7.1",
5
+ "version": "0.8.0",
6
6
  "platforms": [
7
7
  "desktop",
8
8
  "mobile"
@@ -58,6 +58,6 @@
58
58
  "type": "codeMirrorPlugin"
59
59
  }
60
60
  ],
61
- "_publish_hash": "sha256:511208a91475385c3f76d01ad87ee08e771268943d09212ebef94387b442fbc4",
62
- "_publish_commit": "main:9472b1c1911a493438df8f436112dd630f00c69a"
61
+ "_publish_hash": "sha256:b7f10615ecb74676751955c0d7241f5a276cc8de5f997aa3c8d9fa200354a571",
62
+ "_publish_commit": "main:01a7d24b618d7aa6db9e2341ab0266ffb424d4a7"
63
63
  }