You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/syntax/links.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,17 @@ A link contains link text (the visible text) and a link destination (the URI tha
16
16
17
17
[**Hi**, _I'm md_](links.md)
18
18
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
+
19
30
## Anchor link
20
31
21
32
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
102
113
This is text and $$$this-is-an-inline-anchor$$$
103
114
```
104
115
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