explicit formatting for the json file
This commit is contained in:
parent
9704dbc533
commit
186296265a
11
README.md
11
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"
|
[
|
||||||
|
{
|
||||||
|
"quote": "quote",
|
||||||
"author": "author"
|
"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