joplin-plugin-collapsible-blocks 1.0.2 → 1.0.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
@@ -4,7 +4,7 @@ This Joplin plugin allows you to create collapsible blocks with a title and exte
4
4
 
5
5
  Although the blocks this plugin creates are only collapsible in the webview, not the editor, it seems to pair well with the "Extra Markdown Editor Settings" plugin, which does allow for collapsing text in the editor, if "Enable code folding" is enabled in its settings. The collapsible blocks made by this plugin are detected by it as code, and are editor-foldable. If you're nesting collapsible blocks, only the outermost one (in the editor) will be foldable with this method.
6
6
 
7
- **Version**: 1.0
7
+ **Version**: 1.0.3
8
8
 
9
9
  ## Installation
10
10
 
@@ -81,6 +81,24 @@ Blocks will remember if you left them opened or closed. They will do so by editi
81
81
 
82
82
  When nesting blocks within blocks, they will be color-coded in the editor, and may also be color-coded in the webview. These can both be controlled in the plugin Settings tab.
83
83
 
84
+ ## Screenshots
85
+
86
+ Three collapsibles, with one nested inside another, all closed
87
+
88
+ ![](screenshots/1.png)
89
+
90
+ With the two outer ones opened
91
+
92
+ ![](screenshots/2.png)
93
+
94
+ With all three opened
95
+
96
+ ![](screenshots/3.png)
97
+
98
+ With a fourth one added, for three nesting levels, and webview colors enabled
99
+
100
+ ![](screenshots/4.png)
101
+
84
102
  ## Custom styles
85
103
 
86
104
  If you would like to style the collapsible blocks to your preference, use the following in your `userstyle.css` file, which can be accessed in `Joplin` → `Options` → `Appearance` → `Show Advanced Settings` → `Custom stylesheet for rendered Markdown`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-collapsible-blocks",
3
- "version": "1.0.2",
3
+ "version": "1.0.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",
@@ -2,12 +2,12 @@
2
2
  "manifest_version": 1,
3
3
  "id": "joplin.plugin.collapsible.blocks",
4
4
  "app_min_version": "3.2",
5
- "version": "1.0.2",
5
+ "version": "1.0.3",
6
6
  "name": "Collapsible blocks",
7
7
  "description": "Create collapsible blocks with title and extendable body.",
8
- "author": "",
9
- "homepage_url": "",
10
- "repository_url": "",
8
+ "author": "ntczkjfg",
9
+ "homepage_url": "https://github.com/ntczkjfg/joplin-plugin-collapsible-block",
10
+ "repository_url": "https://github.com/ntczkjfg/joplin-plugin-collapsible-block",
11
11
  "keywords": [
12
12
  "joplin",
13
13
  "plugin",
@@ -19,6 +19,6 @@
19
19
  "desktop",
20
20
  "mobile"
21
21
  ],
22
- "_publish_hash": "sha256:ccf379dd745170125a19c46f91a47327d1cf176896c6d9e1a312b46387043939",
23
- "_publish_commit": "master:9be6e21c4d322133b1320c71d8ec534cc66ce640"
22
+ "_publish_hash": "sha256:edf2083e7ae13a40af9423df69701736868d34ca4635990e2a33bd51ebe9ff5d",
23
+ "_publish_commit": "master:842dd3a0299e7aabd9d33421c9133ea6327d40fe"
24
24
  }