Skip to content

Commit f7ef684

Browse files
committed
update link documentation on URIs requiring quoting if they contain a fragment
1 parent 4bd0f57 commit f7ef684

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/tour/interactive.md

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ tooltips.
4141

4242
Links are like tooltips, except you click to go to an external link.
4343

44+
:::info
45+
When the link contains the `#` character as part of a URI fragment, e.g.,
46+
`https://example.com/page#fragment`, remember that the fragment will be
47+
treated as a comment if unquoted and unescaped.
48+
:::
49+
4450
<CodeBlock className="language-d2">
4551
{Links}
4652
</CodeBlock>

0 commit comments

Comments
 (0)