joplin-plugin-heading-navigator 0.9.4 → 1.0.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
|
@@ -50,11 +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
|
-
- **Heading metadata display**: What each heading row shows alongside its text (default:
|
|
54
|
-
- **
|
|
55
|
-
- **
|
|
53
|
+
- **Heading metadata display**: What each heading row shows alongside its text (default: Level and line number)
|
|
54
|
+
- **Level and line number**: an `H# - line #` metadata row above the text
|
|
55
|
+
- **Level badge**: an `H#` badge at the right edge of the row
|
|
56
|
+
- **Markdown prefix**: a Markdown heading prefix (`#` through `######`) before the text, including for headings written with Setext underlines
|
|
56
57
|
- **None**: no level indicator at all
|
|
57
|
-
-
|
|
58
|
+
- Every option except Level and line number uses shorter, single-line rows on desktop, so more headings fit in the panel. Mobile keeps its larger touch targets.
|
|
58
59
|
- **Preview headings while navigating**: Scroll the editor to the highlighted heading while filtering or using keyboard navigation (default: on, desktop only)
|
|
59
60
|
- **Copy internal anchor links**: Copy `[Heading](#heading-anchor)` instead of `[Heading @ Note](:/noteId#heading-anchor)` (default: off)
|
|
60
61
|
|
|
@@ -69,3 +70,14 @@ Panel appearance settings take effect the next time the panel is opened. The cop
|
|
|
69
70
|
- Long-press a heading to copy its link.
|
|
70
71
|
|
|
71
72
|
- Filtering and keyboard navigation highlight headings in the panel without scrolling the note behind the modal. Selecting a heading still navigates to it.
|
|
73
|
+
|
|
74
|
+
## Building from source
|
|
75
|
+
|
|
76
|
+
Requires Node 22 or later.
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
npm ci
|
|
80
|
+
npm run dist
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
The build creates the installable plugin at `publish/com.bwat47.heading-navigator.jpl`.
|
package/package.json
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-heading-navigator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"dist": "
|
|
5
|
+
"dist": "npm run typecheck && joplin-plugin-scripts build",
|
|
6
6
|
"prepare": "npm run dist",
|
|
7
|
-
"updateVersion": "
|
|
8
|
-
"
|
|
9
|
-
"lint": "
|
|
10
|
-
"lint:
|
|
11
|
-
"
|
|
7
|
+
"updateVersion": "joplin-plugin-scripts update-version",
|
|
8
|
+
"updateApi": "joplin-plugin-scripts update-api",
|
|
9
|
+
"lint": "oxlint src/ && npm run lint:dead-code && npm run lint:complexity",
|
|
10
|
+
"lint:dead-code": "fallow dead-code",
|
|
11
|
+
"lint:complexity": "fallow health --complexity",
|
|
12
|
+
"lint:fix": "oxlint src/ --fix",
|
|
13
|
+
"format": "oxfmt --write",
|
|
14
|
+
"format:check": "oxfmt --check",
|
|
12
15
|
"test": "vitest run",
|
|
13
16
|
"test:watch": "vitest",
|
|
14
|
-
"
|
|
17
|
+
"typecheck": "tsc --noEmit"
|
|
15
18
|
},
|
|
16
19
|
"license": "MIT",
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
22
|
+
},
|
|
17
23
|
"keywords": [
|
|
18
24
|
"joplin-plugin"
|
|
19
25
|
],
|
|
@@ -21,39 +27,25 @@
|
|
|
21
27
|
"publish"
|
|
22
28
|
],
|
|
23
29
|
"devDependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@codemirror/
|
|
26
|
-
"@codemirror/
|
|
27
|
-
"@codemirror/
|
|
28
|
-
"@
|
|
29
|
-
"@lezer/common": "
|
|
30
|
-
"@lezer/markdown": "
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"eslint-plugin-sonarjs": "^4.2.0",
|
|
40
|
-
"fs-extra": "^10.1.0",
|
|
41
|
-
"glob": "^8.0.3",
|
|
42
|
-
"globals": "^17.7.0",
|
|
43
|
-
"jsdom": "^29.1.1",
|
|
44
|
-
"knip": "^6.24.0",
|
|
45
|
-
"prettier": "^3.8.3",
|
|
46
|
-
"tar": "^7.5.16",
|
|
47
|
-
"ts-loader": "^9.5.7",
|
|
48
|
-
"typescript": "^6.0.3",
|
|
49
|
-
"typescript-eslint": "^8.59.2",
|
|
50
|
-
"vitest": "^5.0.3",
|
|
51
|
-
"webpack": "^5.106.2",
|
|
52
|
-
"webpack-cli": "^7.0.2"
|
|
30
|
+
"@bwat47/joplin-plugin-scripts": "^1.6.3",
|
|
31
|
+
"@codemirror/lang-markdown": "6.5.0",
|
|
32
|
+
"@codemirror/language": "6.12.3",
|
|
33
|
+
"@codemirror/state": "6.7.1",
|
|
34
|
+
"@codemirror/view": "6.43.14",
|
|
35
|
+
"@lezer/common": "1.5.0",
|
|
36
|
+
"@lezer/markdown": "1.6.3",
|
|
37
|
+
"@types/node": "^24.19.2",
|
|
38
|
+
"fallow": "^3.43.0",
|
|
39
|
+
"jsdom": "^31.0.1",
|
|
40
|
+
"oxfmt": "^0.78.0",
|
|
41
|
+
"oxlint": "^1.93.0",
|
|
42
|
+
"oxlint-tsgolint": "^7.0.2007",
|
|
43
|
+
"typescript": "^7.0.2",
|
|
44
|
+
"vitest": "^5.1.0"
|
|
53
45
|
},
|
|
54
46
|
"dependencies": {
|
|
55
|
-
"@joplin/fork-uslug": "^2.0.
|
|
56
|
-
"entities": "^
|
|
57
|
-
"fuzzysort": "^
|
|
47
|
+
"@joplin/fork-uslug": "^2.0.10",
|
|
48
|
+
"entities": "^9.0.0",
|
|
49
|
+
"fuzzysort": "^4.0.2"
|
|
58
50
|
}
|
|
59
51
|
}
|
|
Binary file
|
|
@@ -1,62 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"id": "com.bwat47.heading-navigator",
|
|
4
|
+
"app_min_version": "3.3",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"platforms": [
|
|
7
|
+
"desktop",
|
|
8
|
+
"mobile"
|
|
9
|
+
],
|
|
10
|
+
"name": "Heading Navigator",
|
|
11
|
+
"description": "VS Code/Sublime text style overlay panel to navigate through headings (toc/table of contents) in the markdown editor",
|
|
12
|
+
"author": "bwat47",
|
|
13
|
+
"homepage_url": "https://github.com/bwat47/joplin-heading-navigator",
|
|
14
|
+
"repository_url": "https://github.com/bwat47/joplin-heading-navigator",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"heading",
|
|
17
|
+
"outline",
|
|
18
|
+
"keyboard",
|
|
19
|
+
"navigation",
|
|
20
|
+
"toc"
|
|
21
|
+
],
|
|
22
|
+
"categories": [
|
|
23
|
+
"productivity",
|
|
24
|
+
"editor"
|
|
25
|
+
],
|
|
26
|
+
"screenshots": [
|
|
27
|
+
{
|
|
28
|
+
"src": "images/screenshot_theme_light.png",
|
|
29
|
+
"label": "Heading Navigator light theme - heading badge mode"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"src": "images/screenshot_theme_dark.png",
|
|
33
|
+
"label": "Heading Navigator dark theme - heading badge mode"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"src": "images/screenshot_mobile.png",
|
|
37
|
+
"label": "Heading Navigator mobile screenshot"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"src": "images/screenshot_full_mode.png",
|
|
41
|
+
"label": "Heading Navigator screenshot full mode"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"src": "images/screenshot_atx_mode.png",
|
|
45
|
+
"label": "Heading Navigator screenshot atx mode"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"src": "images/screenshot_none_mode.png",
|
|
49
|
+
"label": "Heading Navigator screenshot none mode"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"icons": {
|
|
53
|
+
"16": "images/16.png",
|
|
54
|
+
"24": "images/24.png",
|
|
55
|
+
"32": "images/32.png",
|
|
56
|
+
"48": "images/48.png",
|
|
57
|
+
"64": "images/64.png",
|
|
58
|
+
"128": "images/128.png"
|
|
59
|
+
},
|
|
60
|
+
"promo_tile": {
|
|
61
|
+
"src": "images/heading_navigator_promo_tile.png",
|
|
62
|
+
"label": "heading Navigator Promo Tile"
|
|
63
|
+
},
|
|
64
|
+
"_publish_hash": "sha256:832e950a341d8ecc3f02b7974b25276ca11af3608d5a43283c7ea48a099b24fd",
|
|
65
|
+
"_publish_commit": "main:665e9e33c68180e7d357975471520466b6842cf4"
|
|
66
|
+
}
|