mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Minor updates for MD047 and to remove a reference to io.js.
This commit is contained in:
parent
994903ba88
commit
3960a4a26d
3 changed files with 11 additions and 9 deletions
13
README.md
13
README.md
|
@ -22,13 +22,14 @@ formatting can be inconsistent. Some constructs don't work well in all
|
|||
parsers and should be avoided. The [CommonMark](https://commonmark.org/)
|
||||
specification standardizes parsers - but not authors.
|
||||
|
||||
`markdownlint` is a [static analysis](https://en.wikipedia.org/wiki/Static_program_analysis)
|
||||
tool for [Node.js](https://nodejs.org/) and [io.js](https://iojs.org/) with a
|
||||
library of rules to enforce standards and consistency for Markdown files. It
|
||||
was inspired by - and heavily influenced by - Mark Harrison's
|
||||
`markdownlint` is a
|
||||
[static analysis](https://en.wikipedia.org/wiki/Static_program_analysis)
|
||||
tool for [Node.js](https://nodejs.org/) with a library of rules
|
||||
to enforce standards and consistency for Markdown files. It was
|
||||
inspired by - and heavily influenced by - Mark Harrison's
|
||||
[markdownlint](https://github.com/markdownlint/markdownlint) for
|
||||
[Ruby](https://www.ruby-lang.org/). The initial rules, rule documentation, and
|
||||
test cases came directly from that project.
|
||||
[Ruby](https://www.ruby-lang.org/). The initial rules, rule documentation,
|
||||
and test cases came directly from that project.
|
||||
|
||||
### Related
|
||||
|
||||
|
|
|
@ -178,7 +178,8 @@
|
|||
"",
|
||||
"#### Thanks",
|
||||
"",
|
||||
"[`markdownlint/Ruby`](https://github.com/markdownlint/markdownlint) for the inspiration and [`markdown-it`](https://github.com/markdown-it/markdown-it) for the parser and interactive demo idea!"
|
||||
"[`markdownlint/Ruby`](https://github.com/markdownlint/markdownlint) for the inspiration and [`markdown-it`](https://github.com/markdown-it/markdown-it) for the parser and interactive demo idea!",
|
||||
""
|
||||
].join("\n");
|
||||
/* eslint-enable max-len */
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ const markdownlint = require("../lib/markdownlint");
|
|||
const options = {
|
||||
"files": [ "good.md", "bad.md" ],
|
||||
"strings": {
|
||||
"good.string": "# good.string\n\nThis string passes all rules.",
|
||||
"bad.string": "#bad.string\n\n#This string fails\tsome rules."
|
||||
"good.string": "# good.string\n\nThis string passes all rules.\n",
|
||||
"bad.string": "#bad.string\n\n#This string fails\tsome rules.\n"
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue