Skip to content

Commit

Permalink
Clarify absolute links further
Browse files Browse the repository at this point in the history
  • Loading branch information
leemthompo committed Feb 5, 2025
1 parent 5401a08 commit 3f02e0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/syntax/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ Navigate relative to the current file's location:

#### Absolute paths

You can also use absolute paths to link to pages within the same repository:
You can also use absolute paths to link to pages within the same repository.
Say you're working on a random page somewhere in the `docs-content` repo. You can link to a page in the `deploy-manage` section like this:

```markdown
[API Keys](/deploy-manage/api-keys.md)
```

Note the leading `/` before the path.

### Same-page links (anchors)

Link to sections within the same document using heading anchors prefixed with `#`:
Expand Down

0 comments on commit 3f02e0c

Please sign in to comment.