joplin-plugin-heading-navigator 0.7.1 → 0.9.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
|
@@ -26,7 +26,7 @@ You can navigate through headings using tab key (goes to next heading), shift ta
|
|
|
26
26
|
|
|
27
27
|
You can filter the list of headings using the search filter at the top of the panel.
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
On desktop, selecting a heading with the keyboard previews it by immediately scrolling the editor to that heading. Hitting enter in the panel (or clicking somewhere else) will close the panel. Hitting escape will close the panel & return to your original scroll/cursor position. Previewing is disabled on mobile and can be disabled in the plugin settings on desktop.
|
|
30
30
|
|
|
31
31
|
> [!note]
|
|
32
32
|
> When the panel is pinned, clicking outside of the panel will not close the panel, and hitting escape will move focus to the editor without closing the panel or restoring previous scroll position.
|
|
@@ -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,12 @@ 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
|
-
- **
|
|
54
|
-
-
|
|
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.
|
|
58
|
+
- **Preview headings while navigating**: Scroll the editor to the highlighted heading while filtering or using keyboard navigation (default: on, desktop only)
|
|
55
59
|
- **Copy internal anchor links**: Copy `[Heading](#heading-anchor)` instead of `[Heading @ Note](:/noteId#heading-anchor)` (default: off)
|
|
56
60
|
|
|
57
61
|
Panel appearance settings take effect the next time the panel is opened. The copy link setting applies to the next copied link.
|
|
@@ -62,4 +66,6 @@ Panel appearance settings take effect the next time the panel is opened. The cop
|
|
|
62
66
|
|
|
63
67
|
- On mobile, the panel has a responsive design and appears centered with faded background.
|
|
64
68
|
|
|
65
|
-
-
|
|
69
|
+
- Long-press a heading to copy its link.
|
|
70
|
+
|
|
71
|
+
- Filtering and keyboard navigation highlight headings in the panel without scrolling the note behind the modal. Selecting a heading still navigates to it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-heading-navigator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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",
|
|
Binary file
|
|
@@ -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.
|
|
5
|
+
"version": "0.9.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:
|
|
62
|
-
"_publish_commit": "main:
|
|
61
|
+
"_publish_hash": "sha256:c8b2c05e064220750e80cf2e3d1450c5936ae694228e20dd5a9246618b27595d",
|
|
62
|
+
"_publish_commit": "main:2e3a63d0dfc52ae09e2a7bdbab226639e1459b22"
|
|
63
63
|
}
|