diff --git a/guide/src/format/configuration/renderers.md b/guide/src/format/configuration/renderers.md
index 16a42516..a343e175 100644
--- a/guide/src/format/configuration/renderers.md
+++ b/guide/src/format/configuration/renderers.md
@@ -105,7 +105,7 @@ additional-js = ["custom.js"]
no-section-label = false
git-repository-url = "https://github.com/rust-lang/mdBook"
git-repository-icon = "fa-github"
-edit-url-template = "https://github.com/rust-lang/mdBook/edit/master/guide/{path}"
+edit-url-template = "https://github.com/rust-lang/mdBook/edit/main/guide/{path}"
site-url = "/example-book/"
cname = "myproject.rs"
input-404 = "not-found.md"
@@ -150,7 +150,7 @@ The following configuration options are available:
- **edit-url-template:** Edit url template, when provided shows a
"Suggest an edit" button (which looks like ) for directly jumping to editing the currently
viewed page. For e.g. GitHub projects set this to
- `https://github.com///edit/master/{path}` or for
+ `https://github.com///edit/main/{path}` or for
Bitbucket projects set it to
`https://bitbucket.org///src/master/{path}?mode=edit`
where {path} will be replaced with the full path of the file in the