joplin-plugin-copy-as-html 1.0.5 → 1.0.8

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
@@ -24,7 +24,7 @@ This should work with both markdown image embeds and the html img src embeds tha
24
24
 
25
25
  ### Optional markdown syntax
26
26
 
27
- The plugin will adhere to Joplin's settings for:
27
+ The plugin will adhere to Joplin's settings for whether or not to render:
28
28
 
29
29
  - Soft Breaks
30
30
  - ^sup^
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-copy-as-html",
3
- "version": "1.0.5",
3
+ "version": "1.0.8",
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",
@@ -28,7 +28,6 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@joplin/renderer": "^3.3.1",
31
- "jsdom": "^26.1.0",
32
- "remove-markdown": "^0.6.2"
31
+ "jsdom": "^26.1.0"
33
32
  }
34
33
  }
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",
5
+ "version": "1.0.8",
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",
@@ -19,8 +19,38 @@
19
19
  "label": "Embed images as base64",
20
20
  "description": "If enabled, images in selection will be embedded as base64.",
21
21
  "value": true
22
+ },
23
+ "preserveSuperscript": {
24
+ "type": "bool",
25
+ "label": "Preserve superscript characters (^TEST^)",
26
+ "description": "If enabled, ^TEST^ will remain ^TEST^ in plain text output.",
27
+ "value": false
28
+ },
29
+ "preserveSubscript": {
30
+ "type": "bool",
31
+ "label": "Preserve subscript characters (~TEST~)",
32
+ "description": "If enabled, ~TEST~ will remain ~TEST~ in plain text output.",
33
+ "value": false
34
+ },
35
+ "preserveEmphasis": {
36
+ "type": "bool",
37
+ "label": "Preserve emphasis characters (*TEST* or _TEST_)",
38
+ "description": "If enabled, *TEST* or _TEST_ will remain as-is in plain text output.",
39
+ "value": false
40
+ },
41
+ "preserveBold": {
42
+ "type": "bool",
43
+ "label": "Preserve bold characters (**TEST** or __TEST__)",
44
+ "description": "If enabled, **TEST** or __TEST__ will remain as-is in plain text output.",
45
+ "value": false
46
+ },
47
+ "preserveHeading": {
48
+ "type": "bool",
49
+ "label": "Preserve heading characters (## TEST)",
50
+ "description": "If enabled, ## TEST will remain as-is in plain text output.",
51
+ "value": false
22
52
  }
23
53
  },
24
- "_publish_hash": "sha256:4b6ca0bf8943cbb58cd66f8b01f7304ebf6a41269ae040891d900940bb2c33c4",
25
- "_publish_commit": "main:6a4dbd91d91803c1420398d170eff5ef5540ec41"
54
+ "_publish_hash": "sha256:c724740e58eeceb842f2ab223b70be03658956a006d65cdd7fd41366ff686eb7",
55
+ "_publish_commit": "main:61b354c3ad00c4b587fb9510e1387dda4f245849"
26
56
  }