Formatted the collapsable part properly.

This commit is contained in:
deepjyoti30
2020-06-05 20:36:53 +05:30
parent 467f2e9ae0
commit 0d3ec6be71

View File

@@ -71,61 +71,61 @@ Each square should be present inside the **squares** Object in the ```config.jso
Each square can contain the following values. Each square can contain the following values.
<details> <details>
<summary>Name</summary> <summary>Name</summary>
## Name ## Name
The name variable contains the **name** of the square block, the one that appears on the top of the square/card. The name variable contains the **name** of the square block, the one that appears on the top of the square/card.
For Eg: If you want to set the squares name to **Media**, it should be **Datatype**: String
For Eg: If you want to set the squares name to **Media**, it should be
```json ```json
"name": "Media" "name": "Media"
``` ```
**Datatype**: String
</details> </details>
<details> <details>
<summary>Color</summary> <summary>Color</summary>
## Color ## Color
The primary color that the heading of the square has and also the one that the links will have when the cursor is over them. The primary color that the heading of the square has and also the one that the links will have when the cursor is over them.
For Eg: If you want to set the color to **Black** or **#000** or **#000000*, the string should be one of the following **Datatype**: String
```json For Eg: If you want to set the color to **Black** or **#000** or **#000000*, the string should be one of the following
"color": "Black",
```
OR
```json ```json
"color": "#000" "color": "Black",
``` ```
OR OR
```json ```json
"color": "#000000" "color": "#000"
``` ```
OR
>**NOTE**: Currently supports CSS color names and HEX values. ```json
"color": "#000000"
```
**Datatype**: String >**NOTE**: Currently supports CSS color names and HEX values.
</details> </details>
<details> <details>
<summary>Links</summary> <summary>Links</summary>
## Links ## Links
This is an array that will contain objects which will later be parsed to URL. Each object should contain two values. This is an array that will contain objects which will later be parsed to URL. Each object should contain two values.
- name: Name of the URL **Datatype**: Array
- url: The URL.
For eg: If you want something like [Netflix](https://netflix.com), the object should be - name: Name of the URL
- url: The URL.
```json For eg: If you want something like [Netflix](https://netflix.com), the object should be
{"name": "Netflix", "url": "https://netflix.com"}
```
**Datatype**: Array ```json
{"name": "Netflix", "url": "https://netflix.com"}
```
</details> </details>
## Support the project ## Support the project