joplin-plugin-copy-as-html 1.7.2 → 1.7.3
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
|
@@ -27,14 +27,17 @@ Configure the plugin in Joplin's settings under **Copy as HTML**.
|
|
|
27
27
|
|
|
28
28
|
Local Joplin images are embedded as base64 by default, allowing you to paste text and images together. Both Markdown images and HTML `<img>` tags are supported.
|
|
29
29
|
|
|
30
|
-
| Setting | Default | Behavior
|
|
31
|
-
| -------------------------------- | ------- |
|
|
32
|
-
| Embed images as base64 | On | Embeds local Joplin images in the HTML. Turning this off removes local Joplin images from the output.
|
|
33
|
-
| Download and embed remote images | Off | Downloads and embeds remote HTTP/HTTPS images when image embedding is enabled. Otherwise, remote images remain linked to their original URLs.
|
|
34
|
-
| Convert SVG images to PNG | On | Converts embedded SVG images to PNG for compatibility with editors and email clients.
|
|
30
|
+
| Setting | Default | Behavior |
|
|
31
|
+
| -------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
32
|
+
| Embed images as base64 | On | Embeds local Joplin images in the HTML. Turning this off removes local Joplin images from the output. |
|
|
33
|
+
| Download and embed remote images | Off | Downloads and embeds remote HTTP/HTTPS images when image embedding is enabled. Otherwise, remote images remain linked to their original URLs. |
|
|
34
|
+
| Convert SVG images to PNG | On | Converts embedded SVG images to PNG for compatibility with editors and email clients. |
|
|
35
|
+
| PNG scale | 2× | Resolution of converted PNG images relative to the SVG size (`1×`, `2×`, `3×`, or `4×`). Only applies when **Convert SVG images to PNG** is enabled. |
|
|
35
36
|
|
|
36
37
|
Successfully embedded remote images can be viewed without internet access. If a download fails, the original image URL is retained.
|
|
37
38
|
|
|
39
|
+
To limit memory use, the PNG scale is automatically reduced for very large SVG images, so in rare cases they may be converted at a lower resolution than selected.
|
|
40
|
+
|
|
38
41
|
Drawings from Freehand Drawing, Excalidraw, and Drawio are supported when stored as Joplin image resources (embedded like any other image resource).
|
|
39
42
|
|
|
40
43
|
Mermaid Diagrams, Math, and ABC Music notation will be embedded as SVG images (or converted to PNG if Convert SVG Images to PNG is enabled).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-copy-as-html",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dist": "npm run typecheck && joplin-plugin-scripts build",
|
|
6
6
|
"prepare": "npm run dist",
|
|
@@ -26,24 +26,24 @@
|
|
|
26
26
|
"publish"
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@bwat47/joplin-plugin-scripts": "^1.
|
|
29
|
+
"@bwat47/joplin-plugin-scripts": "^1.8.0",
|
|
30
30
|
"@types/jsdom": "^30.0.0",
|
|
31
31
|
"@types/node": "^24.19.2",
|
|
32
32
|
"eslint-plugin-regexp": "^3.3.3",
|
|
33
|
-
"fallow": "^3.
|
|
33
|
+
"fallow": "^3.49.0",
|
|
34
34
|
"jsdom": "^31.0.1",
|
|
35
|
-
"oxfmt": "^0.
|
|
36
|
-
"oxlint": "^1.
|
|
37
|
-
"oxlint-tsgolint": "^7.0.
|
|
35
|
+
"oxfmt": "^0.80.0",
|
|
36
|
+
"oxlint": "^1.95.0",
|
|
37
|
+
"oxlint-tsgolint": "^7.0.2008",
|
|
38
38
|
"typescript": "^7.0.2",
|
|
39
|
-
"vitest": "^5.1.
|
|
39
|
+
"vitest": "^5.1.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@mathjax/mathjax-mhchem-font-extension": "^4.1.3",
|
|
43
43
|
"@mathjax/mathjax-tex-font": "^4.1.3",
|
|
44
44
|
"@mathjax/src": "^4.1.3",
|
|
45
45
|
"abcjs": "^6.7.3",
|
|
46
|
-
"dompurify": "^3.
|
|
46
|
+
"dompurify": "^3.5.0",
|
|
47
47
|
"pele": "^1.13.0",
|
|
48
48
|
"remark-emoji": "^5.0.2",
|
|
49
49
|
"remark-flexible-markers": "^1.3.4",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"remark-ins": "^1.2.4",
|
|
52
52
|
"remark-parse": "^11.0.0",
|
|
53
53
|
"remark-supersub": "^1.0.0",
|
|
54
|
-
"string-width": "^
|
|
54
|
+
"string-width": "^9.0.0",
|
|
55
55
|
"unified": "^11.0.5"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.bwat47.copyashtml",
|
|
4
4
|
"app_min_version": "3.5.11",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.3",
|
|
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",
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"src": "images/copyashtml_promo_tile.png",
|
|
49
49
|
"label": "Copy as HTML Promo Tile"
|
|
50
50
|
},
|
|
51
|
-
"_publish_hash": "sha256:
|
|
52
|
-
"_publish_commit": "main:
|
|
51
|
+
"_publish_hash": "sha256:657a8a15d17a0252193b2bd41557f418117364185961614f19773917989aaa89",
|
|
52
|
+
"_publish_commit": "main:da4b72945ed11a587028c50699d735e855749bba"
|
|
53
53
|
}
|