explicit formatting for the json file
This commit is contained in:
parent
9704dbc533
commit
186296265a
13
README.md
13
README.md
@ -8,8 +8,17 @@ This is the code that posts to https://fyrfli.social/quotesbot.
|
|||||||
- a Mastodon-compatible API token for your instance
|
- a Mastodon-compatible API token for your instance
|
||||||
- a json-formatted file of quotes to use formatted thus:
|
- a json-formatted file of quotes to use formatted thus:
|
||||||
```
|
```
|
||||||
"quote": "quote"
|
[
|
||||||
"author": "author"
|
{
|
||||||
|
"quote": "quote",
|
||||||
|
"author": "author"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
{
|
||||||
|
"quote": "quote",
|
||||||
|
"author": "author"
|
||||||
|
}
|
||||||
|
]
|
||||||
```
|
```
|
||||||
Your quotes file can either be in the local directory or accessible at a url.
|
Your quotes file can either be in the local directory or accessible at a url.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user