Skip to content

Commit 5f014a7

Browse files
authored
Document absolute link syntax
1 parent be9cd4f commit 5f014a7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/syntax/links.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ A link contains link text (the visible text) and a link destination (the URI tha
1616

1717
[**Hi**, _I'm md_](links.md)
1818

19+
## Link to another page
20+
21+
You can link to another page by pointing to the markdown file.
22+
This applies to files within the same repo.
23+
24+
```markdown
25+
[Link text](/solutions/search.md)
26+
```
27+
28+
Note that they must be prefixed with `/`.
29+
1930
## Anchor link
2031

2132
You can link to a heading on a page with an anchor link. The link destination should be a `#` followed by the header text. Convert spaces to dashes (`-`).
@@ -102,4 +113,4 @@ Docsbuilder temporary supports the abbility to create a linkable anchor anywhere
102113
This is text and $$$this-is-an-inline-anchor$$$
103114
```
104115

105-
This feature exists to aid with migration however is scheduled for removal and new content should **NOT** utilize this feature.
116+
This feature exists to aid with migration however is scheduled for removal and new content should **NOT** utilize this feature.

0 commit comments

Comments
 (0)