From 1babc2725d1a142ceaac7b1f86db768672e09817 Mon Sep 17 00:00:00 2001 From: M Date: Sat, 23 Apr 2022 13:02:05 +0000 Subject: [PATCH] Enable color syntax in documentation --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ed5b972..538ac71 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ RT are excluded, replies are included.but only the source threads are copied, no First up, create a configuration file (default path is `/usr/local/etc/scootaloo.toml`). It will look like this: -``` +```toml [scootaloo] last_tweet_path="/usr/local/etc/last_tweet" ## file containing the last tweet id received, must be writable @@ -30,13 +30,13 @@ access_secret="MYACCESSSECRET" ``` Then run the command with the `register` subcommand: -``` +```sh scootaloo register --host https://m.nintendojo.fr ``` This will give you the end of the TOML file. It will look like this: -``` +```toml [mastodon] base = "https://m.nintendojo.fr" client_id = "MYCLIENTID" @@ -68,7 +68,7 @@ SUBCOMMANDS: Scootaloo does not respect the spam limits imposed by Mastodon: it will make a 429 error if too much Tweets are converted to Toots in a short amount of time (and it will not recover from it). By default, it gets the last 200 tweets from the user timeline (which is a lot!). It is recommended to put a Tweet number into the `last_tweet` file before copying an old account. You can do that with a command like: -``` +```sh echo -n '8189881949849' > last_tweet ```