···530530#[derive(clap::Parser, Deserialize, Debug, Default)]
531531#[serde(rename_all = "kebab-case", deny_unknown_fields)]
532532struct Config {
533533- /// Use a custom link format for platforms other than GitHub.
533533+ /// Use a custom link format for forges other than GitHub.
534534 ///
535535 /// Should be a string that contains the following placeholders that will be
536536 /// filled in at build time:
···547547 /// ```
548548 ///
549549 /// Note that information such as repo owner or name will not be filled in. If URLs to
550550- /// your Git hosting service require such items, you should hard-code them in the pattern.
550550+ /// your Git forge require such items, you should hard-code them in the pattern.
551551 #[serde(default)]
552552 #[arg(long, value_name("FORMAT"), verbatim_doc_comment)]
553553 repo_url_template: Option<String>,
+4-4
docs/src/permalinks/features.md
···17171818> [!TIP]
1919>
2020-> Not only is linking by paths well-supported by platforms such as
2020+> Not only is linking by paths well-supported by forges such as
2121> [GitHub][github-relative-links], but editors like VS Code also provide smart features
2222> like [path completions][vscode-path-completions] and [link
2323> validation][link-validation].
24242525**URL fragments** are preserved. For example, you may use fragments to link to specific
2626-lines, if your Git hosting provider supports it:
2626+lines, if your Git forge supports it:
27272828> ```md
2929> This book uses [esbuild] to
···5656> For Git remotes, both HTTP URLs and "scp-like" URIs (`git@github.com:org/repo.git`)
5757> are supported.
58585959-Currently, the preprocessor automatically uses repo URLs from the following providers:
5959+Currently, the preprocessor automatically uses repo URLs from the following forges:
60606161- GitHub, `https://github.com/*`
6262···65656666## Markdown images
67676868-Providers such as GitHub support two types of permalinks:
6868+Forges such as GitHub support two types of permalinks:
69697070- a `tree` or `blob` URL that opens the file's webpage for viewing
7171- a `raw` URL that directly serves the file's content, suitable for embedding or