Skip to content

Commit d730cf5

Browse files
committed
Document [#anchor] as the suggested syntax for header anchors
1 parent 48c527b commit d730cf5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/syntax/links.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ Will have an anchor link injected with the name `this-is-an-header`.
4646
If you need more control over the anchor name you may specify it inline
4747

4848
```markdown
49-
## This Is A Header [but-this-is-my-anchor]
49+
## This Is A Header [#but-this-is-my-anchor]
5050
```
5151

52-
Will result in an anchor link named `but-this-my-anchor` to be injected instead. Do note that these inline anchors will be normalized.
52+
Will result in an anchor link named `but-this-my-anchor` to be injected instead.
5353

54-
Meaning
54+
Do note that these inline anchors will be normalized.
5555

5656
```markdown
5757
## This Is A Header [What about this for an anchor!]

tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected override void AddToFileSystem(MockFileSystem fileSystem)
3434
3535
To follow this tutorial you will need to install the following components:
3636
37-
## New Requirements [new-reqs]
37+
## New Requirements [#new-reqs]
3838
3939
These are new requirements
4040
""";

0 commit comments

Comments
 (0)