From 5ca9ca1d5e70cbfe8eeae12f96e761c405ad8f86 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Jun 2016 15:03:49 -0700 Subject: Clarified tab usage in thematic breaks. Closes #410. --- spec.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 4fe5043..32c99c2 100644 --- a/spec.txt +++ b/spec.txt @@ -499,7 +499,7 @@ Markdown document. A line consisting of 0-3 spaces of indentation, followed by a sequence of three or more matching `-`, `_`, or `*` characters, each followed -optionally by any number of spaces, forms a +optionally by any number of spaces or tabs, forms a [thematic break](@). ```````````````````````````````` example @@ -615,6 +615,15 @@ Spaces are allowed at the end: ```````````````````````````````` +Tabs are allowed both between and after the characters: + +```````````````````````````````` example +-→-→-→-→ +. +
+```````````````````````````````` + + However, no other characters may occur in the line: ```````````````````````````````` example @@ -630,8 +639,8 @@ a------ ```````````````````````````````` -It is required that all of the [non-whitespace characters] be the same. -So, this is not a thematic break: +It is required that all of the characters (besides spaces and +tabs) be the same. So, this is not a thematic break: ```````````````````````````````` example *-* -- cgit v1.2.3