aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorDavid Green <david.green@tasktop.com>2015-06-30 07:26:24 -0700
committerDavid Green <david.green@tasktop.com>2015-06-30 07:26:24 -0700
commit7292f6d7557aa0bedd753a41f80c9ea717349c4f (patch)
tree98367667a2dd6cec0fcc71a20dbe9201483a73b7 /spec.txt
parentaf1a3a5d88cc8e79527bc832eb24aae24f5c25a6 (diff)
add spec examples showing the use of fragment identifiers in links
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index ee8cc19..2242daf 100644
--- a/spec.txt
+++ b/spec.txt
@@ -6031,6 +6031,23 @@ in Markdown:
<p><a href="foo):">link</a></p>
.
+A link can start with a fragment identifier:
+
+.
+[link](#fragment)
+.
+<p><a href="#fragment">link</a></p>
+.
+
+
+A link can start also contain a a fragment identifier:
+
+.
+[link](http://example.com#fragment)
+.
+<p><a href="http://example.com#fragment">link</a></p>
+.
+
Note that a backslash before a non-escapable character is
just a backslash: