From a020fa435b2eacb7d757699cd5c69a65d98441be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Martin?= Date: Tue, 10 Sep 2024 11:45:38 +0200 Subject: [PATCH] Fix documentation regarding anchor links Working with vitepress v1.3.3, I noticed a link in the format `./#heading` does not work / leads to a docs generation error, whereas `#heading` works for me. Hence this PR. --- docs/en/guide/markdown.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/guide/markdown.md b/docs/en/guide/markdown.md index 9eb4c0e7..3c778d1a 100644 --- a/docs/en/guide/markdown.md +++ b/docs/en/guide/markdown.md @@ -44,7 +44,7 @@ And providing you are in `foo/one.md`: ```md [Home](/) [foo](/foo/) -[foo heading](./#heading) +[foo heading](#heading) [bar - three](../bar/three) [bar - three](../bar/three.md) [bar - four](../bar/four.html)