summaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-05 21:29:54 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-05 21:29:54 -0800
commitb1bbd90481512f1a43c17893598e4d96a817c536 (patch)
treed5551905da715aefe2a12c31fa2137d5fe67b75f /spec.txt
parent245bb51f4cbaab6f161dbeba3f07fe90932fd8ff (diff)
Clarify that brackets in general don't take precedence over emph.
Closes #258.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 734ad48..df2104e 100644
--- a/spec.txt
+++ b/spec.txt
@@ -5849,6 +5849,15 @@ emphasis grouping:
<p><a href="baz*">foo *bar</a></p>
.
+Note that brackets that *aren't* part of links do not take
+precedence:
+
+.
+*foo [bar* baz]
+.
+<p><em>foo [bar</em> baz]</p>
+.
+
These cases illustrate the precedence of HTML tags, code spans,
and autolinks over link grouping: