mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Change "header" to "heading" across the library
This should be backward compatible, as all "header" aliases are still available, though documented as discouraged for future use.
This commit is contained in:
parent
e938f421a9
commit
45424cf459
148 changed files with 861 additions and 699 deletions
|
|
@ -6,8 +6,8 @@ var shared = require("./shared");
|
|||
|
||||
module.exports = {
|
||||
"names": [ "MD025", "single-h1" ],
|
||||
"description": "Multiple top level headers in the same document",
|
||||
"tags": [ "headers" ],
|
||||
"description": "Multiple top level headings in the same document",
|
||||
"tags": [ "headings", "headers" ],
|
||||
"function": function MD025(params, onError) {
|
||||
var level = params.config.level || 1;
|
||||
var tag = "h" + level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue