Update code/tests with latest functionality in Ruby markdownlint.

This commit is contained in:
David Anson 2016-09-24 16:15:54 -07:00
parent 2d8122a3be
commit fdeeddc99d
10 changed files with 57 additions and 7 deletions

View file

@ -894,6 +894,8 @@ Tags: headers, emphasis
Aliases: no-emphasis-as-header
Parameters: punctuation (string; default ".,;:!?")
This check looks for instances where emphasized (i.e. bold or italic) text is
used to separate sections, where a header should be used instead:
@ -916,8 +918,11 @@ sections:
Consectetur adipiscing elit, sed do eiusmod.
Note: this rule looks for paragraphs that consist entirely of emphasized text.
It won't fire on emphasis used within regular text.
Note: this rule looks for single line paragraphs that consist entirely of
emphasized text. It won't fire on emphasis used within regular text,
multi-line emphasized paragraphs, and paragraphs ending in punctuation.
Similarly to rule MD026, you can configure what characters are recognized as
punctuation.
## MD037 - Spaces inside emphasis markers