joplin-plugin-copy-as-html 1.4.3 → 1.5.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
|
@@ -85,12 +85,6 @@ These plugins embed the drawings as joplin image resources (svg), and the plugin
|
|
|
85
85
|
|
|
86
86
|
SVG images may have compatibility issues with certain editors/email clients, so by default the plugin will convert svg images to png when embedding images, however this can be disabled in the plugin settings.
|
|
87
87
|
|
|
88
|
-
#### Github Alerts
|
|
89
|
-
|
|
90
|
-
Github Alert syntax, (e.g. `>[!NOTE]`) is supported via the markdown-it-github-alerts plugin. In order for github alerts to be rendered nicely, you must be using the Full document mode with CSS styling targeting the .markdown-alert classes. The default [stylesheet](https://github.com/bwat47/joplin-copy-as-html/blob/main/src/defaultStylesheet.ts) contains styling for github alerts, example:
|
|
91
|
-
|
|
92
|
-
<img width="647" height="702" alt="image" src="https://github.com/user-attachments/assets/eb00e25d-5db4-4386-8d84-ec8ffb7f2540" />
|
|
93
|
-
|
|
94
88
|
## Copy as Plain Text
|
|
95
89
|
|
|
96
90
|
"Copy selection as Plain Text" is provided as a right click context menu option and as a keyboard shortcut (ctrl + alt + c by default).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-copy-as-html",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.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",
|
|
@@ -21,16 +21,17 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@babel/core": "^7.28.5",
|
|
23
23
|
"@babel/preset-env": "^7.28.5",
|
|
24
|
-
"@eslint/eslintrc": "^3.3.
|
|
24
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
25
25
|
"@eslint/js": "^9.39.1",
|
|
26
26
|
"@types/dompurify": "^3.0.5",
|
|
27
27
|
"@types/jest": "^30.0.0",
|
|
28
28
|
"@types/jsdom": "^27.0.0",
|
|
29
29
|
"@types/markdown-it": "^14.1.2",
|
|
30
|
-
"@types/node": "^
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
32
|
-
"@typescript-eslint/parser": "^8.
|
|
30
|
+
"@types/node": "^25.0.0",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
32
|
+
"@typescript-eslint/parser": "^8.49.0",
|
|
33
33
|
"babel-jest": "^30.2.0",
|
|
34
|
+
"baseline-browser-mapping": "^2.9.6",
|
|
34
35
|
"chalk": "^4.1.0",
|
|
35
36
|
"copy-webpack-plugin": "^13.0.1",
|
|
36
37
|
"eslint": "^9.39.1",
|
|
@@ -41,31 +42,23 @@
|
|
|
41
42
|
"glob": "^8.0.3",
|
|
42
43
|
"jest": "^30.2.0",
|
|
43
44
|
"jest-environment-jsdom": "^30.2.0",
|
|
44
|
-
"jsdom": "^27.
|
|
45
|
-
"prettier": "^3.
|
|
45
|
+
"jsdom": "^27.3.0",
|
|
46
|
+
"prettier": "^3.7.4",
|
|
46
47
|
"tar": "^6.1.11",
|
|
47
|
-
"ts-jest": "^29.4.
|
|
48
|
+
"ts-jest": "^29.4.6",
|
|
48
49
|
"ts-loader": "^9.3.1",
|
|
49
50
|
"typescript": "^5.9.3",
|
|
50
|
-
"webpack": "^5.
|
|
51
|
+
"webpack": "^5.103.0",
|
|
51
52
|
"webpack-cli": "^6.0.1"
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
|
-
"dompurify": "^3.3.
|
|
55
|
+
"dompurify": "^3.3.1",
|
|
55
56
|
"markdown-it": "^14.1.0",
|
|
56
|
-
"markdown-it-abbr": "^2.0.0",
|
|
57
|
-
"markdown-it-anchor": "^9.2.0",
|
|
58
|
-
"markdown-it-deflist": "^3.0.0",
|
|
59
57
|
"markdown-it-emoji": "^3.0.0",
|
|
60
|
-
"markdown-it-footnote": "^4.0.0",
|
|
61
|
-
"markdown-it-github-alerts": "^1.0.0",
|
|
62
58
|
"markdown-it-ins": "^4.0.0",
|
|
63
59
|
"markdown-it-mark": "^4.0.0",
|
|
64
|
-
"markdown-it-multimd-table": "^4.2.3",
|
|
65
60
|
"markdown-it-sub": "^2.0.0",
|
|
66
61
|
"markdown-it-sup": "^2.0.0",
|
|
67
|
-
"markdown-it-table-of-contents": "^1.1.0",
|
|
68
|
-
"@mdit/plugin-tasklist": "^0.22.2",
|
|
69
62
|
"string-width": "^8.1.0"
|
|
70
63
|
},
|
|
71
64
|
"overrides": {
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.bwat47.copyashtml",
|
|
4
4
|
"app_min_version": "3.3",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.0",
|
|
6
6
|
"name": "Copy as HTML",
|
|
7
7
|
"description": "Allows you to copy text with HTML (rich text) formatting from the markdown editor (including images). Also allows you to copy as plain text (without markdown formatting)",
|
|
8
8
|
"author": "bwat47",
|
|
@@ -154,6 +154,6 @@
|
|
|
154
154
|
"value": "spaces"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
-
"_publish_hash": "sha256:
|
|
158
|
-
"_publish_commit": "main:
|
|
157
|
+
"_publish_hash": "sha256:db1a77be78e15f163e1f9f43204f1fe5f2dddd7b4293ada479198021252982af",
|
|
158
|
+
"_publish_commit": "main:06740088250fa22fc9fc9b0438b201f79f551fd2"
|
|
159
159
|
}
|