From f91c6c454afe77821d991160c8b1057a23cdb415 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 9 Aug 2022 23:03:52 +0200 Subject: [PATCH] Tweak doc --- docs/user_guide.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index b129eda..84eebb5 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -39,21 +39,12 @@ or [Nitter](https://nitter.net/about). To do so, just add as these extra config items, this is a sample config that rewrite URLs for Twitter, Youtube, Reddit and Medium: ```toml -[[privacy_replace]] -domain = "youtube.com" -replace_by ="yewtu.be" -[[privacy_replace]] -domain = "youtu.be" -replace_by = "yewtu.be" -[[privacy_replace]] -domain = "twitter.com" -replace_by = "nitter.net" -[[privacy_replace]] -domain = "medium.com" -replace_by = "scribe.rip" -[[privacy_replace]] -domain = "reddit.com" -replace_by = "teddit.net" +privacy_replace = [ + {domain = "youtube.com", replace_by = "yewtu.be"}, + {domain = "twitter.com", replace_by = "nitter.fdn.fr"}, + {domain = "medium.com", replace_by = "scribe.rip"}, + {domain = "reddit.com", replace_by = "teddit.net"}, +] ``` ### Customization