aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsteuer <jan.niklas.steuer@gmail.com>2020-02-17 20:46:49 +0100
committerGitHub <noreply@github.com>2020-02-17 11:46:49 -0800
commitd0bf1d69065b7cc80c6c0006a439831845bac401 (patch)
tree63d5434646d80cb1f29414c9bb185f66e86cadc5
parented23951edc0bbce89e49900da3b69bb8dbde752c (diff)
add inline link examples with empty link text #636 (#637)
-rw-r--r--spec.txt16
1 files changed, 14 insertions, 2 deletions
diff --git a/spec.txt b/spec.txt
index bee56f1..c62df5b 100644
--- a/spec.txt
+++ b/spec.txt
@@ -7512,7 +7512,8 @@ Here is a simple inline link:
````````````````````````````````
-The title may be omitted:
+The title, the link text and even
+the destination may be omitted:
```````````````````````````````` example
[link](/uri)
@@ -7520,8 +7521,12 @@ The title may be omitted:
<p><a href="/uri">link</a></p>
````````````````````````````````
+```````````````````````````````` example
+[](./target.md)
+.
+<p><a href="./target.md"></a></p>
+````````````````````````````````
-Both the title and the destination may be omitted:
```````````````````````````````` example
[link]()
@@ -7536,6 +7541,13 @@ Both the title and the destination may be omitted:
<p><a href="">link</a></p>
````````````````````````````````
+
+```````````````````````````````` example
+[]()
+.
+<p><a href=""></a></p>
+````````````````````````````````
+
The destination can only contain spaces if it is
enclosed in pointy brackets: