Skip to content

Commit 30ac46d

Browse files
committed
re-structured readme
1 parent a7296ad commit 30ac46d

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

Snippets/Page Cloud 1/README.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
- [About](#about)
1313
- [Previews](#previews)
1414
- [Install](#install)
15-
- [Normal Version](#normal-version)
16-
- [Minified Version](#minified-version)
15+
- [Javascript](#javascript)
16+
- [Normal Version](#normal-version)
17+
- [Minified Version](#minified-version)
18+
- [CSS](#css)
1719
- [Customization](#customization)
1820
- [Page Titles / Frontmatter Support](#page-titles--frontmatter-support)
1921
- [Filtering Folders and Pages](#filtering-folders-and-pages)
@@ -85,7 +87,21 @@ The following are preview images of what the snippet will do and appear like:
8587
## Install
8688

8789
- Install [Dataview Plugin](https://github.com/blacksmithgu/obsidian-dataview)
88-
- Pick one of the two versions below, copy the code, and paste it in your Obsidian note.
90+
- View the [Javascript](#javascript) section below, and copy the [Normal](#normal-version) or [Minified](#minified-version) version of the code and paste it into your Obsidian note.
91+
- View the [CSS](#css) section below, and copy the provided CSS, then create a new `.css` snippet and paste the copied code.
92+
- Enable the new CSS snippet in your `Obsidian Settings` under `Appearance`.
93+
94+
<br />
95+
96+
More detailed instructions below.
97+
98+
<br />
99+
100+
---
101+
102+
<br />
103+
104+
### Javascript
89105

90106
<br />
91107

@@ -97,7 +113,7 @@ Pick **One**.
97113

98114
<br />
99115

100-
### Normal Version
116+
#### Normal Version
101117
This version is much easier to read the code. It includes formatting and comments.
102118

103119
<br />
@@ -331,7 +347,7 @@ CreatePageCloud( )
331347
332348
<br />
333349
334-
### Minified Version
350+
#### Minified Version
335351
This version only formats the settings. All other formatting and comments are removed.
336352
337353
<br />
@@ -349,9 +365,13 @@ arrColors=[],QueryFiles=dv.pages(QueryStr);for(let i=0;i<40;i++){let itemColor=`
349365
```
350366
````
351367
352-
<br />
353-
<br />
368+
<br /><br />
369+
370+
---
371+
372+
<br /><br />
354373
374+
### CSS
355375
Next, you need to add some custom CSS.
356376
Open Obsidian Settings, click **Appearance**, and then scroll all the way down. (See image below).
357377

0 commit comments

Comments
 (0)