Skip to content

Commit 4aa74ab

Browse files
committed
Incomplete documentation in respect to hyphens for horizontal rulers
In case of a sequence of hyphens the documentation was incomplete. (found during implementation of "Miscounting in markdown in case of a horizontal ruler", #8115)
1 parent ccca51f commit 4aa74ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/markdown.doc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ Examples:
155155
______
156156

157157
Note that using asterisks in comment blocks does not work. See
158-
\ref mddox_stars for details.
158+
\ref mddox_stars for details.<br>
159+
Note that when using hyphens and the previous line is not empty you have to
160+
use at least one whitespace in the sequence of hyphens otherwise it might be
161+
seen as a level 2 header (see \ref md_headers).
159162

160163
\subsection md_emphasis Emphasis
161164

0 commit comments

Comments
 (0)