mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update code/tests with latest functionality in Ruby markdownlint.
This commit is contained in:
parent
2d8122a3be
commit
fdeeddc99d
10 changed files with 57 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue