joplin-plugin-copy-as-html 1.3.3 → 1.4.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
@@ -7,6 +7,8 @@ This plugin allows you to copy selected text in the markdown editor as either HT
7
7
 
8
8
  The primary use case is copying text from Joplin and pasting formatted text into other apps that support HTML formatting (e.g. pasting text into an Outlook email). A plain text fallback is provided for scenarios where you need to paste text into an application that supports neither HTML formatting nor markdown.
9
9
 
10
+ ![copy-as-html-gif](https://github.com/user-attachments/assets/a46ef4fe-b54a-485d-81ca-62700fecf022)
11
+
10
12
  ## Copy as HTML
11
13
 
12
14
  "Copy selection as HTML" is provided as a right click context menu option and as a keyboard shortcut (ctrl + shift + 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.3",
3
+ "version": "1.4.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",
@@ -19,21 +19,21 @@
19
19
  "publish"
20
20
  ],
21
21
  "devDependencies": {
22
- "@babel/core": "^7.28.4",
23
- "@babel/preset-env": "^7.28.3",
22
+ "@babel/core": "^7.28.5",
23
+ "@babel/preset-env": "^7.28.5",
24
24
  "@eslint/eslintrc": "^3.3.1",
25
- "@eslint/js": "^9.37.0",
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": "^24.7.2",
31
- "@typescript-eslint/eslint-plugin": "^8.46.1",
32
- "@typescript-eslint/parser": "^8.46.1",
30
+ "@types/node": "^24.10.0",
31
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
32
+ "@typescript-eslint/parser": "^8.46.3",
33
33
  "babel-jest": "^30.2.0",
34
34
  "chalk": "^4.1.0",
35
35
  "copy-webpack-plugin": "^13.0.1",
36
- "eslint": "^9.37.0",
36
+ "eslint": "^9.39.1",
37
37
  "eslint-config-prettier": "^10.1.8",
38
38
  "eslint-plugin-import": "^2.32.0",
39
39
  "eslint-plugin-prettier": "^5.5.4",
@@ -41,7 +41,7 @@
41
41
  "glob": "^8.0.3",
42
42
  "jest": "^30.2.0",
43
43
  "jest-environment-jsdom": "^30.2.0",
44
- "jsdom": "^27.0.0",
44
+ "jsdom": "^27.1.0",
45
45
  "prettier": "^3.6.2",
46
46
  "tar": "^6.1.11",
47
47
  "ts-jest": "^29.4.5",
@@ -65,7 +65,10 @@
65
65
  "markdown-it-sub": "^2.0.0",
66
66
  "markdown-it-sup": "^2.0.0",
67
67
  "markdown-it-table-of-contents": "^1.1.0",
68
- "@mdit/plugin-tasklist": "^0.22.1",
68
+ "@mdit/plugin-tasklist": "^0.22.2",
69
69
  "string-width": "^8.1.0"
70
+ },
71
+ "overrides": {
72
+ "parse5": "^7.3.0"
70
73
  }
71
74
  }
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.3.3",
5
+ "version": "1.4.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",
@@ -66,6 +66,12 @@
66
66
  "description": "If enabled (along with Embed images as base64), remote HTTP/HTTPS images will be downloaded and embedded as base64. If un-checked, the resulting document may contain links to external resources.",
67
67
  "value": false
68
68
  },
69
+ "embedSvgAsPng": {
70
+ "type": "bool",
71
+ "label": "Convert SVG images to PNG",
72
+ "description": "If enabled, embedded SVG images will be rasterized as PNG to improve compatibility with applications that cannot display inline SVG.",
73
+ "value": true
74
+ },
69
75
  "preserveSuperscript": {
70
76
  "type": "bool",
71
77
  "label": "Preserve superscript characters (^TEST^)",
@@ -148,6 +154,6 @@
148
154
  "value": "spaces"
149
155
  }
150
156
  },
151
- "_publish_hash": "sha256:33afa3e533bfb65635bb6e9d035ad3c96c8602695bd483124b8c07d56ce39f79",
152
- "_publish_commit": "main:0d4dae455a8f9c01b9cef1ae3c4ed03eb3da365d"
157
+ "_publish_hash": "sha256:deb3075e0469912c7616a101f22c5f312776c4eb872eb046731cd6caa0e31e92",
158
+ "_publish_commit": "main:3f6bf8e3bfa8b7a8d43ae310cec87a10715ae0af"
153
159
  }