joplin-plugin-copy-as-html 1.1.7 → 1.1.9
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
|
@@ -67,6 +67,9 @@ The plugin will adhere to Joplin's settings for whether or not to render:
|
|
|
67
67
|
- ++Insert++
|
|
68
68
|
- Multimarkdown Table
|
|
69
69
|
|
|
70
|
+
> [!note]
|
|
71
|
+
> Mermaid/Math are not supported, they will render as plain text (code).
|
|
72
|
+
|
|
70
73
|
## Copy as Plain Text
|
|
71
74
|
|
|
72
75
|
"Copy selection as Plain Text" is provided as a right click context menu option and as a keyboard shortcut (ctrl + alt + c by default).
|
|
@@ -116,8 +119,8 @@ Copy as Plain Text supports the markdown-it emoji plugin, so emoji such as :whit
|
|
|
116
119
|
|
|
117
120
|
## Known Issues
|
|
118
121
|
|
|
119
|
-
- 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).
|
|
120
122
|
- The plugin's keyboard shortcuts sometimes don't work on cold start of Joplin, can be fixed by toggling editors or going to Tools | Options | Keyboard Shortcuts and back.
|
|
123
|
+
- When using the "Full Document" mode for custom css styling, the full HTML document will be nested under another `<html>`/`<body>` in the clipboard. I don't think there's a way to fix this without having access to electron clipboard API. Nested html/body (while not technically valid HTML) is the best solution I found (doesn't seem to cause issues pasting into other apps and is the same thing that the obsidian copy document as html plugin does).
|
|
121
124
|
|
|
122
125
|
## Misc
|
|
123
126
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-copy-as-html",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
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",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"@eslint/eslintrc": "^3.3.1",
|
|
23
23
|
"@eslint/js": "^9.34.0",
|
|
24
24
|
"@types/jest": "^30.0.0",
|
|
25
|
-
"@types/jsdom": "^21.1.7",
|
|
26
25
|
"@types/markdown-it": "^14.1.2",
|
|
27
26
|
"@types/node": "^18.7.13",
|
|
28
27
|
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
|
@@ -44,7 +43,6 @@
|
|
|
44
43
|
"webpack-cli": "^4.10.0"
|
|
45
44
|
},
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"jsdom": "^26.1.0",
|
|
48
46
|
"markdown-it": "^14.1.0",
|
|
49
47
|
"markdown-it-abbr": "^2.0.0",
|
|
50
48
|
"markdown-it-deflist": "^3.0.0",
|
|
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.1.
|
|
5
|
+
"version": "1.1.9",
|
|
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",
|
|
@@ -142,6 +142,6 @@
|
|
|
142
142
|
"value": "spaces"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
|
-
"_publish_hash": "sha256:
|
|
146
|
-
"_publish_commit": "main:
|
|
145
|
+
"_publish_hash": "sha256:a99debf72350983295f7fa045d2d7e7f7893953ee100f397711e76e2ff6bdd76",
|
|
146
|
+
"_publish_commit": "main:3ecd08e72353d6ff1949534e2485a66dc124fa45"
|
|
147
147
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! For license information please see index.js.LICENSE.txt */
|