forked from saman/notion-quote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md.og
31 lines (26 loc) · 1.18 KB
/
README.md.og
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Notion Random Quote
This is a widget for [Notion](https://notion.so). You can insert the URL of this repository in an [embed item](https://www.notion.so/Embeds-6b7133323590447b9d8e963c136ebce5#5d54f8a0f7a44547b94d023bc09c2c55).
## Settings
On the right bottom corner, you can change settings. They are developed in a way to integrate this widget perfectly.
## Add a different source
You can add a different source for random quotes. This source must be a JSON file hosted somewhere.
As an example you can use [Github Gist](https://gist.github.com/).
The valid JSON file must be in this format:
```json
[
{
"author": "First Author Name",
"content": "First Quote Content."
},
{
"author": "Second Author Name",
"content": "Second Quote Content."
}
]
```
You have to add the url of your JSON file with parameter `f` into query parameters.
If you're using a gist, make sure you use the raw version.
Here is an example for [my gist](https://gist.github.com/saman/a4326228c01f7fe15de6707655352300):
```
https://saman.dev/notion-quote/?f=https://gist.githubusercontent.com/saman/a4326228c01f7fe15de6707655352300/raw/6ae8c92baae70fb842ddf91f3465ccab5f7b1622/my-notion-quote.json
```