mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-29 03:58:48 +01:00
7853 lines
196 KiB
Markdown
7853 lines
196 KiB
Markdown
|
|
# Snapshot report for `test/markdownlint-test-scenarios-2.mjs`
|
|||
|
|
|
|||
|
|
The actual snapshot is saved in `markdownlint-test-scenarios-2.mjs.snap`.
|
|||
|
|
|
|||
|
|
Generated by [AVA](https://avajs.dev).
|
|||
|
|
|
|||
|
|
## fixing-with-front-matter.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 3',
|
|||
|
|
errorRange: [
|
|||
|
|
23,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 3,
|
|||
|
|
editColumn: 23,
|
|||
|
|
},
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '# Fixing with Front Matter {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 6,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Nested Heading {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '[ link ]',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
7,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 7,
|
|||
|
|
},
|
|||
|
|
lineNumber: 8,
|
|||
|
|
ruleDescription: 'Spaces inside link text',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md039.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD039',
|
|||
|
|
'no-space-in-links',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '[ link ]',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
12,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 12,
|
|||
|
|
},
|
|||
|
|
lineNumber: 8,
|
|||
|
|
ruleDescription: 'Spaces inside link text',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md039.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD039',
|
|||
|
|
'no-space-in-links',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
12,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
editColumn: 13,
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Files should end with a single newline character',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md047.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD047',
|
|||
|
|
'single-trailing-newline',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '[ link ]',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
7,
|
|||
|
|
6,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 8,
|
|||
|
|
ruleDescription: 'Link text should be descriptive',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD059',
|
|||
|
|
'descriptive-link-text',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
front: matter␊
|
|||
|
|
ignore: this␊
|
|||
|
|
---␊
|
|||
|
|
# Fixing with Front Matter {MD022}␊
|
|||
|
|
␊
|
|||
|
|
Text text text {MD009}␊
|
|||
|
|
␊
|
|||
|
|
Text [link](url) text {MD039} {MD059}␊
|
|||
|
|
␊
|
|||
|
|
## Nested Heading {MD022}␊
|
|||
|
|
␊
|
|||
|
|
Text {MD047}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-alt-title-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Top level heading {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
alternate="Welcome to Jekyll!"␊
|
|||
|
|
---␊
|
|||
|
|
# Top level heading {MD025}␊
|
|||
|
|
␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false,␊
|
|||
|
|
"single-title": {␊
|
|||
|
|
"front_matter_title": "^\\\\s*alternate="␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-alt-title-json.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `{␊
|
|||
|
|
"date": "2017-01-26T22:17:00+02:00",␊
|
|||
|
|
"alternate": "My document title and heading"␊
|
|||
|
|
}␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"first-line-heading": {␊
|
|||
|
|
"front_matter_title": "^\\\\s*\\"alternate\\"\\\\s*:"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-alt-title-no-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
alternate="Welcome to Jekyll!"␊
|
|||
|
|
---␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false,␊
|
|||
|
|
"first-line-heading": {␊
|
|||
|
|
"front_matter_title": "^\\\\s*alternate="␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-alt-title-toml.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++␊
|
|||
|
|
date = "2017-01-26T22:17:00+02:00"␊
|
|||
|
|
alternate = "My document title and heading"␊
|
|||
|
|
+++␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"first-line-heading": {␊
|
|||
|
|
"front_matter_title": "^\\\\s*alternate\\\\s*="␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-alternate.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0; Actual: 1',
|
|||
|
|
errorRange: [
|
|||
|
|
13,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 13,
|
|||
|
|
},
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Text {MD041}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'First line in a file should be a top-level heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md041.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD041',
|
|||
|
|
'first-line-heading',
|
|||
|
|
'first-line-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
front: matter␊
|
|||
|
|
---␊
|
|||
|
|
Text {MD041}␊
|
|||
|
|
␊
|
|||
|
|
Text {MD009}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-trailing-spaces": {␊
|
|||
|
|
"br_spaces": 0␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-embedded.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 6',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 6,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'layout: post {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `Text text text␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
layout: post {MD022}␊
|
|||
|
|
hard: tab {MD010}␊
|
|||
|
|
title: embedded␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
Text text text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"first-line-heading": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-empty-title-no-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Front matter from [Jekyll docu...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'First line in a file should be a top-level heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md041.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD041',
|
|||
|
|
'first-line-heading',
|
|||
|
|
'first-line-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post). {MD041}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false,␊
|
|||
|
|
"first-line-heading": {␊
|
|||
|
|
"front_matter_title": ""␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-empty.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Another {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
---␊
|
|||
|
|
# Heading␊
|
|||
|
|
␊
|
|||
|
|
# Another {MD025}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-no-crlf.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
front: matter␊
|
|||
|
|
---`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-no-title-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
notitle: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
# Top level heading␊
|
|||
|
|
␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-no-title-no-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Front matter from [Jekyll docu...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'First line in a file should be a top-level heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md041.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD041',
|
|||
|
|
'first-line-heading',
|
|||
|
|
'first-line-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
notitle: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post). {MD041}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Top level heading {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
# Top level heading {MD025}␊
|
|||
|
|
␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-h2.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
## Secondary heading␊
|
|||
|
|
␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-json-spaces.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `{␊
|
|||
|
|
"date": "2017-01-26T22:17:00+02:00",␊
|
|||
|
|
"title": "My document title and heading"␊
|
|||
|
|
} ␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-json.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `{␊
|
|||
|
|
"date": "2017-01-26T22:17:00+02:00",␊
|
|||
|
|
"title": "My document title and heading"␊
|
|||
|
|
}␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-no-h1.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
---␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-pandoc-spaces.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++ ␊
|
|||
|
|
title: "Welcome to pandoc!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
... ␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-pandoc.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++␊
|
|||
|
|
title: "Welcome to pandoc!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
...␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-spaces.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `--- ␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: "Welcome to Jekyll!"␊
|
|||
|
|
date: 2015-11-17 16:16:01 -0600␊
|
|||
|
|
categories: jekyll update␊
|
|||
|
|
--- ␊
|
|||
|
|
␊
|
|||
|
|
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-toml-spaces.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++ ␊
|
|||
|
|
date = "2017-01-26T22:17:00+02:00"␊
|
|||
|
|
title = "My document title and heading"␊
|
|||
|
|
+++ ␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-title-toml.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++␊
|
|||
|
|
date = "2017-01-26T22:17:00+02:00"␊
|
|||
|
|
title = "My document title and heading"␊
|
|||
|
|
+++␊
|
|||
|
|
␊
|
|||
|
|
Some plain text here.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-with-dashes.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 1',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
layout: post␊
|
|||
|
|
title: Title with ---␊
|
|||
|
|
tags: front matter␊
|
|||
|
|
---␊
|
|||
|
|
## Heading␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
Hard tab {MD010}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-with-disable-next-line.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 16,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 20,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 22,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 25,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 26,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 28,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 32,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 34,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: hr',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
5,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 35,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `---␊
|
|||
|
|
front: matter␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
# Front Matter with Disable-Next-Line␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable-next-line no-inline-html -->␊
|
|||
|
|
<hr/>␊
|
|||
|
|
␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable-next-line -->␊
|
|||
|
|
<hr/>␊
|
|||
|
|
␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<!-- markdownlint-disable-next-line -->␊
|
|||
|
|
<hr/>␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/><!-- markdownlint-disable-line -->␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> <!-- markdownlint-disable-line -->␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<!-- markdownlint-disable-line --><hr/>␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<!-- markdownlint-disable-line --> <hr/>␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
<hr/> {MD033}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter-yaml-in-html-comment.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `<!--␊
|
|||
|
|
---␊
|
|||
|
|
title: Front Matter YAML in HTML Comment␊
|
|||
|
|
not-md035: |-␊
|
|||
|
|
***␊
|
|||
|
|
* * *␊
|
|||
|
|
description: |-␊
|
|||
|
|
This document has YAML front matter inside an HTML comment.␊
|
|||
|
|
---␊
|
|||
|
|
-->␊
|
|||
|
|
␊
|
|||
|
|
# Front Matter YAML in HTML Comment␊
|
|||
|
|
␊
|
|||
|
|
Text text text␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## front-matter.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `---␊
|
|||
|
|
front: matter␊
|
|||
|
|
---␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## github-footnote-syntax.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# GitHub Footnote Syntax␊
|
|||
|
|
␊
|
|||
|
|
> Example from <https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes>␊
|
|||
|
|
␊
|
|||
|
|
Here is a simple footnote[^1].␊
|
|||
|
|
␊
|
|||
|
|
A footnote can also have multiple lines[^2].␊
|
|||
|
|
␊
|
|||
|
|
You can also use words, to fit your writing style more closely[^note].␊
|
|||
|
|
␊
|
|||
|
|
[^1]: My reference.␊
|
|||
|
|
[^2]: Every new line should be prefixed with 2 spaces.␊
|
|||
|
|
This allows you to have a footnote with multiple lines.␊
|
|||
|
|
[^note]:␊
|
|||
|
|
Named footnotes will still render with numbers instead of the text but allow easier identification and linking.␊
|
|||
|
|
This footnote also has been made with a different syntax using 4 spaces for new lines.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"line-length": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## h1-as-top-level-heading.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `<h1>H1 as Top-Level Heading</h1>␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-inline-html": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## h1-image-as-top-level-heading.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `<h1 align="center"><img src="https://placekitten.com/300/150" alt="A kitten" /></h1>␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-inline-html": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## h2-as-top-level-heading.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `<H2>H2 as Top-Level Heading</H2>␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"first-line-heading": {␊
|
|||
|
|
"level": 2␊
|
|||
|
|
},␊
|
|||
|
|
"no-inline-html": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## h3-as-top-level-heading.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '<h3>H3 as Top-Level Heading {M...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 1,
|
|||
|
|
ruleDescription: 'First line in a file should be a top-level heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md041.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD041',
|
|||
|
|
'first-line-heading',
|
|||
|
|
'first-line-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `<h3>H3 as Top-Level Heading {MD041}</h3>␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-inline-html": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hard-line-breaks.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 4',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 4,
|
|||
|
|
editColumn: 5,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 6,
|
|||
|
|
},
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 32,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
8,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 8,
|
|||
|
|
},
|
|||
|
|
lineNumber: 36,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 39,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 41,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 4',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 4,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 43,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 48,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 5,
|
|||
|
|
},
|
|||
|
|
lineNumber: 54,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 58,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 61,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 62,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 63,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 65,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
22,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 22,
|
|||
|
|
},
|
|||
|
|
lineNumber: 67,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 71,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Hard Line Breaks␊
|
|||
|
|
␊
|
|||
|
|
hard ␊
|
|||
|
|
break␊
|
|||
|
|
␊
|
|||
|
|
hard\\␊
|
|||
|
|
break␊
|
|||
|
|
␊
|
|||
|
|
hard␊
|
|||
|
|
break␊
|
|||
|
|
␊
|
|||
|
|
hard ␊
|
|||
|
|
break␊
|
|||
|
|
␊
|
|||
|
|
hard\\␊
|
|||
|
|
break␊
|
|||
|
|
␊
|
|||
|
|
*hard ␊
|
|||
|
|
break*␊
|
|||
|
|
␊
|
|||
|
|
*hard\\␊
|
|||
|
|
break*␊
|
|||
|
|
␊
|
|||
|
|
\`code␊
|
|||
|
|
span\`␊
|
|||
|
|
␊
|
|||
|
|
\`code\\␊
|
|||
|
|
span\`␊
|
|||
|
|
␊
|
|||
|
|
not\\␊
|
|||
|
|
␊
|
|||
|
|
not␊
|
|||
|
|
␊
|
|||
|
|
## not\\␊
|
|||
|
|
␊
|
|||
|
|
### not␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
␊
|
|||
|
|
Text text␊
|
|||
|
|
text \`code␊
|
|||
|
|
span code␊
|
|||
|
|
span\` text␊
|
|||
|
|
text␊
|
|||
|
|
␊
|
|||
|
|
Text text␊
|
|||
|
|
text text␊
|
|||
|
|
text␊
|
|||
|
|
␊
|
|||
|
|
Text text␊
|
|||
|
|
text \`code␊
|
|||
|
|
span\` text␊
|
|||
|
|
␊
|
|||
|
|
Text text␊
|
|||
|
|
text \`code␊
|
|||
|
|
span code␊
|
|||
|
|
span\` text␊
|
|||
|
|
␊
|
|||
|
|
Text text␊
|
|||
|
|
␊
|
|||
|
|
Text \`code span\` text␊
|
|||
|
|
␊
|
|||
|
|
Text text ␊
|
|||
|
|
\`code span\` ␊
|
|||
|
|
text text␊
|
|||
|
|
␊
|
|||
|
|
{MD009:9}␊
|
|||
|
|
{MD009:24}␊
|
|||
|
|
{MD009:32}␊
|
|||
|
|
{MD009:36}␊
|
|||
|
|
{MD009:39}␊
|
|||
|
|
{MD009:41}␊
|
|||
|
|
{MD009:43}␊
|
|||
|
|
{MD009:48}␊
|
|||
|
|
{MD009:54}␊
|
|||
|
|
{MD009:58}␊
|
|||
|
|
{MD009:61}␊
|
|||
|
|
{MD009:62}␊
|
|||
|
|
{MD009:63}␊
|
|||
|
|
{MD009:65}␊
|
|||
|
|
{MD009:67}␊
|
|||
|
|
{MD009:71}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-trailing-spaces": {␊
|
|||
|
|
"strict": true␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading-duplicate-content-siblings-only.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: h4; Actual: h5',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 27,
|
|||
|
|
ruleDescription: 'Heading levels should only increment by one level at a time',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md001.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD001',
|
|||
|
|
'heading-increment',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'B',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'C',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'G',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 35,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'E',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 39,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'A',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 43,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'B',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 51,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading duplicate content sibl...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 55,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'BB',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 73,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'BBB',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 94,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Headings',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 100,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'A',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'A',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 43,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading duplicate content sibl...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 55,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'AA',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 59,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'BB',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 78,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading duplicate content siblings only␊
|
|||
|
|
␊
|
|||
|
|
# A␊
|
|||
|
|
␊
|
|||
|
|
{MD025:3}␊
|
|||
|
|
␊
|
|||
|
|
## B␊
|
|||
|
|
␊
|
|||
|
|
### C␊
|
|||
|
|
␊
|
|||
|
|
## B␊
|
|||
|
|
␊
|
|||
|
|
{MD024:11}␊
|
|||
|
|
␊
|
|||
|
|
### C␊
|
|||
|
|
␊
|
|||
|
|
## D␊
|
|||
|
|
␊
|
|||
|
|
### C␊
|
|||
|
|
␊
|
|||
|
|
### E␊
|
|||
|
|
␊
|
|||
|
|
### C␊
|
|||
|
|
␊
|
|||
|
|
{MD024:23}␊
|
|||
|
|
␊
|
|||
|
|
##### F␊
|
|||
|
|
␊
|
|||
|
|
{MD001:27}␊
|
|||
|
|
␊
|
|||
|
|
#### G␊
|
|||
|
|
␊
|
|||
|
|
##### F␊
|
|||
|
|
␊
|
|||
|
|
#### G␊
|
|||
|
|
␊
|
|||
|
|
{MD024:35}␊
|
|||
|
|
␊
|
|||
|
|
### E␊
|
|||
|
|
␊
|
|||
|
|
{MD024:39}␊
|
|||
|
|
␊
|
|||
|
|
# A␊
|
|||
|
|
␊
|
|||
|
|
{MD024:43} {MD025:43}␊
|
|||
|
|
␊
|
|||
|
|
## B␊
|
|||
|
|
␊
|
|||
|
|
### C␊
|
|||
|
|
␊
|
|||
|
|
## B␊
|
|||
|
|
␊
|
|||
|
|
{MD024:51}␊
|
|||
|
|
␊
|
|||
|
|
# Heading duplicate content siblings only␊
|
|||
|
|
␊
|
|||
|
|
{MD024:55} {MD025:55}␊
|
|||
|
|
␊
|
|||
|
|
AA␊
|
|||
|
|
==␊
|
|||
|
|
␊
|
|||
|
|
{MD025:59}␊
|
|||
|
|
␊
|
|||
|
|
AA␊
|
|||
|
|
--␊
|
|||
|
|
␊
|
|||
|
|
BB␊
|
|||
|
|
--␊
|
|||
|
|
␊
|
|||
|
|
CC␊
|
|||
|
|
--␊
|
|||
|
|
␊
|
|||
|
|
BB␊
|
|||
|
|
--␊
|
|||
|
|
␊
|
|||
|
|
{MD024:73}␊
|
|||
|
|
␊
|
|||
|
|
BB␊
|
|||
|
|
==␊
|
|||
|
|
␊
|
|||
|
|
{MD025:78}␊
|
|||
|
|
␊
|
|||
|
|
BB␊
|
|||
|
|
--␊
|
|||
|
|
␊
|
|||
|
|
## AAA ##␊
|
|||
|
|
␊
|
|||
|
|
### BBB ###␊
|
|||
|
|
␊
|
|||
|
|
## BBB ##␊
|
|||
|
|
␊
|
|||
|
|
### BBB ###␊
|
|||
|
|
␊
|
|||
|
|
## BBB ##␊
|
|||
|
|
␊
|
|||
|
|
{MD024:94}␊
|
|||
|
|
␊
|
|||
|
|
## Headings <!-- that differ -->␊
|
|||
|
|
␊
|
|||
|
|
## Headings <!-- in comments -->␊
|
|||
|
|
␊
|
|||
|
|
{MD024:-2}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": false,␊
|
|||
|
|
"no-duplicate-heading": {␊
|
|||
|
|
"siblings_only": true␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading-multiple-top-level-preceding-blank-and-comment.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2 {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `␊
|
|||
|
|
<!-- Comment -->␊
|
|||
|
|
␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
# Heading 2 {MD025}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading-multiple-top-level-preceding-blank.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2 {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
# Heading 2 {MD025}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading-multiple-top-level-preceding-comment.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2 {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `<!-- Comment -->␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
# Heading 2 {MD025}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_duplicate_content.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 1',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
## Heading 1␊
|
|||
|
|
␊
|
|||
|
|
### Heading 2␊
|
|||
|
|
␊
|
|||
|
|
## Heading 3␊
|
|||
|
|
␊
|
|||
|
|
{MD024:5} {MD024:7}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_duplicate_content_different_nesting.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# Change log␊
|
|||
|
|
␊
|
|||
|
|
## 2.0.0␊
|
|||
|
|
␊
|
|||
|
|
### Bug fixes␊
|
|||
|
|
␊
|
|||
|
|
### Features␊
|
|||
|
|
␊
|
|||
|
|
## 1.0.0␊
|
|||
|
|
␊
|
|||
|
|
### Bug fixes␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-duplicate-heading": {␊
|
|||
|
|
"siblings_only": true␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_duplicate_content_no_different_nesting.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Bug fixes',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Multiple headings with the same content',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD024',
|
|||
|
|
'no-duplicate-heading',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Change log␊
|
|||
|
|
␊
|
|||
|
|
## 2.0.0␊
|
|||
|
|
␊
|
|||
|
|
### Bug fixes␊
|
|||
|
|
␊
|
|||
|
|
### Features␊
|
|||
|
|
␊
|
|||
|
|
## 1.0.0␊
|
|||
|
|
␊
|
|||
|
|
### Bug fixes␊
|
|||
|
|
␊
|
|||
|
|
{MD024:11}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_multiple_toplevel.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2 {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
# Heading 2 {MD025}␊
|
|||
|
|
␊
|
|||
|
|
<p>␊
|
|||
|
|
# Not heading␊
|
|||
|
|
</p>␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable-file no-inline-html -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_mutliple_h1_no_toplevel.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `Some introductory text␊
|
|||
|
|
␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
# Heading 2␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"first-line-heading": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_trailing_punctuation.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' .\'',
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' ,\'',
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' ;\'',
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' :\'',
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' !\'',
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' 。\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' ,\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' ;\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' :\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 21,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' !\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' !\'',
|
|||
|
|
errorRange: [
|
|||
|
|
29,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 29,
|
|||
|
|
},
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \' !\'',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading Trailing Punctuation␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading?␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading/Full-Width?␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable heading-style -->␊
|
|||
|
|
␊
|
|||
|
|
## Heading {MD026} alternate ##␊
|
|||
|
|
␊
|
|||
|
|
Heading {MD026} alternate too␊
|
|||
|
|
-------------------------------␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_trailing_punctuation_customized.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \'.\'',
|
|||
|
|
errorRange: [
|
|||
|
|
20,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 20,
|
|||
|
|
},
|
|||
|
|
lineNumber: 1,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \',\'',
|
|||
|
|
errorRange: [
|
|||
|
|
21,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 21,
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \':\'',
|
|||
|
|
errorRange: [
|
|||
|
|
21,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 21,
|
|||
|
|
},
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \';\'',
|
|||
|
|
errorRange: [
|
|||
|
|
21,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 21,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \'?\'',
|
|||
|
|
errorRange: [
|
|||
|
|
21,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 21,
|
|||
|
|
},
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \']\'',
|
|||
|
|
errorRange: [
|
|||
|
|
21,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 21,
|
|||
|
|
},
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 3!␊
|
|||
|
|
␊
|
|||
|
|
## Heading 4 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 5 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 6 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 7 {MD026}␊
|
|||
|
|
␊
|
|||
|
|
The rule has been customized to allow exclamation point while disallowing␊
|
|||
|
|
everything else.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-trailing-punctuation": {␊
|
|||
|
|
"punctuation": ".,;:?]"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## heading_trailing_punctuation_empty.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# Heading Trailing Punctuation␊
|
|||
|
|
␊
|
|||
|
|
## Heading .␊
|
|||
|
|
␊
|
|||
|
|
## Heading ,␊
|
|||
|
|
␊
|
|||
|
|
## Heading ;␊
|
|||
|
|
␊
|
|||
|
|
## Heading :␊
|
|||
|
|
␊
|
|||
|
|
## Heading !␊
|
|||
|
|
␊
|
|||
|
|
## Heading ?␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-trailing-punctuation": {␊
|
|||
|
|
"punctuation": ""␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings-with-emoji.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# headings-with-emoji␊
|
|||
|
|
␊
|
|||
|
|
## Known Issues :bug:␊
|
|||
|
|
␊
|
|||
|
|
## Love :heartpulse:␊
|
|||
|
|
␊
|
|||
|
|
## :tada:␊
|
|||
|
|
␊
|
|||
|
|
## :checkered_flag:␊
|
|||
|
|
␊
|
|||
|
|
## :clock930:␊
|
|||
|
|
␊
|
|||
|
|
## :t-rex:␊
|
|||
|
|
␊
|
|||
|
|
## Boba:bubble_tea:␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable heading-style -->␊
|
|||
|
|
␊
|
|||
|
|
## Fix the :bug: ##␊
|
|||
|
|
␊
|
|||
|
|
Another :heartpulse:␊
|
|||
|
|
--------------------␊
|
|||
|
|
␊
|
|||
|
|
:eyes:␊
|
|||
|
|
------␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings-with-html-entities.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \';\'',
|
|||
|
|
errorRange: [
|
|||
|
|
31,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 31,
|
|||
|
|
},
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \';\'',
|
|||
|
|
errorRange: [
|
|||
|
|
34,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 34,
|
|||
|
|
},
|
|||
|
|
lineNumber: 26,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Punctuation: \';\'',
|
|||
|
|
errorRange: [
|
|||
|
|
31,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 31,
|
|||
|
|
},
|
|||
|
|
lineNumber: 28,
|
|||
|
|
ruleDescription: 'Trailing punctuation in heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD026',
|
|||
|
|
'no-trailing-punctuation',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# headings-with-html-entities␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable heading-style -->␊
|
|||
|
|
␊
|
|||
|
|
## Copyright © 2000␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2001 ©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2002©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2003 ©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2004 ©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2004 ©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2005 ©␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2006 © ##␊
|
|||
|
|
␊
|
|||
|
|
Copyright 2007 ©␊
|
|||
|
|
---------------------␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2008 {MD026} copy␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2009 {MD026} #x000A9␊
|
|||
|
|
␊
|
|||
|
|
## Copyright 2010 {MD026} #169␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings-with-invalid-spaces.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '## Non-breaking space {MD018}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'No space after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD018',
|
|||
|
|
'no-missing-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra non-breaking space {...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 25,
|
|||
|
|
ruleDescription: 'No space after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD018',
|
|||
|
|
'no-missing-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra normal space {MD019}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra Tab {MD019}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 27,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Non-breaking space (left) {...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 39,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '## Non-breaking space (left) {MD020} ##',
|
|||
|
|
},
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'No space inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md020.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD020',
|
|||
|
|
'no-missing-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '...aking space (right) {MD020} ##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
38,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 40,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '## Non-breaking space (right) {MD020} ##',
|
|||
|
|
},
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'No space inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md020.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD020',
|
|||
|
|
'no-missing-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra non-breaking space (...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 46,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '## Extra non-breaking space (left) {MD020} ##',
|
|||
|
|
},
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'No space inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md020.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD020',
|
|||
|
|
'no-missing-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '...king space (right) {MD020} ##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
45,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 47,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '## Extra non-breaking space (right) {MD020} ##',
|
|||
|
|
},
|
|||
|
|
lineNumber: 35,
|
|||
|
|
ruleDescription: 'No space inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md020.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD020',
|
|||
|
|
'no-missing-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra Normal space (both) ...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Multiple spaces inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md021.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD021',
|
|||
|
|
'no-multiple-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '...ormal space (both) {MD021} ##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
39,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 39,
|
|||
|
|
},
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Multiple spaces inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md021.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD021',
|
|||
|
|
'no-multiple-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Extra tab (left) {MD021} #...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 33,
|
|||
|
|
ruleDescription: 'Multiple spaces inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md021.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD021',
|
|||
|
|
'no-multiple-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '... Extra tab (right) {MD021} ##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 37,
|
|||
|
|
ruleDescription: 'Multiple spaces inside hashes on closed atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md021.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD021',
|
|||
|
|
'no-multiple-space-closed-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Headings with invalid spaces␊
|
|||
|
|
␊
|
|||
|
|
## Normal space␊
|
|||
|
|
␊
|
|||
|
|
## Normal outer non-breaking inner space␊
|
|||
|
|
␊
|
|||
|
|
## Non-breaking space {MD018}␊
|
|||
|
|
␊
|
|||
|
|
## Tab␊
|
|||
|
|
␊
|
|||
|
|
## Normal space (both) ##␊
|
|||
|
|
␊
|
|||
|
|
## Normal outer non-breaking inner space (both) ##␊
|
|||
|
|
␊
|
|||
|
|
## Non-breaking space (left) {MD020} ##␊
|
|||
|
|
␊
|
|||
|
|
## Tab (left) ##␊
|
|||
|
|
␊
|
|||
|
|
## Non-breaking space (right) {MD020} ##␊
|
|||
|
|
␊
|
|||
|
|
## Tab (right) ##␊
|
|||
|
|
␊
|
|||
|
|
## Extra normal space {MD019}␊
|
|||
|
|
␊
|
|||
|
|
## Extra non-breaking space {MD018}␊
|
|||
|
|
␊
|
|||
|
|
## Extra Tab {MD019}␊
|
|||
|
|
␊
|
|||
|
|
## Extra Normal space (both) {MD021} ##␊
|
|||
|
|
␊
|
|||
|
|
## Extra non-breaking space (left) {MD020} ##␊
|
|||
|
|
␊
|
|||
|
|
## Extra tab (left) {MD021} ##␊
|
|||
|
|
␊
|
|||
|
|
## Extra non-breaking space (right) {MD020} ##␊
|
|||
|
|
␊
|
|||
|
|
## Extra tab (right) {MD021} ##␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": false,␊
|
|||
|
|
"no-hard-tabs": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings-without-content.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '#',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
},
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '#',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 3,
|
|||
|
|
},
|
|||
|
|
lineNumber: 12,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 18,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '##',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
4,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 20,
|
|||
|
|
ruleDescription: 'Multiple spaces after hash on atx style heading',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md019.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD019',
|
|||
|
|
'no-multiple-space-atx',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Headings Without Content␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable single-title heading-style -->␊
|
|||
|
|
<!-- markdownlint-disable no-duplicate-heading no-trailing-spaces -->␊
|
|||
|
|
␊
|
|||
|
|
#␊
|
|||
|
|
␊
|
|||
|
|
# ␊
|
|||
|
|
␊
|
|||
|
|
# ␊
|
|||
|
|
␊
|
|||
|
|
# ␊
|
|||
|
|
␊
|
|||
|
|
##␊
|
|||
|
|
␊
|
|||
|
|
## ␊
|
|||
|
|
␊
|
|||
|
|
## ␊
|
|||
|
|
␊
|
|||
|
|
## ␊
|
|||
|
|
␊
|
|||
|
|
{MD019:10} {MD019:12} {MD019:18} {MD019:20}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_bad.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: h2; Actual: h3',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Heading levels should only increment by one level at a time',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md001.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD001',
|
|||
|
|
'heading-increment',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: h3; Actual: h4',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Heading levels should only increment by one level at a time',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md001.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD001',
|
|||
|
|
'heading-increment',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading␊
|
|||
|
|
␊
|
|||
|
|
### Heading 3 {MD001}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
#### Heading 4 {MD001}␊
|
|||
|
|
␊
|
|||
|
|
<p>␊
|
|||
|
|
###### Not heading␊
|
|||
|
|
</p>␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable-file no-inline-html -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_good.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
## Heading 3␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_good_setext_with_atx.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: setext; Actual: atx',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx; Actual: atx_closed',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `Heading 1␊
|
|||
|
|
=========␊
|
|||
|
|
␊
|
|||
|
|
Heading 2␊
|
|||
|
|
---------␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD003}␊
|
|||
|
|
␊
|
|||
|
|
### Heading 3␊
|
|||
|
|
␊
|
|||
|
|
#### Heading 4 {MD003} ####␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": {␊
|
|||
|
|
"style": "setext_with_atx"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_good_setext_with_atx_closed.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: setext; Actual: atx_closed',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx_closed; Actual: atx',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `Heading 1␊
|
|||
|
|
=========␊
|
|||
|
|
␊
|
|||
|
|
Heading 2␊
|
|||
|
|
---------␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD003} ##␊
|
|||
|
|
␊
|
|||
|
|
### Heading 3 ###␊
|
|||
|
|
␊
|
|||
|
|
#### Heading 4 {MD003}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": {␊
|
|||
|
|
"style": "setext_with_atx_closed"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_good_with_issue_numbers.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
See the following issues:␊
|
|||
|
|
␊
|
|||
|
|
* #1234␊
|
|||
|
|
* #5678 (and related)␊
|
|||
|
|
* #5678␊
|
|||
|
|
* #9101␊
|
|||
|
|
␊
|
|||
|
|
## Heading 3␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_surrounding_space_atx.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '## Heading 2 {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 4,
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Heading 3 {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Heading 3 {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 6,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '## Heading 4 {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD022}␊
|
|||
|
|
␊
|
|||
|
|
Some text␊
|
|||
|
|
␊
|
|||
|
|
## Heading 3 {MD022}␊
|
|||
|
|
␊
|
|||
|
|
Some text␊
|
|||
|
|
␊
|
|||
|
|
## Heading 4 {MD022}␊
|
|||
|
|
␊
|
|||
|
|
## Heading 5␊
|
|||
|
|
␊
|
|||
|
|
* This shouldn't trigger MD022, but did because of some bug where we tried to␊
|
|||
|
|
#catch headings that kramdown didn't parse correctly.␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_surrounding_space_setext.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading 2 {MD022}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 6,
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 9,
|
|||
|
|
},
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025}',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 12,
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025} Head...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 6,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'Some text {MD022} {MD025} Head...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `Heading 1␊
|
|||
|
|
=========␊
|
|||
|
|
␊
|
|||
|
|
Heading 2 {MD022}␊
|
|||
|
|
-----------------␊
|
|||
|
|
␊
|
|||
|
|
Some text {MD022} {MD025}␊
|
|||
|
|
Heading 3␊
|
|||
|
|
=================␊
|
|||
|
|
␊
|
|||
|
|
Some text {MD022} {MD025}␊
|
|||
|
|
Heading 4␊
|
|||
|
|
=================␊
|
|||
|
|
␊
|
|||
|
|
Some text␊
|
|||
|
|
␊
|
|||
|
|
Heading 5␊
|
|||
|
|
---------␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## headings_with_spaces_at_the_beginning.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '# Test {MD022} Valid heading for CommonMark (see section 5.2)',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '# Test {MD022} Valid heading for CommonMark (see section 5.2)',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Below',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
lineNumber: 20,
|
|||
|
|
},
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '# Test {MD022} {MD023} Also valid heading for CommonMark',
|
|||
|
|
errorDetail: 'Expected: 1; Actual: 0; Above',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: {
|
|||
|
|
insertText: `␊
|
|||
|
|
`,
|
|||
|
|
},
|
|||
|
|
lineNumber: 20,
|
|||
|
|
ruleDescription: 'Headings should be surrounded by blank lines',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md022.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD022',
|
|||
|
|
'blanks-around-headings',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: ' # Heading 1 {MD023}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Headings must start at the beginning of the line',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md023.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD023',
|
|||
|
|
'heading-start-left',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: ' Setext style fully indented {...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Headings must start at the beginning of the line',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md023.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD023',
|
|||
|
|
'heading-start-left',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: ' Setext style title only inden...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
},
|
|||
|
|
lineNumber: 8,
|
|||
|
|
ruleDescription: 'Headings must start at the beginning of the line',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md023.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD023',
|
|||
|
|
'heading-start-left',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: ' # Test {MD022} {MD023} Als...',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 3,
|
|||
|
|
},
|
|||
|
|
lineNumber: 20,
|
|||
|
|
ruleDescription: 'Headings must start at the beginning of the line',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md023.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD023',
|
|||
|
|
'heading-start-left',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `Some text␊
|
|||
|
|
␊
|
|||
|
|
# Heading 1 {MD023}␊
|
|||
|
|
␊
|
|||
|
|
Setext style fully indented {MD023}␊
|
|||
|
|
===================================␊
|
|||
|
|
␊
|
|||
|
|
Setext style title only indented {MD023}␊
|
|||
|
|
=========================================␊
|
|||
|
|
␊
|
|||
|
|
* Test situations in which MD023 shouldn't be triggered.␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`rb␊
|
|||
|
|
# This shouldn't trigger MD023 as it is a code comment.␊
|
|||
|
|
foo = "And here is some code"␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
* This is another case where MD023 shouldn't be triggered␊
|
|||
|
|
␊
|
|||
|
|
# Test {MD022} Valid heading for CommonMark (see section 5.2)␊
|
|||
|
|
␊
|
|||
|
|
# Test {MD022} {MD023} Also valid heading for CommonMark␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": false,␊
|
|||
|
|
"first-line-heading": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-blockquote-dash.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 33,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in Blockquote, Dash␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> ---␊
|
|||
|
|
>␊
|
|||
|
|
> ***␊
|
|||
|
|
>␊
|
|||
|
|
> ___␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:15} {MD035:17}␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> > Text␊
|
|||
|
|
> >␊
|
|||
|
|
> > ---␊
|
|||
|
|
> >␊
|
|||
|
|
> > ***␊
|
|||
|
|
> >␊
|
|||
|
|
> > ___␊
|
|||
|
|
> >␊
|
|||
|
|
> > Text␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:23} {MD035:31} {MD035:33}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-blockquote-star.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: * * *',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 33,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in Blockquote, Star␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> ---␊
|
|||
|
|
>␊
|
|||
|
|
> ***␊
|
|||
|
|
>␊
|
|||
|
|
> ___␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:13} {MD035:17}␊
|
|||
|
|
␊
|
|||
|
|
* * *␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> > Text␊
|
|||
|
|
> >␊
|
|||
|
|
> > ---␊
|
|||
|
|
> >␊
|
|||
|
|
> > ***␊
|
|||
|
|
> >␊
|
|||
|
|
> > ___␊
|
|||
|
|
> >␊
|
|||
|
|
> > Text␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:23} {MD035:29} {MD035:33}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-blockquote-under.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: _ _ _',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in Blockquote, Under␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> ---␊
|
|||
|
|
>␊
|
|||
|
|
> ***␊
|
|||
|
|
>␊
|
|||
|
|
> ___␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:13} {MD035:15}␊
|
|||
|
|
␊
|
|||
|
|
_ _ _␊
|
|||
|
|
␊
|
|||
|
|
> Text␊
|
|||
|
|
>␊
|
|||
|
|
> > Text␊
|
|||
|
|
> >␊
|
|||
|
|
> > ---␊
|
|||
|
|
> >␊
|
|||
|
|
> > ***␊
|
|||
|
|
> >␊
|
|||
|
|
> > ___␊
|
|||
|
|
> >␊
|
|||
|
|
> > Text␊
|
|||
|
|
>␊
|
|||
|
|
> Text␊
|
|||
|
|
␊
|
|||
|
|
{MD035:23} {MD035:29} {MD035:31}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-list-dash.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: - ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 14,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 16,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 18,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: * ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 26,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 28,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in List, Dash␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable blanks-around-lists ul-style -->␊
|
|||
|
|
␊
|
|||
|
|
- list␊
|
|||
|
|
- ---␊
|
|||
|
|
- list␊
|
|||
|
|
- ***␊
|
|||
|
|
- list␊
|
|||
|
|
- ___␊
|
|||
|
|
- list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:14} {MD035:16} {MD035:18}␊
|
|||
|
|
␊
|
|||
|
|
* list␊
|
|||
|
|
* ---␊
|
|||
|
|
* list␊
|
|||
|
|
* ***␊
|
|||
|
|
* list␊
|
|||
|
|
* ___␊
|
|||
|
|
* list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:26} {MD035:28}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-list-star.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: - ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 14,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 18,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: * ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 26,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 28,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in List, Star␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable blanks-around-lists ul-style -->␊
|
|||
|
|
␊
|
|||
|
|
- list␊
|
|||
|
|
- ---␊
|
|||
|
|
- list␊
|
|||
|
|
- ***␊
|
|||
|
|
- list␊
|
|||
|
|
- ___␊
|
|||
|
|
- list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:14} {MD035:18}␊
|
|||
|
|
␊
|
|||
|
|
* list␊
|
|||
|
|
* ---␊
|
|||
|
|
* list␊
|
|||
|
|
* ***␊
|
|||
|
|
* list␊
|
|||
|
|
* ___␊
|
|||
|
|
* list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:24} {MD035:26} {MD035:28}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-in-list-under.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: - ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 14,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 16,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ___; Actual: * ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 26,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR in List, Under␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable blanks-around-lists ul-style -->␊
|
|||
|
|
␊
|
|||
|
|
- list␊
|
|||
|
|
- ---␊
|
|||
|
|
- list␊
|
|||
|
|
- ***␊
|
|||
|
|
- list␊
|
|||
|
|
- ___␊
|
|||
|
|
- list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:14} {MD035:16}␊
|
|||
|
|
␊
|
|||
|
|
* list␊
|
|||
|
|
* ---␊
|
|||
|
|
* list␊
|
|||
|
|
* ***␊
|
|||
|
|
* list␊
|
|||
|
|
* ___␊
|
|||
|
|
* list␊
|
|||
|
|
␊
|
|||
|
|
{MD035:24} {MD035:26}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr-style-custom.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: - - -; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: - - -; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: - - -; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HR Style Custom␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
{MD035:5}␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
{MD035:10}␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
{MD035:19}␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"hr-style": {␊
|
|||
|
|
"style": "- - -"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr_style_dashes.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: * * *',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: *****',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: -----',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: _ _ _',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: _____',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ---; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 21,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# hr_style_dashes␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
* * *␊
|
|||
|
|
␊
|
|||
|
|
*****␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
-----␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
_ _ _␊
|
|||
|
|
␊
|
|||
|
|
_____␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:3} {MD035:5} {MD035:7} {MD035:11} {MD035:13}␊
|
|||
|
|
{MD035:15} {MD035:17} {MD035:19} {MD035:21}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"hr-style": {␊
|
|||
|
|
"style": "---"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr_style_inconsistent.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: * * *',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: *****',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: -----',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: _ _ _',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: _____',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# hr_style_inconsistent␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
* * *␊
|
|||
|
|
␊
|
|||
|
|
*****␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
-----␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
_ _ _␊
|
|||
|
|
␊
|
|||
|
|
_____␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr_style_long.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: * * *',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: *****',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: -----',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: _ _ _',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: _____; Actual: ***',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 21,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# hr_style_long␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
* * *␊
|
|||
|
|
␊
|
|||
|
|
*****␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
-----␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
_ _ _␊
|
|||
|
|
␊
|
|||
|
|
_____␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:3} {MD035:5} {MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15}␊
|
|||
|
|
{MD035:17} {MD035:21}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"hr-style": {␊
|
|||
|
|
"style": "_____"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hr_style_stars.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: * * *',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: *****',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ---',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: - - -',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 11,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: -----',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: ___',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: _ _ _',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: ***; Actual: _____',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Horizontal rule style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD035',
|
|||
|
|
'hr-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# hr_style_stars␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
* * *␊
|
|||
|
|
␊
|
|||
|
|
*****␊
|
|||
|
|
␊
|
|||
|
|
---␊
|
|||
|
|
␊
|
|||
|
|
- - -␊
|
|||
|
|
␊
|
|||
|
|
-----␊
|
|||
|
|
␊
|
|||
|
|
___␊
|
|||
|
|
␊
|
|||
|
|
_ _ _␊
|
|||
|
|
␊
|
|||
|
|
_____␊
|
|||
|
|
␊
|
|||
|
|
***␊
|
|||
|
|
␊
|
|||
|
|
{MD035:5} {MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"hr-style": {␊
|
|||
|
|
"style": "***"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## html-comment-in-code-and-table.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 9,
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
13,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 13,
|
|||
|
|
},
|
|||
|
|
lineNumber: 39,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HTML Comment in Code and Table␊
|
|||
|
|
␊
|
|||
|
|
\`{MD038}\`␊
|
|||
|
|
␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`text␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|------------|␊
|
|||
|
|
| \`{MD038}\` |␊
|
|||
|
|
␊
|
|||
|
|
* item␊
|
|||
|
|
␊
|
|||
|
|
\`{MD038}\`␊
|
|||
|
|
␊
|
|||
|
|
* item␊
|
|||
|
|
␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
␊
|
|||
|
|
* item␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`text␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
* item␊
|
|||
|
|
␊
|
|||
|
|
<!-- \`ignored \` -->␊
|
|||
|
|
␊
|
|||
|
|
* item␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|------------|␊
|
|||
|
|
| \`{MD038}\` |␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"code-block-style": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## html-comment-in-list-item.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# HTML Comment in List Item␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
<!--␊
|
|||
|
|
-->␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
x<!--␊
|
|||
|
|
-->␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
<!--␊
|
|||
|
|
-->x␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
x<!--␊
|
|||
|
|
x␊
|
|||
|
|
-->x␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`html␊
|
|||
|
|
<!--␊
|
|||
|
|
-->␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`html␊
|
|||
|
|
x<!--␊
|
|||
|
|
-->␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`html␊
|
|||
|
|
<!--␊
|
|||
|
|
-->x␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`html␊
|
|||
|
|
x<!--␊
|
|||
|
|
x␊
|
|||
|
|
-->x␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
- item␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## html-comment-in-markdown-table.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 16,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 22,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
11,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 11,
|
|||
|
|
},
|
|||
|
|
lineNumber: 28,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 40,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 46,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`{MD038} `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
19,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 19,
|
|||
|
|
},
|
|||
|
|
lineNumber: 52,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HTML Comment in Markdown Table␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`xml␊
|
|||
|
|
<!-- comment -->␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|-------|␊
|
|||
|
|
| <!-- |␊
|
|||
|
|
| cell |␊
|
|||
|
|
| --> |␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|------------|␊
|
|||
|
|
| <!-- |␊
|
|||
|
|
| \`{MD038}\` |␊
|
|||
|
|
| --> |␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|----------------|␊
|
|||
|
|
| <!--␊
|
|||
|
|
\`{MD038}\` --> |␊
|
|||
|
|
| cell |␊
|
|||
|
|
␊
|
|||
|
|
| Table |␊
|
|||
|
|
|----------------|␊
|
|||
|
|
| <!-- \\␊
|
|||
|
|
\`{MD038}\` --> |␊
|
|||
|
|
| cell |␊
|
|||
|
|
␊
|
|||
|
|
| Table | Table |␊
|
|||
|
|
|-------|-------|␊
|
|||
|
|
| cell | <!-- |␊
|
|||
|
|
| cell | cell |␊
|
|||
|
|
| cell | --> |␊
|
|||
|
|
␊
|
|||
|
|
| Table | Table |␊
|
|||
|
|
|-------|------------|␊
|
|||
|
|
| cell | <!-- |␊
|
|||
|
|
| cell | \`{MD038}\` |␊
|
|||
|
|
| cell | --> |␊
|
|||
|
|
␊
|
|||
|
|
| Table | Table |␊
|
|||
|
|
|-------|----------------|␊
|
|||
|
|
| cell | <!--␊
|
|||
|
|
| cell | \`{MD038}\` --> |␊
|
|||
|
|
| cell | cell |␊
|
|||
|
|
␊
|
|||
|
|
| Table | Table |␊
|
|||
|
|
|-------|----------------|␊
|
|||
|
|
| cell | <!-- \\␊
|
|||
|
|
| cell | \`{MD038}\` --> |␊
|
|||
|
|
| cell | cell |␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"table-pipe-style": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## html-comments.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: '} *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
15,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 16,
|
|||
|
|
},
|
|||
|
|
lineNumber: 51,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '} *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
16,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 17,
|
|||
|
|
},
|
|||
|
|
lineNumber: 53,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# HTML Comments␊
|
|||
|
|
␊
|
|||
|
|
## Block Comments␊
|
|||
|
|
␊
|
|||
|
|
<https://spec.commonmark.org/0.29/#html-blocks>␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment * -->text␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *code * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment *␊
|
|||
|
|
*comment * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment *␊
|
|||
|
|
*comment *␊
|
|||
|
|
*comment * -->␊
|
|||
|
|
␊
|
|||
|
|
<!--> *text * -->␊
|
|||
|
|
␊
|
|||
|
|
<!---> *text * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment * --->␊
|
|||
|
|
␊
|
|||
|
|
<!-- -- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
<!-- *comment * -- -->␊
|
|||
|
|
␊
|
|||
|
|
## Inline Comments␊
|
|||
|
|
␊
|
|||
|
|
<https://spec.commonmark.org/0.29/#html-comment>␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment * -->text␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *code * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment *␊
|
|||
|
|
*comment * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment *␊
|
|||
|
|
*comment *␊
|
|||
|
|
*comment * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!--> *{MD037}* -->␊
|
|||
|
|
␊
|
|||
|
|
t<!---> *{MD037}* -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment * --->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- -- *comment * -->␊
|
|||
|
|
␊
|
|||
|
|
t<!-- *comment * -- -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## html-tags.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 7,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: p',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 17,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
7,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 19,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
7,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 23,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
36,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
14,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 35,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 37,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 41,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
56,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 41,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
35,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 43,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: problem',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
9,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 49,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: problem',
|
|||
|
|
errorRange: [
|
|||
|
|
8,
|
|||
|
|
9,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 55,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
8,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 61,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: em',
|
|||
|
|
errorRange: [
|
|||
|
|
18,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 84,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: a',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
18,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 90,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: img',
|
|||
|
|
errorRange: [
|
|||
|
|
6,
|
|||
|
|
39,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 91,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: foo-bar-baz',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
13,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 101,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: details',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
9,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 109,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: details',
|
|||
|
|
errorRange: [
|
|||
|
|
2,
|
|||
|
|
9,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 116,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: custom-element',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
35,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 120,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Detailed HTML Results␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<em>Block block {MD033}</em>␊
|
|||
|
|
␊
|
|||
|
|
Text <em>inline inline {MD033}</em> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<strong>Block block</strong>␊
|
|||
|
|
␊
|
|||
|
|
Text <strong>inline inline</strong> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<p>␊
|
|||
|
|
Block {MD033:17}␊
|
|||
|
|
block <em>block {MD033}</em> block␊
|
|||
|
|
block␊
|
|||
|
|
block <strong>block</strong> block␊
|
|||
|
|
block␊
|
|||
|
|
block <em>block</em> block <strong>block</strong> block {MD033}␊
|
|||
|
|
block <strong>block</strong> block <em>block</em> block {MD033}␊
|
|||
|
|
</p>␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<strong><em>Block</em> block {MD033}</strong>␊
|
|||
|
|
␊
|
|||
|
|
Text <strong><em>inline</em> inline {MD033}</strong> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<em><strong>Block</strong> block {MD033}</em>␊
|
|||
|
|
␊
|
|||
|
|
Text <em><strong>inline</strong> inline {MD033}</em> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
Text <em>inline</em> text <strong>inline</strong> text <em>inline</em> text {MD033}␊
|
|||
|
|
␊
|
|||
|
|
Text <strong>inline</strong> text <em>inline</em> text <strong>inline</strong> {MD033}␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
\\<not>Block block\\</not>␊
|
|||
|
|
␊
|
|||
|
|
\\\\<problem>Block block {MD033}\\\\</problem>␊
|
|||
|
|
␊
|
|||
|
|
<not\\>Block block</not\\>␊
|
|||
|
|
␊
|
|||
|
|
Text \\<not>inline inline\\</not> text␊
|
|||
|
|
␊
|
|||
|
|
Text \\\\<problem>inline inline {MD033}\\\\</problem> text␊
|
|||
|
|
␊
|
|||
|
|
Text <not\\>inline inline</not\\> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
> Text <em>inline inline {MD033}</em> text␊
|
|||
|
|
> text <strong>inline inline</strong> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
Text <em>inline inline</em> text␊
|
|||
|
|
text <strong>inline inline</strong> text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
\`\`\`html␊
|
|||
|
|
Text <em>inline inline</em> text␊
|
|||
|
|
text <strong>inline inline</strong> text␊
|
|||
|
|
\`\`\`␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
\`<em>\`␊
|
|||
|
|
␊
|
|||
|
|
Text \`\`<em>\`\` text␊
|
|||
|
|
␊
|
|||
|
|
Text \`<em>\` text \`\`<em>\`\` text \`\`\`<em>\`\`\` text␊
|
|||
|
|
␊
|
|||
|
|
Text \`<em>\` text <em>inline {MD033}</em> text␊
|
|||
|
|
␊
|
|||
|
|
Text \`\`text <em> text\`\` text␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
Text <a href="#anchor">inline {MD033}</a> text␊
|
|||
|
|
text <img src="src.png" alt="Description" /> text {MD033}␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<name@example.com> is an email autolink.␊
|
|||
|
|
␊
|
|||
|
|
Another email autolink: <first+last@ex.exa-mple.com>.␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<foo-bar-baz> is an HTML element. {MD033}␊
|
|||
|
|
␊
|
|||
|
|
But <foo.bar.baz> is not an autolink or HTML element.␊
|
|||
|
|
And neither is <foo_bar>.␊
|
|||
|
|
Nor <123abc>.␊
|
|||
|
|
␊
|
|||
|
|
Text␊
|
|||
|
|
␊
|
|||
|
|
<details>␊
|
|||
|
|
␊
|
|||
|
|
{MD033:109}␊
|
|||
|
|
␊
|
|||
|
|
<details>␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
<details>␊
|
|||
|
|
␊
|
|||
|
|
{MD033:116}␊
|
|||
|
|
␊
|
|||
|
|
<custom-element attribute1="value1"␊
|
|||
|
|
attribute2="value2" />␊
|
|||
|
|
␊
|
|||
|
|
{MD033:120}␊
|
|||
|
|
␊
|
|||
|
|
Text <!-- <commented-out html="tag"> --> text.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-hard-tabs": false,␊
|
|||
|
|
"no-inline-html": {␊
|
|||
|
|
"allowed_elements": [␊
|
|||
|
|
"strong"␊
|
|||
|
|
]␊
|
|||
|
|
},␊
|
|||
|
|
"code-block-style": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hugo-quickstart-example-blank.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++␊
|
|||
|
|
date = "2016-02-14T16:11:58+05:30"␊
|
|||
|
|
draft = true␊
|
|||
|
|
title = "Good to Great Book Review"␊
|
|||
|
|
␊
|
|||
|
|
+++␊
|
|||
|
|
␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"single-title": {␊
|
|||
|
|
"front_matter_title": ""␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hugo-quickstart-example-clean.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `+++␊
|
|||
|
|
date = "2016-02-14T16:11:58+05:30"␊
|
|||
|
|
draft = true␊
|
|||
|
|
title = "Good to Great Book Review"␊
|
|||
|
|
␊
|
|||
|
|
+++␊
|
|||
|
|
# Heading 1␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"single-title": {␊
|
|||
|
|
"front_matter_title": ""␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## hugo-quickstart-example-json.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: 'Heading {MD025}',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 13,
|
|||
|
|
ruleDescription: 'Multiple top-level headings in the same document',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD025',
|
|||
|
|
'single-title',
|
|||
|
|
'single-h1',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `{␊
|
|||
|
|
"title": "Another Hugo Post",␊
|
|||
|
|
"description": "Nothing special, but one post is boring.",␊
|
|||
|
|
"date": "2014-09-02",␊
|
|||
|
|
"categories": [ "example", "configuration" ],␊
|
|||
|
|
"tags": [␊
|
|||
|
|
"example",␊
|
|||
|
|
"hugo",␊
|
|||
|
|
"toml"␊
|
|||
|
|
],␊
|
|||
|
|
}␊
|
|||
|
|
␊
|
|||
|
|
# Heading {MD025}␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## ignore-comments.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 1',
|
|||
|
|
errorRange: [
|
|||
|
|
30,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 30,
|
|||
|
|
},
|
|||
|
|
lineNumber: 29,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 0 or 2; Actual: 1',
|
|||
|
|
errorRange: [
|
|||
|
|
14,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 14,
|
|||
|
|
},
|
|||
|
|
lineNumber: 39,
|
|||
|
|
ruleDescription: 'Trailing spaces',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD009',
|
|||
|
|
'no-trailing-spaces',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 10',
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
2,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 10,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 16',
|
|||
|
|
errorRange: [
|
|||
|
|
16,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 3,
|
|||
|
|
editColumn: 16,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 22,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 24,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# ignore-comments.md␊
|
|||
|
|
␊
|
|||
|
|
Hard tab {MD010}␊
|
|||
|
|
␊
|
|||
|
|
Hard tabs hard tabs {MD010}␊
|
|||
|
|
␊
|
|||
|
|
<!-- Hard tab -->␊
|
|||
|
|
␊
|
|||
|
|
<!--Hard tab-->␊
|
|||
|
|
␊
|
|||
|
|
<!--␊
|
|||
|
|
Hard tab␊
|
|||
|
|
-->␊
|
|||
|
|
␊
|
|||
|
|
<!--␊
|
|||
|
|
Hard tab␊
|
|||
|
|
␊
|
|||
|
|
Hard tab␊
|
|||
|
|
-->␊
|
|||
|
|
␊
|
|||
|
|
Text <!--␊
|
|||
|
|
Hard tab {MD010}␊
|
|||
|
|
Invalid--!>comment␊
|
|||
|
|
Hard tab {MD010}␊
|
|||
|
|
--> text␊
|
|||
|
|
␊
|
|||
|
|
Te<!-- Hard tab -->xt␊
|
|||
|
|
␊
|
|||
|
|
Te<!-- Hard tab -->xt {MD009}␊
|
|||
|
|
␊
|
|||
|
|
T<!-- Hard tab -->ex<!-- Hard tab -->t␊
|
|||
|
|
␊
|
|||
|
|
Te<!--␊
|
|||
|
|
Hard tab␊
|
|||
|
|
-->xt␊
|
|||
|
|
␊
|
|||
|
|
Te<!--␊
|
|||
|
|
Hard tab␊
|
|||
|
|
-->xt {MD009}␊
|
|||
|
|
␊
|
|||
|
|
Te<!-- Trailing space ␊
|
|||
|
|
-->xt␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable MD010 -->␊
|
|||
|
|
␊
|
|||
|
|
Hard tab␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## ignore-html-block.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Element: style',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
7,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Inline HTML',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD033',
|
|||
|
|
'no-inline-html',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# ignore-html-block.md␊
|
|||
|
|
␊
|
|||
|
|
<style> {MD033}␊
|
|||
|
|
␊
|
|||
|
|
##Heading 1␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
##Heading 3##␊
|
|||
|
|
␊
|
|||
|
|
## Heading 4 ##␊
|
|||
|
|
␊
|
|||
|
|
</style>␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inconsistent_bullet_indent_same_level.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 4; Actual: 2',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
4,
|
|||
|
|
],
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Inconsistent indentation for list items at the same level',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md005.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD005',
|
|||
|
|
'list-indent',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: 2; Actual: 4',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
6,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 2,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list indentation',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD007',
|
|||
|
|
'ul-indent',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Inconsistent Bullet Indent Same Level␊
|
|||
|
|
␊
|
|||
|
|
* Item␊
|
|||
|
|
* Item {MD007}␊
|
|||
|
|
* Item {MD005}␊
|
|||
|
|
* Item␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inconsistent_bullet_styles_asterisk.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# inconsistent_bullet_styles_asterisk␊
|
|||
|
|
␊
|
|||
|
|
* Item␊
|
|||
|
|
* Item {MD004}␊
|
|||
|
|
* Item {MD004}␊
|
|||
|
|
* Item␊
|
|||
|
|
␊
|
|||
|
|
> * Item␊
|
|||
|
|
> * Item {MD004}␊
|
|||
|
|
> * Item {MD004}␊
|
|||
|
|
> * Item␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inconsistent_bullet_styles_dash.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# inconsistent_bullet_styles_dash␊
|
|||
|
|
␊
|
|||
|
|
- Item␊
|
|||
|
|
- Item {MD004}␊
|
|||
|
|
- Item {MD004}␊
|
|||
|
|
- Item␊
|
|||
|
|
␊
|
|||
|
|
> - Item␊
|
|||
|
|
> - Item {MD004}␊
|
|||
|
|
> - Item {MD004}␊
|
|||
|
|
> - Item␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inconsistent_bullet_styles_plus.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 9,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 10,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# inconsistent_bullet_styles_plus␊
|
|||
|
|
␊
|
|||
|
|
+ Item␊
|
|||
|
|
+ Item {MD004}␊
|
|||
|
|
+ Item {MD004}␊
|
|||
|
|
+ Item␊
|
|||
|
|
␊
|
|||
|
|
> + Item␊
|
|||
|
|
> + Item {MD004}␊
|
|||
|
|
> + Item {MD004}␊
|
|||
|
|
> + Item␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_bullet_style_asterisk.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: asterisk; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '*',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# incorrect_bullet_style_asterisk␊
|
|||
|
|
␊
|
|||
|
|
* Item␊
|
|||
|
|
* Item {MD004}␊
|
|||
|
|
* Item {MD004}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"ul-style": {␊
|
|||
|
|
"style": "asterisk"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_bullet_style_dash.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: dash; Actual: plus',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '-',
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# incorrect_bullet_style_dash␊
|
|||
|
|
␊
|
|||
|
|
- Item {MD004}␊
|
|||
|
|
- Item␊
|
|||
|
|
- Item {MD004}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"ul-style": {␊
|
|||
|
|
"style": "dash"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_bullet_style_plus.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: asterisk',
|
|||
|
|
errorRange: [
|
|||
|
|
1,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 1,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: plus; Actual: dash',
|
|||
|
|
errorRange: [
|
|||
|
|
3,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 3,
|
|||
|
|
insertText: '+',
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Unordered list style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD004',
|
|||
|
|
'ul-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# incorrect_bullet_style_plus␊
|
|||
|
|
␊
|
|||
|
|
+ Item {MD004}␊
|
|||
|
|
+ Item {MD004}␊
|
|||
|
|
+ Item␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"ul-style": {␊
|
|||
|
|
"style": "plus"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_heading_atx.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx; Actual: atx_closed',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 1,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx; Actual: setext',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1 {MD003} #␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2␊
|
|||
|
|
␊
|
|||
|
|
Heading 3 {MD003}␊
|
|||
|
|
-----------------␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": {␊
|
|||
|
|
"style": "atx"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_heading_atx_closed.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx_closed; Actual: atx',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: atx_closed; Actual: setext',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1 #␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD003}␊
|
|||
|
|
␊
|
|||
|
|
Heading 3 {MD003}␊
|
|||
|
|
-----------------␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": {␊
|
|||
|
|
"style": "atx_closed"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## incorrect_heading_setext.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: setext; Actual: atx_closed',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 1,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Expected: setext; Actual: atx',
|
|||
|
|
errorRange: null,
|
|||
|
|
fixInfo: null,
|
|||
|
|
lineNumber: 3,
|
|||
|
|
ruleDescription: 'Heading style',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD003',
|
|||
|
|
'heading-style',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Heading 1 {MD003} #␊
|
|||
|
|
␊
|
|||
|
|
## Heading 2 {MD003}␊
|
|||
|
|
␊
|
|||
|
|
Heading 3␊
|
|||
|
|
---------␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"heading-style": {␊
|
|||
|
|
"style": "setext"␊
|
|||
|
|
}␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inline-capture-restore.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 52,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 64,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 70,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 76,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 82,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 88,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 94,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 104,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: null,
|
|||
|
|
errorDetail: 'Column: 5',
|
|||
|
|
errorRange: [
|
|||
|
|
5,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 5,
|
|||
|
|
insertText: ' ',
|
|||
|
|
},
|
|||
|
|
lineNumber: 116,
|
|||
|
|
ruleDescription: 'Hard tabs',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD010',
|
|||
|
|
'no-hard-tabs',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'n *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 4,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'n *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 14,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'n *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 30,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'n *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 83,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: 'n *',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
9,
|
|||
|
|
3,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 117,
|
|||
|
|
ruleDescription: 'Spaces inside emphasis markers',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD037',
|
|||
|
|
'no-space-in-emphasis',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 5,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 15,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 21,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 31,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 37,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 48,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 54,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 60,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 66,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 72,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 78,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 84,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
errorContext: '`in `',
|
|||
|
|
errorDetail: null,
|
|||
|
|
errorRange: [
|
|||
|
|
10,
|
|||
|
|
1,
|
|||
|
|
],
|
|||
|
|
fixInfo: {
|
|||
|
|
deleteCount: 1,
|
|||
|
|
editColumn: 10,
|
|||
|
|
},
|
|||
|
|
lineNumber: 90,
|
|||
|
|
ruleDescription: 'Spaces inside code span elements',
|
|||
|
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md',
|
|||
|
|
ruleNames: [
|
|||
|
|
'MD038',
|
|||
|
|
'no-space-in-code',
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
],
|
|||
|
|
fixed: `# Inline Capture/Restore␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in* emphasis {MD037}␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable -->␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in* emphasis {MD037}␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable no-space-in-emphasis -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable -->␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in* emphasis {MD037}␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable no-space-in-emphasis -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-capture -->␊
|
|||
|
|
<!-- markdownlint-disable -->␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-enable no-hard-tabs -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-enable no-hard-tabs -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-capture -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-enable -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in* emphasis {MD037}␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in\` code {MD038}␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable no-space-in-code -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-capture --><!-- markdownlint-disable -->␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
<!-- markdownlint-restore -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-disable no-hard-tabs -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab␊
|
|||
|
|
space *in * emphasis␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-restore --> <!-- markdownlint-enable no-space-in-emphasis -->␊
|
|||
|
|
␊
|
|||
|
|
hard tab {MD010}␊
|
|||
|
|
space *in* emphasis {MD037}␊
|
|||
|
|
space \`in \` code␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file {␊
|
|||
|
|
"no-hard-tabs": false␊
|
|||
|
|
} -->␊
|
|||
|
|
`,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
## inline-configure-file-invalid.md
|
|||
|
|
|
|||
|
|
> Snapshot 1
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
errors: [],
|
|||
|
|
fixed: `# Inline Configure File Invalid␊
|
|||
|
|
␊
|
|||
|
|
Not normally too long of a line, but it would have been from an inline config.␊
|
|||
|
|
␊
|
|||
|
|
<!-- markdownlint-configure-file { "line-length": { line_length: 70 } } -->␊
|
|||
|
|
`,
|
|||
|
|
}
|