joplin-plugin-copy-as-html 1.6.1 → 1.6.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
@@ -89,7 +89,7 @@ SVG images may have compatibility issues with certain editors/email clients, so
89
89
 
90
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).
91
91
 
92
- This command parses the selected Markdown and renders it as paste-friendly plain text. By default it removes all markdown formatting markers and image embeds, while preserving document structure such as paragraphs, list leaders, nested list indentation, tables (optimized for plain text readability), footnotes, and link text.
92
+ This command parses the selected Markdown and renders it as normalized paste-friendly plain text. By default it removes all markdown formatting markers and image embeds, while preserving document structure such as paragraphs, list leaders, nested list indentation, tables (optimized for plain text readability), footnotes, and link text. However, the plain text output can be customized to retain specific markdown formatting (see below).
93
93
 
94
94
  ### Customizing plain text output
95
95
 
@@ -105,6 +105,8 @@ The following options are provided to preserve specific markdown formatting mark
105
105
 
106
106
  - Preserve heading markers
107
107
 
108
+ - Preserve quote markers
109
+
108
110
  - Preserve strikethrough markers
109
111
 
110
112
  - Preserve horizontal rules
@@ -113,6 +115,8 @@ The following options are provided to preserve specific markdown formatting mark
113
115
 
114
116
  - Preserve insert markers
115
117
 
118
+ - Preserve code backticks
119
+
116
120
  - Preserve table pipes
117
121
 
118
122
  The following options are provided for external hyperlinks (only affects markdown links with `http`/`https` URLs):
@@ -136,7 +140,3 @@ The following options are provided for list spacing:
136
140
  ### Markdown emoji
137
141
 
138
142
  Copy as Plain Text supports markdown emoji shortcodes, so emoji such as :white_check_mark: can be rendered as Unicode in the plain text output. This can be disabled via the Display emojis setting.
139
-
140
- ## Known Issues
141
-
142
- - 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-copy-as-html",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
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",
@@ -42,7 +42,6 @@
42
42
  "glob": "^8.0.3",
43
43
  "jest": "^30.3.0",
44
44
  "jest-environment-jsdom": "^30.2.0",
45
- "jsdom": "^27.3.0",
46
45
  "prettier": "^3.8.3",
47
46
  "tar": "^7.5.7",
48
47
  "ts-jest": "^29.4.6",
@@ -52,7 +51,7 @@
52
51
  "webpack-cli": "^6.0.1"
53
52
  },
54
53
  "dependencies": {
55
- "dompurify": "^3.4.2",
54
+ "dompurify": "^3.4.11",
56
55
  "node-emoji": "^2.2.0",
57
56
  "remark-emoji": "^5.0.2",
58
57
  "remark-flexible-markers": "^1.3.4",
@@ -62,5 +61,8 @@
62
61
  "remark-supersub": "^1.0.0",
63
62
  "string-width": "^8.1.0",
64
63
  "unified": "^11.0.5"
64
+ },
65
+ "overrides": {
66
+ "js-yaml": "^4.2.0"
65
67
  }
66
68
  }
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.6.1",
5
+ "version": "1.6.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",
@@ -103,6 +103,12 @@
103
103
  "description": "If enabled, heading markers will be preserved in plain text output.",
104
104
  "value": false
105
105
  },
106
+ "preserveQuoteMarkers": {
107
+ "type": "bool",
108
+ "label": "Preserve quote markers",
109
+ "description": "If enabled, blockquote markers will be preserved in plain text output.",
110
+ "value": false
111
+ },
106
112
  "preserveStrikethrough": {
107
113
  "type": "bool",
108
114
  "label": "Preserve strikethrough markers",
@@ -127,6 +133,12 @@
127
133
  "description": "If enabled, insert markers will be preserved in plain text output.",
128
134
  "value": false
129
135
  },
136
+ "preserveCodeBackticks": {
137
+ "type": "bool",
138
+ "label": "Preserve code backticks",
139
+ "description": "If enabled, inline code and code block backticks will be preserved in plain text output.",
140
+ "value": false
141
+ },
130
142
  "hyperlinkBehavior": {
131
143
  "type": "enum",
132
144
  "label": "Plain text hyperlink behavior",
@@ -171,6 +183,6 @@
171
183
  "value": false
172
184
  }
173
185
  },
174
- "_publish_hash": "sha256:f8267b33a9e3af3e7b47023cc201216cfab66604203a5bfc7caae2d3eb205604",
175
- "_publish_commit": "main:f4876f422e81637030e7360575028b9b62292c63"
186
+ "_publish_hash": "sha256:20f9388c74ee3af82e3aeeedfb9901b20f908608afbd5f2dcae0609e7687ff77",
187
+ "_publish_commit": "main:1e82449d3cf843ae10ffd7dffd83ad5254b9c9e6"
176
188
  }