joplin-plugin-copy-as-html 1.0.8 → 1.0.11
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
|
@@ -37,12 +37,27 @@ The plugin will adhere to Joplin's settings for whether or not to render:
|
|
|
37
37
|
|
|
38
38
|
This will strip the markdown formatting characters from the raw markdown (except for numbered/unordered list markers) and populate it as text/plain in the clipboard, for scenarios where you need to paste into an app that supports neither HTML formatting or markdown.
|
|
39
39
|
|
|
40
|
+
As of version 1.0.8, the following options are provided to maintain specific markdown formatting in the plain text output:
|
|
41
|
+
|
|
42
|
+
- Preserve superscript characters `(^TEST^)`
|
|
43
|
+
If enabled, `^TEST^` will remain `^TEST^` in plain text output.
|
|
44
|
+
|
|
45
|
+
- Preserve subscript characters `(~TEST~)`
|
|
46
|
+
If enabled, `~TEST~` will remain `~TEST~` in plain text output.
|
|
47
|
+
|
|
48
|
+
- Preserve emphasis characters `(*TEST* or _TEST_)`
|
|
49
|
+
If enabled, `*TEST*` or `_TEST_` will remain as-is in plain text output.
|
|
50
|
+
|
|
51
|
+
- Preserve bold characters `(**TEST** or __TEST__)`
|
|
52
|
+
If enabled, `**TEST*`* or `__TEST__` will remain as-is in plain text output.
|
|
53
|
+
|
|
54
|
+
- Preserve heading characters `(## TEST)`
|
|
55
|
+
If enabled, `## TEST` will remain as-is in plain text output.
|
|
56
|
+
|
|
40
57
|
## Known Issues
|
|
41
58
|
|
|
42
59
|
- The context menu options appear in the rich text editor's context menu (but aren't functional, the plugin is only intended for the markdown editor).
|
|
43
60
|
|
|
44
|
-
- For Joplin images that have img src tags with width and/or height defined, the image sizes are not retained in the text/html (so they will be pasted at original size). I haven't been able to fix this (the size attributes always seemed to get stripped from the rendered html).
|
|
45
|
-
|
|
46
61
|
## Misc
|
|
47
62
|
|
|
48
63
|
> [!NOTE]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-copy-as-html",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
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",
|
|
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.0.
|
|
5
|
+
"version": "1.0.11",
|
|
6
6
|
"name": "Copy as HTML",
|
|
7
7
|
"description": "Allows you to copy text with HTML (rich text) formatting from the markdown editor without excess styling.",
|
|
8
8
|
"author": "bwat47",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"value": false
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"_publish_hash": "sha256:
|
|
55
|
-
"_publish_commit": "main:
|
|
54
|
+
"_publish_hash": "sha256:6ded64f389282bf9d3991678fcd3ed941eb49d212fa896d8662480638bd91afa",
|
|
55
|
+
"_publish_commit": "main:d94254e0e8c9a52e8dafb573f4b6182c7714a7cc"
|
|
56
56
|
}
|