Skip to content

Commit

Permalink
Make these links relative
Browse files Browse the repository at this point in the history
  • Loading branch information
dodexahedron committed Jun 17, 2024
1 parent 0eb2910 commit 49d4159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/reusables/repositories/section-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ You can link directly to a section in a rendered file by hovering over the secti

![Screenshot of a README for a repository. To the left of a section heading, a link icon is outlined in dark orange.](/assets/images/help/repository/readme-links.png)

[Headings](#headings) automatically create anchors which have default names created from the text of the heading, with the following rules:
[Headings](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#links) automatically create anchors which have default names created from the text of the heading, with the following rules:

* Generated identifiers are UTF-8 URI fragments.
* See [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax, Section 3.5](https://www.rfc-editor.org/rfc/rfc3986#section-3.5).
Expand Down Expand Up @@ -55,4 +55,4 @@ Link to the second section: [Name](#this-text-is-the-same-1).

> [!CAUTION]
> Changing the order of sections having headings with the same name will cause their generated identifiers to change, as well, resulting in links to those sections no longer pointing to the same locations they previously pointed to.\
> Use [Custom anchors](#custom-anchors) to create anchors that will not be automatically changed.
> Use [Custom anchors](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#custom-anchors) to create anchors that will not be automatically changed.

0 comments on commit 49d4159

Please sign in to comment.