Strike-through deprecated rule headings (fixes #203).

Changes:
- Formats the headings of deprecated rules using strikethrough in the 'Rules /
Aliases' section of the 'README.md' file and in the 'doc/Rules.md' file.
- Updates the 'readme' and 'doc' tests in the 'test/markdownlint-test.js' file
to permit their respective rule headings to be formatted using strikethrough.

Benefits:
- Indicates rule deprecation status 'at a glance'.

(fixes #203)
This commit is contained in:
Travis C. LaGrone 2019-07-08 13:10:08 -05:00 committed by David Anson
parent 1ae512be69
commit 37236df18e
3 changed files with 18 additions and 5 deletions

View file

@ -3,7 +3,8 @@
This document contains a description of all rules, what they are checking for,
as well as an examples of documents that break the rule and corrected
versions of the examples.
versions of the examples. Any rule whose heading is ~~struck through~~ is
deprecated, but still provided for backward-compatibility.
<a name="md001"></a>
@ -43,7 +44,7 @@ level at a time:
<a name="md002"></a>
## MD002 - First heading should be a top level heading
## ~~MD002 - First heading should be a top level heading~~
Tags: headings, headers