Skip to content

Commit 454eb7d

Browse files
authored
Merge pull request #251 from pmoura/update_link_documentation
update link documentation on URIs requiring quoting if they contain a fragment
2 parents 35e46f5 + f7ef684 commit 454eb7d

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)