mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +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/)
|
parsers and should be avoided. The [CommonMark](https://commonmark.org/)
|
||||||
specification standardizes parsers - but not authors.
|
specification standardizes parsers - but not authors.
|
||||||
|
|
||||||
`markdownlint` is a [static analysis](https://en.wikipedia.org/wiki/Static_program_analysis)
|
`markdownlint` is a
|
||||||
tool for [Node.js](https://nodejs.org/) and [io.js](https://iojs.org/) with a
|
[static analysis](https://en.wikipedia.org/wiki/Static_program_analysis)
|
||||||
library of rules to enforce standards and consistency for Markdown files. It
|
tool for [Node.js](https://nodejs.org/) with a library of rules
|
||||||
was inspired by - and heavily influenced by - Mark Harrison's
|
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
|
[markdownlint](https://github.com/markdownlint/markdownlint) for
|
||||||
[Ruby](https://www.ruby-lang.org/). The initial rules, rule documentation, and
|
[Ruby](https://www.ruby-lang.org/). The initial rules, rule documentation,
|
||||||
test cases came directly from that project.
|
and test cases came directly from that project.
|
||||||
|
|
||||||
### Related
|
### Related
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,8 @@
|
||||||
"",
|
"",
|
||||||
"#### Thanks",
|
"#### 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");
|
].join("\n");
|
||||||
/* eslint-enable max-len */
|
/* eslint-enable max-len */
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ const markdownlint = require("../lib/markdownlint");
|
||||||
const options = {
|
const options = {
|
||||||
"files": [ "good.md", "bad.md" ],
|
"files": [ "good.md", "bad.md" ],
|
||||||
"strings": {
|
"strings": {
|
||||||
"good.string": "# good.string\n\nThis string passes all rules.",
|
"good.string": "# good.string\n\nThis string passes all rules.\n",
|
||||||
"bad.string": "#bad.string\n\n#This string fails\tsome rules."
|
"bad.string": "#bad.string\n\n#This string fails\tsome rules.\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue