diff --git a/test/footnotes.test b/test/footnotes.test index f22a7c3..25bd163 100644 --- a/test/footnotes.test +++ b/test/footnotes.test @@ -130,3 +130,22 @@ foo

``` + +Definition labels are normalized too, so a wider gap in the definition +still matches the reference: + +``` +[^a b] + +[^a b]: foo +. +

1

+
+
+
    +
  1. +

    foo↩︎

    +
  2. +
+
+``` diff --git a/test/smart.test b/test/smart.test index 4b77226..b7b8695 100644 --- a/test/smart.test +++ b/test/smart.test @@ -106,6 +106,21 @@ Doubled quotes are treated as nested:

‘‘hi’’

``` +With nothing between them there is nothing to enclose, so they don't +pair and each takes its unmatched form: + +``` +'' +. +

’’

+``` + +``` +"" +. +

““

+``` + Heuristics for determining openers and closers can be overridden using `{` and `}`: