joplin-plugin-codemirror6-theme 1.0.2

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 ADDED
@@ -0,0 +1,71 @@
1
+ # CodeMirror 6 Theme for Joplin
2
+
3
+ Enhanced editor styling and productivity features for Joplin notes.
4
+
5
+ ## Features
6
+
7
+ ### Inline Code Styling
8
+ Adds background color and custom text color to inline code blocks for better visibility.
9
+
10
+ ### Link Color Customization
11
+ Apply custom colors to hyperlinks and URLs throughout your notes.
12
+
13
+ ### GitHub Alerts
14
+ Full support for GitHub-style alert syntax in the editor:
15
+ - `> [!NOTE]` - Blue info box
16
+ - `> [!TIP]` - Green tip box
17
+ - `> [!IMPORTANT]` - Purple important box
18
+ - `> [!WARNING]` - Orange warning box
19
+ - `> [!CAUTION]` - Red caution box
20
+
21
+ ### Enhanced Heading Styles
22
+ Improved visual hierarchy for Markdown headings (h1-h6) with custom font sizes, weights, and divider lines.
23
+
24
+ ### Blockquote Styling
25
+ Refined appearance for standard blockquote elements.
26
+
27
+ ### Heading Shortcuts
28
+ Quick keyboard shortcuts for toggling heading levels:
29
+ - `Ctrl+1` through `Ctrl+6` - Toggle H1-H6 headings
30
+ - Press once to add heading markers
31
+ - Press again on the same level to remove them
32
+ - Works on the current line where your cursor is positioned
33
+
34
+ ## Configuration
35
+
36
+ All features can be toggled in Settings → CodeMirror 6 Theme:
37
+
38
+ **Feature Toggles**
39
+ - Enable inline code styling
40
+ - Enable link color customization
41
+ - Enable GitHub Alerts
42
+ - Enable heading styles
43
+ - Enable blockquote styling
44
+
45
+ **Color Customization**
46
+ - Inline code color (hex format, default: `#d63200`)
47
+ - Link color (hex format, default: `#d63200`)
48
+
49
+ ## Installation
50
+
51
+ 1. Download the latest `.jpl` file from releases
52
+ 2. In Joplin, go to Settings → Plugins
53
+ 3. Click the gear icon and select "Install from file"
54
+ 4. Choose the downloaded `.jpl` file
55
+ 5. Restart Joplin
56
+
57
+ ## Development
58
+
59
+ Build the plugin:
60
+ ```bash
61
+ npm install
62
+ npm run dist
63
+ ```
64
+
65
+ The plugin package will be generated in the `publish/` directory.
66
+
67
+ For more development information, see [GENERATOR_DOC.md](./GENERATOR_DOC.md)
68
+
69
+ ## License
70
+
71
+ MIT
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "joplin-plugin-codemirror6-theme",
3
+ "version": "1.0.2",
4
+ "scripts": {
5
+ "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
6
+ "prepare": "npm run dist",
7
+ "updateVersion": "webpack --env joplin-plugin-config=updateVersion",
8
+ "update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force"
9
+ },
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "joplin-plugin"
13
+ ],
14
+ "files": [
15
+ "publish"
16
+ ],
17
+ "devDependencies": {
18
+ "@codemirror/language": "^6.11.3",
19
+ "@codemirror/state": "^6.5.2",
20
+ "@codemirror/view": "^6.38.8",
21
+ "@lezer/highlight": "^1.2.3",
22
+ "@types/node": "^18.7.13",
23
+ "chalk": "^4.1.0",
24
+ "copy-webpack-plugin": "^11.0.0",
25
+ "fs-extra": "^10.1.0",
26
+ "glob": "^8.0.3",
27
+ "tar": "^6.1.11",
28
+ "ts-loader": "^9.3.1",
29
+ "typescript": "^4.8.2",
30
+ "webpack": "^5.74.0",
31
+ "webpack-cli": "^4.10.0"
32
+ },
33
+ "dependencies": {
34
+ "markdown-it-github-alerts": "^1.0.0"
35
+ }
36
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "manifest_version": 1,
3
+ "id": "com.rinchord.codemirror6Theme",
4
+ "app_min_version": "2.8",
5
+ "version": "1.0.2",
6
+ "name": "codemirror6 theme",
7
+ "description": "A theme for joplin",
8
+ "author": "RinChord",
9
+ "homepage_url": "https://github.com/Rinsutoringu/joplin_codemirror6_theme",
10
+ "repository_url": "https://github.com/Rinsutoringu/joplin_codemirror6_theme",
11
+ "keywords": [],
12
+ "categories": [],
13
+ "screenshots": [],
14
+ "icons": {},
15
+ "promo_tile": {},
16
+ "_publish_hash": "sha256:2dceba1aab12bfde070fdca794a74ddbeef5b90e39e17e394d8c84d87986a402",
17
+ "_publish_commit": "main:7856e46b7347153358c4e8e3216d25ba5c3208a4"
18
+ }