diff --git a/test/snapshots/markdownlint-test-custom-rules.js.md b/test/snapshots/markdownlint-test-custom-rules.js.md
deleted file mode 100644
index 32e2c57c7..000000000
--- a/test/snapshots/markdownlint-test-custom-rules.js.md
+++ /dev/null
@@ -1,6587 +0,0 @@
-# Snapshot report for `test/markdownlint-test-custom-rules.js`
-
-The actual snapshot is saved in `markdownlint-test-custom-rules.js.snap`.
-
-Generated by [AVA](https://avajs.dev).
-
-## customRulesMarkdownItTokensSnapshot
-
-> Unexpected tokens
-
- [
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Every Markdown Syntax',
- lineNumber: 1,
- map: [
- 0,
- 2,
- ],
- markup: '=',
- meta: null,
- nesting: 1,
- tag: 'h1',
- type: 'heading_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Every Markdown Syntax',
- hidden: false,
- info: '',
- level: 0,
- line: 'Every Markdown Syntax',
- lineNumber: 1,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Every Markdown Syntax',
- hidden: false,
- info: '',
- level: 1,
- line: 'Every Markdown Syntax',
- lineNumber: 1,
- map: [
- 0,
- 1,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '=',
- meta: null,
- nesting: -1,
- tag: 'h1',
- type: 'heading_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '## Level 2 ATX Heading',
- lineNumber: 4,
- map: [
- 3,
- 4,
- ],
- markup: '##',
- meta: null,
- nesting: 1,
- tag: 'h2',
- type: 'heading_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Level 2 ATX Heading',
- hidden: false,
- info: '',
- level: 0,
- line: '## Level 2 ATX Heading',
- lineNumber: 4,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Level 2 ATX Heading',
- hidden: false,
- info: '',
- level: 1,
- line: '## Level 2 ATX Heading',
- lineNumber: 4,
- map: [
- 3,
- 4,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '##',
- meta: null,
- nesting: -1,
- tag: 'h2',
- type: 'heading_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '### Level 3 Closed ATX Heading ###',
- lineNumber: 6,
- map: [
- 5,
- 6,
- ],
- markup: '###',
- meta: null,
- nesting: 1,
- tag: 'h3',
- type: 'heading_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Level 3 Closed ATX Heading',
- hidden: false,
- info: '',
- level: 0,
- line: '### Level 3 Closed ATX Heading ###',
- lineNumber: 6,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Level 3 Closed ATX Heading',
- hidden: false,
- info: '',
- level: 1,
- line: '### Level 3 Closed ATX Heading ###',
- lineNumber: 6,
- map: [
- 5,
- 6,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '###',
- meta: null,
- nesting: -1,
- tag: 'h3',
- type: 'heading_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '---',
- lineNumber: 8,
- map: [
- 7,
- 8,
- ],
- markup: '---',
- meta: null,
- nesting: 0,
- tag: 'hr',
- type: 'hr',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: [
- 9,
- 13,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Text ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '*',
- meta: null,
- nesting: 1,
- tag: 'em',
- type: 'em_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'emphasized',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '*',
- meta: null,
- nesting: -1,
- tag: 'em',
- type: 'em_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '**',
- meta: null,
- nesting: 1,
- tag: 'strong',
- type: 'strong_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'strong',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '**',
- meta: null,
- nesting: -1,
- tag: 'strong',
- type: 'strong_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '_',
- meta: null,
- nesting: 1,
- tag: 'em',
- type: 'em_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '__',
- meta: null,
- nesting: 1,
- tag: 'strong',
- type: 'strong_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'emphasized+strong',
- hidden: false,
- info: '',
- level: 2,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '__',
- meta: null,
- nesting: -1,
- tag: 'strong',
- type: 'strong_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '_',
- meta: null,
- nesting: -1,
- tag: 'em',
- type: 'em_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '.',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'softbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Text ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'code',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '`',
- meta: null,
- nesting: 0,
- tag: 'code',
- type: 'code_inline',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'html_inline',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'html',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'html_inline',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: [
- [
- 'href',
- 'https://example.com/page',
- ],
- ],
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: 'auto',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: 'autolink',
- meta: null,
- nesting: 1,
- tag: 'a',
- type: 'link_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'https://example.com/page',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: 'auto',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: 'autolink',
- meta: null,
- nesting: -1,
- tag: 'a',
- type: 'link_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '.',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text `code` html .',
- lineNumber: 11,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'softbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Text ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: [
- [
- 'href',
- 'https://example.com/page',
- ],
- ],
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'a',
- type: 'link_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'link',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'a',
- type: 'link_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: [
- [
- 'href',
- 'https://example.com/page',
- ],
- [
- 'title',
- 'Title',
- ],
- ],
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'a',
- type: 'link_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'link',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'a',
- type: 'link_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: [
- [
- 'href',
- 'https://example.com/page',
- ],
- [
- 'title',
- 'Title',
- ],
- ],
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'a',
- type: 'link_open',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'link',
- hidden: false,
- info: '',
- level: 1,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'a',
- type: 'link_close',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: ' ',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: [
- [
- 'src',
- 'https://example.com/page',
- ],
- [
- 'alt',
- '',
- ],
- [
- 'title',
- 'Title',
- ],
- ],
- block: false,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'image',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'image',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'img',
- type: 'image',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '.',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text [link](https://example.com/page) [link][] [link] ![image][link].',
- lineNumber: 12,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'softbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Text https://example.com/page.',
- hidden: false,
- info: '',
- level: 0,
- line: 'Text https://example.com/page.',
- lineNumber: 13,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: `Text *emphasized* **strong** ___emphasized+strong___.␊
- Text \`code\` html .␊
- Text [link](https://example.com/page) [link][] [link] ![image][link].␊
- Text https://example.com/page.`,
- hidden: false,
- info: '',
- level: 1,
- line: 'Text *emphasized* **strong** ___emphasized+strong___.',
- lineNumber: 10,
- map: [
- 9,
- 13,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Hard ',
- lineNumber: 15,
- map: [
- 14,
- 16,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Hard',
- hidden: false,
- info: '',
- level: 0,
- line: 'Hard ',
- lineNumber: 15,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: 'Hard ',
- lineNumber: 15,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'hardbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'line break',
- hidden: false,
- info: '',
- level: 0,
- line: 'line break',
- lineNumber: 16,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: `Hard ␊
- line break`,
- hidden: false,
- info: '',
- level: 1,
- line: 'Hard ',
- lineNumber: 15,
- map: [
- 14,
- 16,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '> Block quote',
- lineNumber: 20,
- map: [
- 19,
- 21,
- ],
- markup: '>',
- meta: null,
- nesting: 1,
- tag: 'blockquote',
- type: 'blockquote_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '> Block quote',
- lineNumber: 20,
- map: [
- 19,
- 20,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Block quote',
- hidden: false,
- info: '',
- level: 0,
- line: '> Block quote',
- lineNumber: 20,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Block quote',
- hidden: false,
- info: '',
- level: 2,
- line: '> Block quote',
- lineNumber: 20,
- map: [
- 19,
- 20,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '> > Nested',
- lineNumber: 21,
- map: [
- 20,
- 21,
- ],
- markup: '>',
- meta: null,
- nesting: 1,
- tag: 'blockquote',
- type: 'blockquote_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- line: '> > Nested',
- lineNumber: 21,
- map: [
- 20,
- 21,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Nested',
- hidden: false,
- info: '',
- level: 0,
- line: '> > Nested',
- lineNumber: 21,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Nested',
- hidden: false,
- info: '',
- level: 3,
- line: '> > Nested',
- lineNumber: 21,
- map: [
- 20,
- 21,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '>',
- meta: null,
- nesting: -1,
- tag: 'blockquote',
- type: 'blockquote_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '>',
- meta: null,
- nesting: -1,
- tag: 'blockquote',
- type: 'blockquote_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '- Unordered',
- lineNumber: 23,
- map: [
- 22,
- 28,
- ],
- markup: '-',
- meta: null,
- nesting: 1,
- tag: 'ul',
- type: 'bullet_list_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '- Unordered',
- lineNumber: 23,
- map: [
- 22,
- 23,
- ],
- markup: '-',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- line: '- Unordered',
- lineNumber: 23,
- map: [
- 22,
- 23,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Unordered',
- hidden: false,
- info: '',
- level: 0,
- line: '- Unordered',
- lineNumber: 23,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Unordered',
- hidden: false,
- info: '',
- level: 3,
- line: '- Unordered',
- lineNumber: 23,
- map: [
- 22,
- 23,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '-',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '- List',
- lineNumber: 24,
- map: [
- 23,
- 28,
- ],
- markup: '-',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- line: '- List',
- lineNumber: 24,
- map: [
- 23,
- 24,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'List',
- hidden: false,
- info: '',
- level: 0,
- line: '- List',
- lineNumber: 24,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'List',
- hidden: false,
- info: '',
- level: 3,
- line: '- List',
- lineNumber: 24,
- map: [
- 23,
- 24,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- line: ' - Items',
- lineNumber: 25,
- map: [
- 24,
- 28,
- ],
- markup: '-',
- meta: null,
- nesting: 1,
- tag: 'ul',
- type: 'bullet_list_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: ' - Items',
- lineNumber: 25,
- map: [
- 24,
- 28,
- ],
- markup: '-',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- line: ' - Items',
- lineNumber: 25,
- map: [
- 24,
- 26,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Items',
- hidden: false,
- info: '',
- level: 0,
- line: ' - Items',
- lineNumber: 25,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: ' - Items',
- lineNumber: 25,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'softbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Indented',
- hidden: false,
- info: '',
- level: 0,
- line: ' Indented',
- lineNumber: 26,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: `Items␊
- Indented`,
- hidden: false,
- info: '',
- level: 5,
- line: ' - Items',
- lineNumber: 25,
- map: [
- 24,
- 26,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- line: ' Content',
- lineNumber: 28,
- map: [
- 27,
- 28,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Content',
- hidden: false,
- info: '',
- level: 0,
- line: ' Content',
- lineNumber: 28,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Content',
- hidden: false,
- info: '',
- level: 5,
- line: ' Content',
- lineNumber: 28,
- map: [
- 27,
- 28,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- map: null,
- markup: '-',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- map: null,
- markup: '-',
- meta: null,
- nesting: -1,
- tag: 'ul',
- type: 'bullet_list_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '-',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '-',
- meta: null,
- nesting: -1,
- tag: 'ul',
- type: 'bullet_list_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '1. Ordered',
- lineNumber: 30,
- map: [
- 29,
- 35,
- ],
- markup: '.',
- meta: null,
- nesting: 1,
- tag: 'ol',
- type: 'ordered_list_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '1',
- level: 1,
- line: '1. Ordered',
- lineNumber: 30,
- map: [
- 29,
- 30,
- ],
- markup: '.',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- line: '1. Ordered',
- lineNumber: 30,
- map: [
- 29,
- 30,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Ordered',
- hidden: false,
- info: '',
- level: 0,
- line: '1. Ordered',
- lineNumber: 30,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Ordered',
- hidden: false,
- info: '',
- level: 3,
- line: '1. Ordered',
- lineNumber: 30,
- map: [
- 29,
- 30,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '.',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '2',
- level: 1,
- line: '2. List',
- lineNumber: 31,
- map: [
- 30,
- 35,
- ],
- markup: '.',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- line: '2. List',
- lineNumber: 31,
- map: [
- 30,
- 31,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'List',
- hidden: false,
- info: '',
- level: 0,
- line: '2. List',
- lineNumber: 31,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'List',
- hidden: false,
- info: '',
- level: 3,
- line: '2. List',
- lineNumber: 31,
- map: [
- 30,
- 31,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: true,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- line: ' 1. Items',
- lineNumber: 32,
- map: [
- 31,
- 35,
- ],
- markup: '.',
- meta: null,
- nesting: 1,
- tag: 'ol',
- type: 'ordered_list_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '1',
- level: 3,
- line: ' 1. Items',
- lineNumber: 32,
- map: [
- 31,
- 35,
- ],
- markup: '.',
- meta: null,
- nesting: 1,
- tag: 'li',
- type: 'list_item_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- line: ' 1. Items',
- lineNumber: 32,
- map: [
- 31,
- 33,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Items',
- hidden: false,
- info: '',
- level: 0,
- line: ' 1. Items',
- lineNumber: 32,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: ' 1. Items',
- lineNumber: 32,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'br',
- type: 'softbreak',
- },
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Indented',
- hidden: false,
- info: '',
- level: 0,
- line: ' Indented',
- lineNumber: 33,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: `Items␊
- Indented`,
- hidden: false,
- info: '',
- level: 5,
- line: ' 1. Items',
- lineNumber: 32,
- map: [
- 31,
- 33,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- line: ' Content',
- lineNumber: 35,
- map: [
- 34,
- 35,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'p',
- type: 'paragraph_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Content',
- hidden: false,
- info: '',
- level: 0,
- line: ' Content',
- lineNumber: 35,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Content',
- hidden: false,
- info: '',
- level: 5,
- line: ' Content',
- lineNumber: 35,
- map: [
- 34,
- 35,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 4,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'p',
- type: 'paragraph_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- map: null,
- markup: '.',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- map: null,
- markup: '.',
- meta: null,
- nesting: -1,
- tag: 'ol',
- type: 'ordered_list_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '.',
- meta: null,
- nesting: -1,
- tag: 'li',
- type: 'list_item_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '.',
- meta: null,
- nesting: -1,
- tag: 'ol',
- type: 'ordered_list_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: `Fenced code block␊
- `,
- hidden: false,
- info: 'markdown options',
- level: 0,
- line: '```markdown options',
- lineNumber: 37,
- map: [
- 36,
- 39,
- ],
- markup: '```',
- meta: null,
- nesting: 0,
- tag: 'code',
- type: 'fence',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: `Indented code block␊
- `,
- hidden: false,
- info: '',
- level: 0,
- line: ' Indented code block',
- lineNumber: 41,
- map: [
- 40,
- 41,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: 'code',
- type: 'code_block',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: `␊
- HTML block␊
-
␊
- `,
- hidden: false,
- info: '',
- level: 0,
- line: '',
- lineNumber: 43,
- map: [
- 42,
- 45,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'html_block',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'table',
- type: 'table_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'thead',
- type: 'thead_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'tr',
- type: 'tr_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'th',
- type: 'th_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Table',
- hidden: false,
- info: '',
- level: 0,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Table',
- hidden: false,
- info: '',
- level: 4,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'th',
- type: 'th_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'th',
- type: 'th_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Heading',
- hidden: false,
- info: '',
- level: 0,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Heading',
- hidden: false,
- info: '',
- level: 4,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Heading |',
- lineNumber: 47,
- map: [
- 46,
- 47,
- ],
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'th',
- type: 'th_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'tr',
- type: 'tr_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'thead',
- type: 'thead_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'tbody',
- type: 'tbody_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'tr',
- type: 'tr_open',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'td',
- type: 'td_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Table',
- hidden: false,
- info: '',
- level: 0,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Table',
- hidden: false,
- info: '',
- level: 4,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'td',
- type: 'td_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 1,
- tag: 'td',
- type: 'td_open',
- },
- Token {
- attrs: null,
- block: true,
- children: [
- Token {
- attrs: null,
- block: false,
- children: null,
- content: 'Cell',
- hidden: false,
- info: '',
- level: 0,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: null,
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'text',
- },
- ],
- content: 'Cell',
- hidden: false,
- info: '',
- level: 4,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'inline',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 3,
- line: '| Table | Cell |',
- lineNumber: 49,
- map: [
- 48,
- 49,
- ],
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'td',
- type: 'td_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 2,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'tr',
- type: 'tr_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 1,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'tbody',
- type: 'tbody_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: '',
- hidden: false,
- info: '',
- level: 0,
- map: null,
- markup: '',
- meta: null,
- nesting: -1,
- tag: 'table',
- type: 'table_close',
- },
- Token {
- attrs: null,
- block: true,
- children: null,
- content: `␊
- `,
- hidden: false,
- info: '',
- level: 0,
- line: '',
- lineNumber: 51,
- map: [
- 50,
- 51,
- ],
- markup: '',
- meta: null,
- nesting: 0,
- tag: '',
- type: 'html_block',
- },
- ]
-
-## customRulesMicromarkTokensSnapshot
-
-> Unexpected tokens
-
- [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 22,
- endLine: 1,
- parent: [Circular],
- startColumn: 1,
- startLine: 1,
- text: 'Every Markdown Syntax',
- type: 'data',
- },
- ],
- endColumn: 22,
- endLine: 1,
- parent: [Circular],
- startColumn: 1,
- startLine: 1,
- text: 'Every Markdown Syntax',
- type: 'setextHeadingText',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 2,
- parent: [Circular],
- startColumn: 22,
- startLine: 1,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 22,
- endLine: 2,
- parent: [Circular],
- startColumn: 1,
- startLine: 2,
- text: '=====================',
- type: 'setextHeadingLineSequence',
- },
- ],
- endColumn: 22,
- endLine: 2,
- parent: [Circular],
- startColumn: 1,
- startLine: 2,
- text: '=====================',
- type: 'setextHeadingLine',
- },
- ],
- endColumn: 22,
- endLine: 2,
- parent: null,
- startColumn: 1,
- startLine: 1,
- text: `Every Markdown Syntax␊
- =====================`,
- type: 'setextHeading',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 3,
- parent: null,
- startColumn: 22,
- startLine: 2,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 4,
- parent: null,
- startColumn: 1,
- startLine: 3,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [],
- endColumn: 3,
- endLine: 4,
- parent: [Circular],
- startColumn: 1,
- startLine: 4,
- text: '##',
- type: 'atxHeadingSequence',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 4,
- parent: [Circular],
- startColumn: 3,
- startLine: 4,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 23,
- endLine: 4,
- parent: [Circular],
- startColumn: 4,
- startLine: 4,
- text: 'Level 2 ATX Heading',
- type: 'data',
- },
- ],
- endColumn: 23,
- endLine: 4,
- parent: [Circular],
- startColumn: 4,
- startLine: 4,
- text: 'Level 2 ATX Heading',
- type: 'atxHeadingText',
- },
- ],
- endColumn: 23,
- endLine: 4,
- parent: null,
- startColumn: 1,
- startLine: 4,
- text: '## Level 2 ATX Heading',
- type: 'atxHeading',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 5,
- parent: null,
- startColumn: 23,
- startLine: 4,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 6,
- parent: null,
- startColumn: 1,
- startLine: 5,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 6,
- parent: [Circular],
- startColumn: 1,
- startLine: 6,
- text: '###',
- type: 'atxHeadingSequence',
- },
- {
- children: [],
- endColumn: 5,
- endLine: 6,
- parent: [Circular],
- startColumn: 4,
- startLine: 6,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 31,
- endLine: 6,
- parent: [Circular],
- startColumn: 5,
- startLine: 6,
- text: 'Level 3 Closed ATX Heading',
- type: 'data',
- },
- ],
- endColumn: 31,
- endLine: 6,
- parent: [Circular],
- startColumn: 5,
- startLine: 6,
- text: 'Level 3 Closed ATX Heading',
- type: 'atxHeadingText',
- },
- {
- children: [],
- endColumn: 32,
- endLine: 6,
- parent: [Circular],
- startColumn: 31,
- startLine: 6,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [],
- endColumn: 35,
- endLine: 6,
- parent: [Circular],
- startColumn: 32,
- startLine: 6,
- text: '###',
- type: 'atxHeadingSequence',
- },
- ],
- endColumn: 35,
- endLine: 6,
- parent: null,
- startColumn: 1,
- startLine: 6,
- text: '### Level 3 Closed ATX Heading ###',
- type: 'atxHeading',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 7,
- parent: null,
- startColumn: 35,
- startLine: 6,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 8,
- parent: null,
- startColumn: 1,
- startLine: 7,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 8,
- parent: [Circular],
- startColumn: 1,
- startLine: 8,
- text: '---',
- type: 'thematicBreakSequence',
- },
- ],
- endColumn: 4,
- endLine: 8,
- parent: null,
- startColumn: 1,
- startLine: 8,
- text: '---',
- type: 'thematicBreak',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 9,
- parent: null,
- startColumn: 4,
- startLine: 8,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 10,
- parent: null,
- startColumn: 1,
- startLine: 9,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 6,
- endLine: 10,
- parent: [Circular],
- startColumn: 1,
- startLine: 10,
- text: 'Text ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 7,
- endLine: 10,
- parent: [Circular],
- startColumn: 6,
- startLine: 10,
- text: '*',
- type: 'emphasisSequence',
- },
- {
- children: [
- {
- children: [],
- endColumn: 17,
- endLine: 10,
- parent: [Circular],
- startColumn: 7,
- startLine: 10,
- text: 'emphasized',
- type: 'data',
- },
- ],
- endColumn: 17,
- endLine: 10,
- parent: [Circular],
- startColumn: 7,
- startLine: 10,
- text: 'emphasized',
- type: 'emphasisText',
- },
- {
- children: [],
- endColumn: 18,
- endLine: 10,
- parent: [Circular],
- startColumn: 17,
- startLine: 10,
- text: '*',
- type: 'emphasisSequence',
- },
- ],
- endColumn: 18,
- endLine: 10,
- parent: [Circular],
- startColumn: 6,
- startLine: 10,
- text: '*emphasized*',
- type: 'emphasis',
- },
- {
- children: [],
- endColumn: 19,
- endLine: 10,
- parent: [Circular],
- startColumn: 18,
- startLine: 10,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 21,
- endLine: 10,
- parent: [Circular],
- startColumn: 19,
- startLine: 10,
- text: '**',
- type: 'strongSequence',
- },
- {
- children: [
- {
- children: [],
- endColumn: 27,
- endLine: 10,
- parent: [Circular],
- startColumn: 21,
- startLine: 10,
- text: 'strong',
- type: 'data',
- },
- ],
- endColumn: 27,
- endLine: 10,
- parent: [Circular],
- startColumn: 21,
- startLine: 10,
- text: 'strong',
- type: 'strongText',
- },
- {
- children: [],
- endColumn: 29,
- endLine: 10,
- parent: [Circular],
- startColumn: 27,
- startLine: 10,
- text: '**',
- type: 'strongSequence',
- },
- ],
- endColumn: 29,
- endLine: 10,
- parent: [Circular],
- startColumn: 19,
- startLine: 10,
- text: '**strong**',
- type: 'strong',
- },
- {
- children: [],
- endColumn: 30,
- endLine: 10,
- parent: [Circular],
- startColumn: 29,
- startLine: 10,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 31,
- endLine: 10,
- parent: [Circular],
- startColumn: 30,
- startLine: 10,
- text: '_',
- type: 'emphasisSequence',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 33,
- endLine: 10,
- parent: [Circular],
- startColumn: 31,
- startLine: 10,
- text: '__',
- type: 'strongSequence',
- },
- {
- children: [
- {
- children: [],
- endColumn: 50,
- endLine: 10,
- parent: [Circular],
- startColumn: 33,
- startLine: 10,
- text: 'emphasized+strong',
- type: 'data',
- },
- ],
- endColumn: 50,
- endLine: 10,
- parent: [Circular],
- startColumn: 33,
- startLine: 10,
- text: 'emphasized+strong',
- type: 'strongText',
- },
- {
- children: [],
- endColumn: 52,
- endLine: 10,
- parent: [Circular],
- startColumn: 50,
- startLine: 10,
- text: '__',
- type: 'strongSequence',
- },
- ],
- endColumn: 52,
- endLine: 10,
- parent: [Circular],
- startColumn: 31,
- startLine: 10,
- text: '__emphasized+strong__',
- type: 'strong',
- },
- ],
- endColumn: 52,
- endLine: 10,
- parent: [Circular],
- startColumn: 31,
- startLine: 10,
- text: '__emphasized+strong__',
- type: 'emphasisText',
- },
- {
- children: [],
- endColumn: 53,
- endLine: 10,
- parent: [Circular],
- startColumn: 52,
- startLine: 10,
- text: '_',
- type: 'emphasisSequence',
- },
- ],
- endColumn: 53,
- endLine: 10,
- parent: [Circular],
- startColumn: 30,
- startLine: 10,
- text: '___emphasized+strong___',
- type: 'emphasis',
- },
- {
- children: [],
- endColumn: 54,
- endLine: 10,
- parent: [Circular],
- startColumn: 53,
- startLine: 10,
- text: '.',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 11,
- parent: [Circular],
- startColumn: 54,
- startLine: 10,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 6,
- endLine: 11,
- parent: [Circular],
- startColumn: 1,
- startLine: 11,
- text: 'Text ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 7,
- endLine: 11,
- parent: [Circular],
- startColumn: 6,
- startLine: 11,
- text: '`',
- type: 'codeTextSequence',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 11,
- parent: [Circular],
- startColumn: 7,
- startLine: 11,
- text: 'code',
- type: 'codeTextData',
- },
- {
- children: [],
- endColumn: 12,
- endLine: 11,
- parent: [Circular],
- startColumn: 11,
- startLine: 11,
- text: '`',
- type: 'codeTextSequence',
- },
- ],
- endColumn: 12,
- endLine: 11,
- parent: [Circular],
- startColumn: 6,
- startLine: 11,
- text: '`code`',
- type: 'codeText',
- },
- {
- children: [],
- endColumn: 13,
- endLine: 11,
- parent: [Circular],
- startColumn: 12,
- startLine: 11,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 21,
- endLine: 11,
- parent: [Circular],
- startColumn: 13,
- startLine: 11,
- text: '',
- type: 'htmlTextData',
- },
- ],
- endColumn: 21,
- endLine: 11,
- parent: [Circular],
- startColumn: 13,
- startLine: 11,
- text: '',
- type: 'htmlText',
- },
- {
- children: [],
- endColumn: 25,
- endLine: 11,
- parent: [Circular],
- startColumn: 21,
- startLine: 11,
- text: 'html',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 34,
- endLine: 11,
- parent: [Circular],
- startColumn: 25,
- startLine: 11,
- text: '',
- type: 'htmlTextData',
- },
- ],
- endColumn: 34,
- endLine: 11,
- parent: [Circular],
- startColumn: 25,
- startLine: 11,
- text: '',
- type: 'htmlText',
- },
- {
- children: [],
- endColumn: 35,
- endLine: 11,
- parent: [Circular],
- startColumn: 34,
- startLine: 11,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 36,
- endLine: 11,
- parent: [Circular],
- startColumn: 35,
- startLine: 11,
- text: '<',
- type: 'autolinkMarker',
- },
- {
- children: [],
- endColumn: 60,
- endLine: 11,
- parent: [Circular],
- startColumn: 36,
- startLine: 11,
- text: 'https://example.com/page',
- type: 'autolinkProtocol',
- },
- {
- children: [],
- endColumn: 61,
- endLine: 11,
- parent: [Circular],
- startColumn: 60,
- startLine: 11,
- text: '>',
- type: 'autolinkMarker',
- },
- ],
- endColumn: 61,
- endLine: 11,
- parent: [Circular],
- startColumn: 35,
- startLine: 11,
- text: '',
- type: 'autolink',
- },
- {
- children: [],
- endColumn: 62,
- endLine: 11,
- parent: [Circular],
- startColumn: 61,
- startLine: 11,
- text: '.',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 12,
- parent: [Circular],
- startColumn: 62,
- startLine: 11,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 6,
- endLine: 12,
- parent: [Circular],
- startColumn: 1,
- startLine: 12,
- text: 'Text ',
- type: 'data',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 7,
- endLine: 12,
- parent: [Circular],
- startColumn: 6,
- startLine: 12,
- text: '[',
- type: 'labelMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 11,
- endLine: 12,
- parent: [Circular],
- startColumn: 7,
- startLine: 12,
- text: 'link',
- type: 'data',
- },
- ],
- endColumn: 11,
- endLine: 12,
- parent: [Circular],
- startColumn: 7,
- startLine: 12,
- text: 'link',
- type: 'labelText',
- },
- {
- children: [],
- endColumn: 12,
- endLine: 12,
- parent: [Circular],
- startColumn: 11,
- startLine: 12,
- text: ']',
- type: 'labelMarker',
- },
- ],
- endColumn: 12,
- endLine: 12,
- parent: [Circular],
- startColumn: 6,
- startLine: 12,
- text: '[link]',
- type: 'label',
- },
- {
- children: [
- {
- children: [],
- endColumn: 13,
- endLine: 12,
- parent: [Circular],
- startColumn: 12,
- startLine: 12,
- text: '(',
- type: 'resourceMarker',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 37,
- endLine: 12,
- parent: [Circular],
- startColumn: 13,
- startLine: 12,
- text: 'https://example.com/page',
- type: 'data',
- },
- ],
- endColumn: 37,
- endLine: 12,
- parent: [Circular],
- startColumn: 13,
- startLine: 12,
- text: 'https://example.com/page',
- type: 'resourceDestinationString',
- },
- ],
- endColumn: 37,
- endLine: 12,
- parent: [Circular],
- startColumn: 13,
- startLine: 12,
- text: 'https://example.com/page',
- type: 'resourceDestinationRaw',
- },
- ],
- endColumn: 37,
- endLine: 12,
- parent: [Circular],
- startColumn: 13,
- startLine: 12,
- text: 'https://example.com/page',
- type: 'resourceDestination',
- },
- {
- children: [],
- endColumn: 38,
- endLine: 12,
- parent: [Circular],
- startColumn: 37,
- startLine: 12,
- text: ')',
- type: 'resourceMarker',
- },
- ],
- endColumn: 38,
- endLine: 12,
- parent: [Circular],
- startColumn: 12,
- startLine: 12,
- text: '(https://example.com/page)',
- type: 'resource',
- },
- ],
- endColumn: 38,
- endLine: 12,
- parent: [Circular],
- startColumn: 6,
- startLine: 12,
- text: '[link](https://example.com/page)',
- type: 'link',
- },
- {
- children: [],
- endColumn: 39,
- endLine: 12,
- parent: [Circular],
- startColumn: 38,
- startLine: 12,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 40,
- endLine: 12,
- parent: [Circular],
- startColumn: 39,
- startLine: 12,
- text: '[',
- type: 'labelMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 44,
- endLine: 12,
- parent: [Circular],
- startColumn: 40,
- startLine: 12,
- text: 'link',
- type: 'data',
- },
- ],
- endColumn: 44,
- endLine: 12,
- parent: [Circular],
- startColumn: 40,
- startLine: 12,
- text: 'link',
- type: 'labelText',
- },
- {
- children: [],
- endColumn: 45,
- endLine: 12,
- parent: [Circular],
- startColumn: 44,
- startLine: 12,
- text: ']',
- type: 'labelMarker',
- },
- ],
- endColumn: 45,
- endLine: 12,
- parent: [Circular],
- startColumn: 39,
- startLine: 12,
- text: '[link]',
- type: 'label',
- },
- {
- children: [
- {
- children: [],
- endColumn: 46,
- endLine: 12,
- parent: [Circular],
- startColumn: 45,
- startLine: 12,
- text: '[',
- type: 'referenceMarker',
- },
- {
- children: [],
- endColumn: 47,
- endLine: 12,
- parent: [Circular],
- startColumn: 46,
- startLine: 12,
- text: ']',
- type: 'referenceMarker',
- },
- ],
- endColumn: 47,
- endLine: 12,
- parent: [Circular],
- startColumn: 45,
- startLine: 12,
- text: '[]',
- type: 'reference',
- },
- ],
- endColumn: 47,
- endLine: 12,
- parent: [Circular],
- startColumn: 39,
- startLine: 12,
- text: '[link][]',
- type: 'link',
- },
- {
- children: [],
- endColumn: 48,
- endLine: 12,
- parent: [Circular],
- startColumn: 47,
- startLine: 12,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 49,
- endLine: 12,
- parent: [Circular],
- startColumn: 48,
- startLine: 12,
- text: '[',
- type: 'labelMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 53,
- endLine: 12,
- parent: [Circular],
- startColumn: 49,
- startLine: 12,
- text: 'link',
- type: 'data',
- },
- ],
- endColumn: 53,
- endLine: 12,
- parent: [Circular],
- startColumn: 49,
- startLine: 12,
- text: 'link',
- type: 'labelText',
- },
- {
- children: [],
- endColumn: 54,
- endLine: 12,
- parent: [Circular],
- startColumn: 53,
- startLine: 12,
- text: ']',
- type: 'labelMarker',
- },
- ],
- endColumn: 54,
- endLine: 12,
- parent: [Circular],
- startColumn: 48,
- startLine: 12,
- text: '[link]',
- type: 'label',
- },
- ],
- endColumn: 54,
- endLine: 12,
- parent: [Circular],
- startColumn: 48,
- startLine: 12,
- text: '[link]',
- type: 'link',
- },
- {
- children: [],
- endColumn: 55,
- endLine: 12,
- parent: [Circular],
- startColumn: 54,
- startLine: 12,
- text: ' ',
- type: 'data',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 56,
- endLine: 12,
- parent: [Circular],
- startColumn: 55,
- startLine: 12,
- text: '!',
- type: 'labelImageMarker',
- },
- {
- children: [],
- endColumn: 57,
- endLine: 12,
- parent: [Circular],
- startColumn: 56,
- startLine: 12,
- text: '[',
- type: 'labelMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 62,
- endLine: 12,
- parent: [Circular],
- startColumn: 57,
- startLine: 12,
- text: 'image',
- type: 'data',
- },
- ],
- endColumn: 62,
- endLine: 12,
- parent: [Circular],
- startColumn: 57,
- startLine: 12,
- text: 'image',
- type: 'labelText',
- },
- {
- children: [],
- endColumn: 63,
- endLine: 12,
- parent: [Circular],
- startColumn: 62,
- startLine: 12,
- text: ']',
- type: 'labelMarker',
- },
- ],
- endColumn: 63,
- endLine: 12,
- parent: [Circular],
- startColumn: 55,
- startLine: 12,
- text: '![image]',
- type: 'label',
- },
- {
- children: [
- {
- children: [],
- endColumn: 64,
- endLine: 12,
- parent: [Circular],
- startColumn: 63,
- startLine: 12,
- text: '[',
- type: 'referenceMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 68,
- endLine: 12,
- parent: [Circular],
- startColumn: 64,
- startLine: 12,
- text: 'link',
- type: 'data',
- },
- ],
- endColumn: 68,
- endLine: 12,
- parent: [Circular],
- startColumn: 64,
- startLine: 12,
- text: 'link',
- type: 'referenceString',
- },
- {
- children: [],
- endColumn: 69,
- endLine: 12,
- parent: [Circular],
- startColumn: 68,
- startLine: 12,
- text: ']',
- type: 'referenceMarker',
- },
- ],
- endColumn: 69,
- endLine: 12,
- parent: [Circular],
- startColumn: 63,
- startLine: 12,
- text: '[link]',
- type: 'reference',
- },
- ],
- endColumn: 69,
- endLine: 12,
- parent: [Circular],
- startColumn: 55,
- startLine: 12,
- text: '![image][link]',
- type: 'image',
- },
- {
- children: [],
- endColumn: 70,
- endLine: 12,
- parent: [Circular],
- startColumn: 69,
- startLine: 12,
- text: '.',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 13,
- parent: [Circular],
- startColumn: 70,
- startLine: 12,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 6,
- endLine: 13,
- parent: [Circular],
- startColumn: 1,
- startLine: 13,
- text: 'Text ',
- type: 'data',
- },
- {
- children: [
- {
- children: [],
- endColumn: 30,
- endLine: 13,
- parent: [Circular],
- startColumn: 6,
- startLine: 13,
- text: 'https://example.com/page',
- type: 'literalAutolinkHttp',
- },
- ],
- endColumn: 30,
- endLine: 13,
- parent: [Circular],
- startColumn: 6,
- startLine: 13,
- text: 'https://example.com/page',
- type: 'literalAutolink',
- },
- {
- children: [],
- endColumn: 31,
- endLine: 13,
- parent: [Circular],
- startColumn: 30,
- startLine: 13,
- text: '.',
- type: 'data',
- },
- ],
- endColumn: 31,
- endLine: 13,
- parent: [Circular],
- startColumn: 1,
- startLine: 10,
- text: `Text *emphasized* **strong** ___emphasized+strong___.␊
- Text \`code\` html .␊
- Text [link](https://example.com/page) [link][] [link] ![image][link].␊
- Text https://example.com/page.`,
- type: 'paragraph',
- },
- ],
- endColumn: 31,
- endLine: 13,
- parent: null,
- startColumn: 1,
- startLine: 10,
- text: `Text *emphasized* **strong** ___emphasized+strong___.␊
- Text \`code\` html .␊
- Text [link](https://example.com/page) [link][] [link] ![image][link].␊
- Text https://example.com/page.`,
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 14,
- parent: null,
- startColumn: 31,
- startLine: 13,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 15,
- parent: null,
- startColumn: 1,
- startLine: 14,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 5,
- endLine: 15,
- parent: [Circular],
- startColumn: 1,
- startLine: 15,
- text: 'Hard',
- type: 'data',
- },
- {
- children: [],
- endColumn: 7,
- endLine: 15,
- parent: [Circular],
- startColumn: 5,
- startLine: 15,
- text: ' ',
- type: 'hardBreakTrailing',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 16,
- parent: [Circular],
- startColumn: 7,
- startLine: 15,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 16,
- parent: [Circular],
- startColumn: 1,
- startLine: 16,
- text: 'line break',
- type: 'data',
- },
- ],
- endColumn: 11,
- endLine: 16,
- parent: [Circular],
- startColumn: 1,
- startLine: 15,
- text: `Hard ␊
- line break`,
- type: 'paragraph',
- },
- ],
- endColumn: 11,
- endLine: 16,
- parent: null,
- startColumn: 1,
- startLine: 15,
- text: `Hard ␊
- line break`,
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 17,
- parent: null,
- startColumn: 11,
- startLine: 16,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 18,
- parent: null,
- startColumn: 1,
- startLine: 17,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 18,
- parent: [Circular],
- startColumn: 1,
- startLine: 18,
- text: '[',
- type: 'definitionLabelMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 6,
- endLine: 18,
- parent: [Circular],
- startColumn: 2,
- startLine: 18,
- text: 'link',
- type: 'data',
- },
- ],
- endColumn: 6,
- endLine: 18,
- parent: [Circular],
- startColumn: 2,
- startLine: 18,
- text: 'link',
- type: 'definitionLabelString',
- },
- {
- children: [],
- endColumn: 7,
- endLine: 18,
- parent: [Circular],
- startColumn: 6,
- startLine: 18,
- text: ']',
- type: 'definitionLabelMarker',
- },
- ],
- endColumn: 7,
- endLine: 18,
- parent: [Circular],
- startColumn: 1,
- startLine: 18,
- text: '[link]',
- type: 'definitionLabel',
- },
- {
- children: [],
- endColumn: 8,
- endLine: 18,
- parent: [Circular],
- startColumn: 7,
- startLine: 18,
- text: ':',
- type: 'definitionMarker',
- },
- {
- children: [],
- endColumn: 9,
- endLine: 18,
- parent: [Circular],
- startColumn: 8,
- startLine: 18,
- text: ' ',
- type: 'lineSuffix',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 33,
- endLine: 18,
- parent: [Circular],
- startColumn: 9,
- startLine: 18,
- text: 'https://example.com/page',
- type: 'data',
- },
- ],
- endColumn: 33,
- endLine: 18,
- parent: [Circular],
- startColumn: 9,
- startLine: 18,
- text: 'https://example.com/page',
- type: 'definitionDestinationString',
- },
- ],
- endColumn: 33,
- endLine: 18,
- parent: [Circular],
- startColumn: 9,
- startLine: 18,
- text: 'https://example.com/page',
- type: 'definitionDestinationRaw',
- },
- ],
- endColumn: 33,
- endLine: 18,
- parent: [Circular],
- startColumn: 9,
- startLine: 18,
- text: 'https://example.com/page',
- type: 'definitionDestination',
- },
- {
- children: [],
- endColumn: 34,
- endLine: 18,
- parent: [Circular],
- startColumn: 33,
- startLine: 18,
- text: ' ',
- type: 'lineSuffix',
- },
- {
- children: [
- {
- children: [],
- endColumn: 35,
- endLine: 18,
- parent: [Circular],
- startColumn: 34,
- startLine: 18,
- text: '"',
- type: 'definitionTitleMarker',
- },
- {
- children: [
- {
- children: [],
- endColumn: 40,
- endLine: 18,
- parent: [Circular],
- startColumn: 35,
- startLine: 18,
- text: 'Title',
- type: 'data',
- },
- ],
- endColumn: 40,
- endLine: 18,
- parent: [Circular],
- startColumn: 35,
- startLine: 18,
- text: 'Title',
- type: 'definitionTitleString',
- },
- {
- children: [],
- endColumn: 41,
- endLine: 18,
- parent: [Circular],
- startColumn: 40,
- startLine: 18,
- text: '"',
- type: 'definitionTitleMarker',
- },
- ],
- endColumn: 41,
- endLine: 18,
- parent: [Circular],
- startColumn: 34,
- startLine: 18,
- text: '"Title"',
- type: 'definitionTitle',
- },
- ],
- endColumn: 41,
- endLine: 18,
- parent: [Circular],
- startColumn: 1,
- startLine: 18,
- text: '[link]: https://example.com/page "Title"',
- type: 'definition',
- },
- ],
- endColumn: 41,
- endLine: 18,
- parent: null,
- startColumn: 1,
- startLine: 18,
- text: '[link]: https://example.com/page "Title"',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 19,
- parent: null,
- startColumn: 41,
- startLine: 18,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 20,
- parent: null,
- startColumn: 1,
- startLine: 19,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 20,
- parent: [Circular],
- startColumn: 1,
- startLine: 20,
- text: '>',
- type: 'blockQuoteMarker',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 20,
- parent: [Circular],
- startColumn: 2,
- startLine: 20,
- text: ' ',
- type: 'blockQuotePrefixWhitespace',
- },
- ],
- endColumn: 3,
- endLine: 20,
- parent: [Circular],
- startColumn: 1,
- startLine: 20,
- text: '> ',
- type: 'blockQuotePrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 14,
- endLine: 20,
- parent: [Circular],
- startColumn: 3,
- startLine: 20,
- text: 'Block quote',
- type: 'data',
- },
- ],
- endColumn: 14,
- endLine: 20,
- parent: [Circular],
- startColumn: 3,
- startLine: 20,
- text: 'Block quote',
- type: 'paragraph',
- },
- ],
- endColumn: 14,
- endLine: 20,
- parent: [Circular],
- startColumn: 3,
- startLine: 20,
- text: 'Block quote',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 21,
- parent: [Circular],
- startColumn: 14,
- startLine: 20,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 21,
- parent: [Circular],
- startColumn: 1,
- startLine: 21,
- text: '>',
- type: 'blockQuoteMarker',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 21,
- parent: [Circular],
- startColumn: 2,
- startLine: 21,
- text: ' ',
- type: 'blockQuotePrefixWhitespace',
- },
- ],
- endColumn: 3,
- endLine: 21,
- parent: [Circular],
- startColumn: 1,
- startLine: 21,
- text: '> ',
- type: 'blockQuotePrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 21,
- parent: [Circular],
- startColumn: 3,
- startLine: 21,
- text: '>',
- type: 'blockQuoteMarker',
- },
- {
- children: [],
- endColumn: 5,
- endLine: 21,
- parent: [Circular],
- startColumn: 4,
- startLine: 21,
- text: ' ',
- type: 'blockQuotePrefixWhitespace',
- },
- ],
- endColumn: 5,
- endLine: 21,
- parent: [Circular],
- startColumn: 3,
- startLine: 21,
- text: '> ',
- type: 'blockQuotePrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 11,
- endLine: 21,
- parent: [Circular],
- startColumn: 5,
- startLine: 21,
- text: 'Nested',
- type: 'data',
- },
- ],
- endColumn: 11,
- endLine: 21,
- parent: [Circular],
- startColumn: 5,
- startLine: 21,
- text: 'Nested',
- type: 'paragraph',
- },
- ],
- endColumn: 11,
- endLine: 21,
- parent: [Circular],
- startColumn: 5,
- startLine: 21,
- text: 'Nested',
- type: 'content',
- },
- ],
- endColumn: 11,
- endLine: 21,
- parent: [Circular],
- startColumn: 3,
- startLine: 21,
- text: '',
- type: 'blockQuote',
- },
- ],
- endColumn: 11,
- endLine: 21,
- parent: null,
- startColumn: 1,
- startLine: 20,
- text: '',
- type: 'blockQuote',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 22,
- parent: null,
- startColumn: 11,
- startLine: 21,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 23,
- parent: null,
- startColumn: 1,
- startLine: 22,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 23,
- parent: [Circular],
- startColumn: 1,
- startLine: 23,
- text: '-',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 23,
- parent: [Circular],
- startColumn: 2,
- startLine: 23,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 3,
- endLine: 23,
- parent: [Circular],
- startColumn: 1,
- startLine: 23,
- text: '- ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 12,
- endLine: 23,
- parent: [Circular],
- startColumn: 3,
- startLine: 23,
- text: 'Unordered',
- type: 'data',
- },
- ],
- endColumn: 12,
- endLine: 23,
- parent: [Circular],
- startColumn: 3,
- startLine: 23,
- text: 'Unordered',
- type: 'paragraph',
- },
- ],
- endColumn: 12,
- endLine: 23,
- parent: [Circular],
- startColumn: 3,
- startLine: 23,
- text: 'Unordered',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 24,
- parent: [Circular],
- startColumn: 12,
- startLine: 23,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 24,
- parent: [Circular],
- startColumn: 1,
- startLine: 24,
- text: '-',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 24,
- parent: [Circular],
- startColumn: 2,
- startLine: 24,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 3,
- endLine: 24,
- parent: [Circular],
- startColumn: 1,
- startLine: 24,
- text: '- ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 7,
- endLine: 24,
- parent: [Circular],
- startColumn: 3,
- startLine: 24,
- text: 'List',
- type: 'data',
- },
- ],
- endColumn: 7,
- endLine: 24,
- parent: [Circular],
- startColumn: 3,
- startLine: 24,
- text: 'List',
- type: 'paragraph',
- },
- ],
- endColumn: 7,
- endLine: 24,
- parent: [Circular],
- startColumn: 3,
- startLine: 24,
- text: 'List',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 25,
- parent: [Circular],
- startColumn: 7,
- startLine: 24,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 25,
- parent: [Circular],
- startColumn: 1,
- startLine: 25,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 25,
- parent: [Circular],
- startColumn: 3,
- startLine: 25,
- text: '-',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 5,
- endLine: 25,
- parent: [Circular],
- startColumn: 4,
- startLine: 25,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 5,
- endLine: 25,
- parent: [Circular],
- startColumn: 3,
- startLine: 25,
- text: '- ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 10,
- endLine: 25,
- parent: [Circular],
- startColumn: 5,
- startLine: 25,
- text: 'Items',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 26,
- parent: [Circular],
- startColumn: 10,
- startLine: 25,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 26,
- parent: [Circular],
- startColumn: 1,
- startLine: 26,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 5,
- endLine: 26,
- parent: [Circular],
- startColumn: 3,
- startLine: 26,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 13,
- endLine: 26,
- parent: [Circular],
- startColumn: 5,
- startLine: 26,
- text: 'Indented',
- type: 'data',
- },
- ],
- endColumn: 13,
- endLine: 26,
- parent: [Circular],
- startColumn: 5,
- startLine: 25,
- text: `Items␊
- Indented`,
- type: 'paragraph',
- },
- ],
- endColumn: 13,
- endLine: 26,
- parent: [Circular],
- startColumn: 5,
- startLine: 25,
- text: `Items␊
- Indented`,
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 27,
- parent: [Circular],
- startColumn: 13,
- startLine: 26,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 28,
- parent: [Circular],
- startColumn: 1,
- startLine: 27,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 28,
- parent: [Circular],
- startColumn: 1,
- startLine: 28,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 5,
- endLine: 28,
- parent: [Circular],
- startColumn: 3,
- startLine: 28,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 12,
- endLine: 28,
- parent: [Circular],
- startColumn: 5,
- startLine: 28,
- text: 'Content',
- type: 'data',
- },
- ],
- endColumn: 12,
- endLine: 28,
- parent: [Circular],
- startColumn: 5,
- startLine: 28,
- text: 'Content',
- type: 'paragraph',
- },
- ],
- endColumn: 12,
- endLine: 28,
- parent: [Circular],
- startColumn: 5,
- startLine: 28,
- text: 'Content',
- type: 'content',
- },
- ],
- endColumn: 12,
- endLine: 28,
- parent: [Circular],
- startColumn: 3,
- startLine: 25,
- text: '',
- type: 'listUnordered',
- },
- ],
- endColumn: 12,
- endLine: 28,
- parent: null,
- startColumn: 1,
- startLine: 23,
- text: '',
- type: 'listUnordered',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 29,
- parent: null,
- startColumn: 12,
- startLine: 28,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 30,
- parent: null,
- startColumn: 1,
- startLine: 29,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 30,
- parent: [Circular],
- startColumn: 1,
- startLine: 30,
- text: '1',
- type: 'listItemValue',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 30,
- parent: [Circular],
- startColumn: 2,
- startLine: 30,
- text: '.',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 30,
- parent: [Circular],
- startColumn: 3,
- startLine: 30,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 4,
- endLine: 30,
- parent: [Circular],
- startColumn: 1,
- startLine: 30,
- text: '1. ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 11,
- endLine: 30,
- parent: [Circular],
- startColumn: 4,
- startLine: 30,
- text: 'Ordered',
- type: 'data',
- },
- ],
- endColumn: 11,
- endLine: 30,
- parent: [Circular],
- startColumn: 4,
- startLine: 30,
- text: 'Ordered',
- type: 'paragraph',
- },
- ],
- endColumn: 11,
- endLine: 30,
- parent: [Circular],
- startColumn: 4,
- startLine: 30,
- text: 'Ordered',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 31,
- parent: [Circular],
- startColumn: 11,
- startLine: 30,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 31,
- parent: [Circular],
- startColumn: 1,
- startLine: 31,
- text: '2',
- type: 'listItemValue',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 31,
- parent: [Circular],
- startColumn: 2,
- startLine: 31,
- text: '.',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 31,
- parent: [Circular],
- startColumn: 3,
- startLine: 31,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 4,
- endLine: 31,
- parent: [Circular],
- startColumn: 1,
- startLine: 31,
- text: '2. ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 8,
- endLine: 31,
- parent: [Circular],
- startColumn: 4,
- startLine: 31,
- text: 'List',
- type: 'data',
- },
- ],
- endColumn: 8,
- endLine: 31,
- parent: [Circular],
- startColumn: 4,
- startLine: 31,
- text: 'List',
- type: 'paragraph',
- },
- ],
- endColumn: 8,
- endLine: 31,
- parent: [Circular],
- startColumn: 4,
- startLine: 31,
- text: 'List',
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 32,
- parent: [Circular],
- startColumn: 8,
- startLine: 31,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 32,
- parent: [Circular],
- startColumn: 1,
- startLine: 32,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 5,
- endLine: 32,
- parent: [Circular],
- startColumn: 4,
- startLine: 32,
- text: '1',
- type: 'listItemValue',
- },
- {
- children: [],
- endColumn: 6,
- endLine: 32,
- parent: [Circular],
- startColumn: 5,
- startLine: 32,
- text: '.',
- type: 'listItemMarker',
- },
- {
- children: [],
- endColumn: 7,
- endLine: 32,
- parent: [Circular],
- startColumn: 6,
- startLine: 32,
- text: ' ',
- type: 'listItemPrefixWhitespace',
- },
- ],
- endColumn: 7,
- endLine: 32,
- parent: [Circular],
- startColumn: 4,
- startLine: 32,
- text: '1. ',
- type: 'listItemPrefix',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 12,
- endLine: 32,
- parent: [Circular],
- startColumn: 7,
- startLine: 32,
- text: 'Items',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 33,
- parent: [Circular],
- startColumn: 12,
- startLine: 32,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 33,
- parent: [Circular],
- startColumn: 1,
- startLine: 33,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 7,
- endLine: 33,
- parent: [Circular],
- startColumn: 4,
- startLine: 33,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 15,
- endLine: 33,
- parent: [Circular],
- startColumn: 7,
- startLine: 33,
- text: 'Indented',
- type: 'data',
- },
- ],
- endColumn: 15,
- endLine: 33,
- parent: [Circular],
- startColumn: 7,
- startLine: 32,
- text: `Items␊
- Indented`,
- type: 'paragraph',
- },
- ],
- endColumn: 15,
- endLine: 33,
- parent: [Circular],
- startColumn: 7,
- startLine: 32,
- text: `Items␊
- Indented`,
- type: 'content',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 34,
- parent: [Circular],
- startColumn: 15,
- startLine: 33,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 35,
- parent: [Circular],
- startColumn: 1,
- startLine: 34,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [],
- endColumn: 4,
- endLine: 35,
- parent: [Circular],
- startColumn: 1,
- startLine: 35,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [],
- endColumn: 7,
- endLine: 35,
- parent: [Circular],
- startColumn: 4,
- startLine: 35,
- text: ' ',
- type: 'listItemIndent',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 14,
- endLine: 35,
- parent: [Circular],
- startColumn: 7,
- startLine: 35,
- text: 'Content',
- type: 'data',
- },
- ],
- endColumn: 14,
- endLine: 35,
- parent: [Circular],
- startColumn: 7,
- startLine: 35,
- text: 'Content',
- type: 'paragraph',
- },
- ],
- endColumn: 14,
- endLine: 35,
- parent: [Circular],
- startColumn: 7,
- startLine: 35,
- text: 'Content',
- type: 'content',
- },
- ],
- endColumn: 14,
- endLine: 35,
- parent: [Circular],
- startColumn: 4,
- startLine: 32,
- text: '',
- type: 'listOrdered',
- },
- ],
- endColumn: 14,
- endLine: 35,
- parent: null,
- startColumn: 1,
- startLine: 30,
- text: '',
- type: 'listOrdered',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 36,
- parent: null,
- startColumn: 14,
- startLine: 35,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 37,
- parent: null,
- startColumn: 1,
- startLine: 36,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 37,
- parent: [Circular],
- startColumn: 1,
- startLine: 37,
- text: '```',
- type: 'codeFencedFenceSequence',
- },
- {
- children: [
- {
- children: [],
- endColumn: 12,
- endLine: 37,
- parent: [Circular],
- startColumn: 4,
- startLine: 37,
- text: 'markdown',
- type: 'data',
- },
- ],
- endColumn: 12,
- endLine: 37,
- parent: [Circular],
- startColumn: 4,
- startLine: 37,
- text: 'markdown',
- type: 'codeFencedFenceInfo',
- },
- {
- children: [],
- endColumn: 13,
- endLine: 37,
- parent: [Circular],
- startColumn: 12,
- startLine: 37,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 20,
- endLine: 37,
- parent: [Circular],
- startColumn: 13,
- startLine: 37,
- text: 'options',
- type: 'data',
- },
- ],
- endColumn: 20,
- endLine: 37,
- parent: [Circular],
- startColumn: 13,
- startLine: 37,
- text: 'options',
- type: 'codeFencedFenceMeta',
- },
- ],
- endColumn: 20,
- endLine: 37,
- parent: [Circular],
- startColumn: 1,
- startLine: 37,
- text: '```markdown options',
- type: 'codeFencedFence',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 38,
- parent: [Circular],
- startColumn: 20,
- startLine: 37,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 18,
- endLine: 38,
- parent: [Circular],
- startColumn: 1,
- startLine: 38,
- text: 'Fenced code block',
- type: 'codeFlowValue',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 39,
- parent: [Circular],
- startColumn: 18,
- startLine: 38,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 39,
- parent: [Circular],
- startColumn: 1,
- startLine: 39,
- text: '```',
- type: 'codeFencedFenceSequence',
- },
- ],
- endColumn: 4,
- endLine: 39,
- parent: [Circular],
- startColumn: 1,
- startLine: 39,
- text: '```',
- type: 'codeFencedFence',
- },
- ],
- endColumn: 4,
- endLine: 39,
- parent: null,
- startColumn: 1,
- startLine: 37,
- text: `\`\`\`markdown options␊
- Fenced code block␊
- \`\`\``,
- type: 'codeFenced',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 40,
- parent: null,
- startColumn: 4,
- startLine: 39,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 41,
- parent: null,
- startColumn: 1,
- startLine: 40,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [],
- endColumn: 5,
- endLine: 41,
- parent: [Circular],
- startColumn: 1,
- startLine: 41,
- text: ' ',
- type: 'linePrefix',
- },
- {
- children: [],
- endColumn: 24,
- endLine: 41,
- parent: [Circular],
- startColumn: 5,
- startLine: 41,
- text: 'Indented code block',
- type: 'codeFlowValue',
- },
- ],
- endColumn: 24,
- endLine: 41,
- parent: null,
- startColumn: 1,
- startLine: 41,
- text: ' Indented code block',
- type: 'codeIndented',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 42,
- parent: null,
- startColumn: 24,
- startLine: 41,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 43,
- parent: null,
- startColumn: 1,
- startLine: 42,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 4,
- endLine: 43,
- parent: [Circular],
- startColumn: 1,
- startLine: 43,
- text: '',
- type: 'htmlTextData',
- },
- ],
- endColumn: 4,
- endLine: 43,
- parent: [Circular],
- startColumn: 1,
- startLine: 43,
- text: '
',
- type: 'htmlText',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 44,
- parent: [Circular],
- startColumn: 4,
- startLine: 43,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 44,
- parent: [Circular],
- startColumn: 1,
- startLine: 44,
- text: 'HTML block',
- type: 'data',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 45,
- parent: [Circular],
- startColumn: 11,
- startLine: 44,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [],
- endColumn: 5,
- endLine: 45,
- parent: [Circular],
- startColumn: 1,
- startLine: 45,
- text: '
',
- type: 'htmlTextData',
- },
- ],
- endColumn: 5,
- endLine: 45,
- parent: [Circular],
- startColumn: 1,
- startLine: 45,
- text: '
',
- type: 'htmlText',
- },
- ],
- endColumn: 5,
- endLine: 45,
- parent: [Circular],
- startColumn: 1,
- startLine: 43,
- text: `␊
- HTML block␊
-
`,
- type: 'paragraph',
- },
- ],
- endColumn: 5,
- endLine: 45,
- parent: [Circular],
- startColumn: 1,
- startLine: 43,
- text: `␊
- HTML block␊
-
`,
- type: 'content',
- },
- ],
- endColumn: 5,
- endLine: 45,
- parent: null,
- startColumn: 1,
- startLine: 43,
- text: `␊
- HTML block␊
-
`,
- type: 'htmlFlow',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 46,
- parent: null,
- startColumn: 5,
- startLine: 45,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 47,
- parent: null,
- startColumn: 1,
- startLine: 46,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 47,
- parent: [Circular],
- startColumn: 1,
- startLine: 47,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 47,
- parent: [Circular],
- startColumn: 2,
- startLine: 47,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 8,
- endLine: 47,
- parent: [Circular],
- startColumn: 3,
- startLine: 47,
- text: 'Table',
- type: 'data',
- },
- ],
- endColumn: 8,
- endLine: 47,
- parent: [Circular],
- startColumn: 3,
- startLine: 47,
- text: 'Table',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 9,
- endLine: 47,
- parent: [Circular],
- startColumn: 8,
- startLine: 47,
- text: ' ',
- type: 'whitespace',
- },
- ],
- endColumn: 9,
- endLine: 47,
- parent: [Circular],
- startColumn: 1,
- startLine: 47,
- text: '| Table ',
- type: 'tableHeader',
- },
- {
- children: [
- {
- children: [],
- endColumn: 10,
- endLine: 47,
- parent: [Circular],
- startColumn: 9,
- startLine: 47,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 47,
- parent: [Circular],
- startColumn: 10,
- startLine: 47,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 18,
- endLine: 47,
- parent: [Circular],
- startColumn: 11,
- startLine: 47,
- text: 'Heading',
- type: 'data',
- },
- ],
- endColumn: 18,
- endLine: 47,
- parent: [Circular],
- startColumn: 11,
- startLine: 47,
- text: 'Heading',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 19,
- endLine: 47,
- parent: [Circular],
- startColumn: 18,
- startLine: 47,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [],
- endColumn: 20,
- endLine: 47,
- parent: [Circular],
- startColumn: 19,
- startLine: 47,
- text: '|',
- type: 'tableCellDivider',
- },
- ],
- endColumn: 20,
- endLine: 47,
- parent: [Circular],
- startColumn: 9,
- startLine: 47,
- text: '| Heading |',
- type: 'tableHeader',
- },
- ],
- endColumn: 20,
- endLine: 47,
- parent: [Circular],
- startColumn: 1,
- startLine: 47,
- text: '| Table | Heading |',
- type: 'tableRow',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 48,
- parent: [Circular],
- startColumn: 20,
- startLine: 47,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 48,
- parent: [Circular],
- startColumn: 1,
- startLine: 48,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 48,
- parent: [Circular],
- startColumn: 2,
- startLine: 48,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 8,
- endLine: 48,
- parent: [Circular],
- startColumn: 3,
- startLine: 48,
- text: '-----',
- type: 'tableDelimiterFiller',
- },
- ],
- endColumn: 8,
- endLine: 48,
- parent: [Circular],
- startColumn: 3,
- startLine: 48,
- text: '-----',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 9,
- endLine: 48,
- parent: [Circular],
- startColumn: 8,
- startLine: 48,
- text: ' ',
- type: 'whitespace',
- },
- ],
- endColumn: 9,
- endLine: 48,
- parent: [Circular],
- startColumn: 1,
- startLine: 48,
- text: '| ----- ',
- type: 'tableDelimiter',
- },
- {
- children: [
- {
- children: [],
- endColumn: 10,
- endLine: 48,
- parent: [Circular],
- startColumn: 9,
- startLine: 48,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 48,
- parent: [Circular],
- startColumn: 10,
- startLine: 48,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 18,
- endLine: 48,
- parent: [Circular],
- startColumn: 11,
- startLine: 48,
- text: '-------',
- type: 'tableDelimiterFiller',
- },
- ],
- endColumn: 18,
- endLine: 48,
- parent: [Circular],
- startColumn: 11,
- startLine: 48,
- text: '-------',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 19,
- endLine: 48,
- parent: [Circular],
- startColumn: 18,
- startLine: 48,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [],
- endColumn: 20,
- endLine: 48,
- parent: [Circular],
- startColumn: 19,
- startLine: 48,
- text: '|',
- type: 'tableCellDivider',
- },
- ],
- endColumn: 20,
- endLine: 48,
- parent: [Circular],
- startColumn: 9,
- startLine: 48,
- text: '| ------- |',
- type: 'tableDelimiter',
- },
- ],
- endColumn: 20,
- endLine: 48,
- parent: [Circular],
- startColumn: 1,
- startLine: 48,
- text: '| ----- | ------- |',
- type: 'tableDelimiterRow',
- },
- ],
- endColumn: 20,
- endLine: 48,
- parent: [Circular],
- startColumn: 1,
- startLine: 47,
- text: `| Table | Heading |␊
- | ----- | ------- |`,
- type: 'tableHead',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 49,
- parent: [Circular],
- startColumn: 20,
- startLine: 48,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [
- {
- children: [
- {
- children: [
- {
- children: [],
- endColumn: 2,
- endLine: 49,
- parent: [Circular],
- startColumn: 1,
- startLine: 49,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 3,
- endLine: 49,
- parent: [Circular],
- startColumn: 2,
- startLine: 49,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 8,
- endLine: 49,
- parent: [Circular],
- startColumn: 3,
- startLine: 49,
- text: 'Table',
- type: 'data',
- },
- ],
- endColumn: 8,
- endLine: 49,
- parent: [Circular],
- startColumn: 3,
- startLine: 49,
- text: 'Table',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 9,
- endLine: 49,
- parent: [Circular],
- startColumn: 8,
- startLine: 49,
- text: ' ',
- type: 'whitespace',
- },
- ],
- endColumn: 9,
- endLine: 49,
- parent: [Circular],
- startColumn: 1,
- startLine: 49,
- text: '| Table ',
- type: 'tableData',
- },
- {
- children: [
- {
- children: [],
- endColumn: 10,
- endLine: 49,
- parent: [Circular],
- startColumn: 9,
- startLine: 49,
- text: '|',
- type: 'tableCellDivider',
- },
- {
- children: [],
- endColumn: 11,
- endLine: 49,
- parent: [Circular],
- startColumn: 10,
- startLine: 49,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [
- {
- children: [],
- endColumn: 15,
- endLine: 49,
- parent: [Circular],
- startColumn: 11,
- startLine: 49,
- text: 'Cell',
- type: 'data',
- },
- ],
- endColumn: 15,
- endLine: 49,
- parent: [Circular],
- startColumn: 11,
- startLine: 49,
- text: 'Cell',
- type: 'tableContent',
- },
- {
- children: [],
- endColumn: 19,
- endLine: 49,
- parent: [Circular],
- startColumn: 15,
- startLine: 49,
- text: ' ',
- type: 'whitespace',
- },
- {
- children: [],
- endColumn: 20,
- endLine: 49,
- parent: [Circular],
- startColumn: 19,
- startLine: 49,
- text: '|',
- type: 'tableCellDivider',
- },
- ],
- endColumn: 20,
- endLine: 49,
- parent: [Circular],
- startColumn: 9,
- startLine: 49,
- text: '| Cell |',
- type: 'tableData',
- },
- ],
- endColumn: 20,
- endLine: 49,
- parent: [Circular],
- startColumn: 1,
- startLine: 49,
- text: '| Table | Cell |',
- type: 'tableRow',
- },
- ],
- endColumn: 20,
- endLine: 49,
- parent: [Circular],
- startColumn: 1,
- startLine: 49,
- text: '| Table | Cell |',
- type: 'tableBody',
- },
- ],
- endColumn: 20,
- endLine: 49,
- parent: null,
- startColumn: 1,
- startLine: 47,
- text: `| Table | Heading |␊
- | ----- | ------- |␊
- | Table | Cell |`,
- type: 'table',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 50,
- parent: null,
- startColumn: 20,
- startLine: 49,
- text: `␊
- `,
- type: 'lineEnding',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 51,
- parent: null,
- startColumn: 1,
- startLine: 50,
- text: `␊
- `,
- type: 'lineEndingBlank',
- },
- {
- children: [
- {
- children: [],
- endColumn: 35,
- endLine: 51,
- parent: [Circular],
- startColumn: 1,
- startLine: 51,
- text: '',
- type: 'htmlFlowData',
- },
- ],
- endColumn: 35,
- endLine: 51,
- parent: null,
- startColumn: 1,
- startLine: 51,
- text: '',
- type: 'htmlFlow',
- },
- {
- children: [],
- endColumn: 1,
- endLine: 52,
- parent: null,
- startColumn: 35,
- startLine: 51,
- text: `␊
- `,
- type: 'lineEnding',
- },
- ]
diff --git a/test/snapshots/markdownlint-test-custom-rules.js.snap b/test/snapshots/markdownlint-test-custom-rules.js.snap
deleted file mode 100644
index 520c2decd..000000000
Binary files a/test/snapshots/markdownlint-test-custom-rules.js.snap and /dev/null differ
diff --git a/test/snapshots/markdownlint-test-repos-dotnet-docs.js.md b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md
similarity index 98%
rename from test/snapshots/markdownlint-test-repos-dotnet-docs.js.md
rename to test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md
index 79b115789..98553d4b6 100644
--- a/test/snapshots/markdownlint-test-repos-dotnet-docs.js.md
+++ b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md
@@ -1,6 +1,6 @@
-# Snapshot report for `test/markdownlint-test-repos-dotnet-docs.js`
+# Snapshot report for `test/markdownlint-test-repos-dotnet-docs.mjs`
-The actual snapshot is saved in `markdownlint-test-repos-dotnet-docs.js.snap`.
+The actual snapshot is saved in `markdownlint-test-repos-dotnet-docs.mjs.snap`.
Generated by [AVA](https://avajs.dev).
diff --git a/test/snapshots/markdownlint-test-repos-dotnet-docs.js.snap b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap
similarity index 100%
rename from test/snapshots/markdownlint-test-repos-dotnet-docs.js.snap
rename to test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap
diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.js.md b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md
similarity index 92%
rename from test/snapshots/markdownlint-test-repos-mdn-content.js.md
rename to test/snapshots/markdownlint-test-repos-mdn-content.mjs.md
index 61c39483d..ce511ed6e 100644
--- a/test/snapshots/markdownlint-test-repos-mdn-content.js.md
+++ b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md
@@ -1,6 +1,6 @@
-# Snapshot report for `test/markdownlint-test-repos-mdn-content.js`
+# Snapshot report for `test/markdownlint-test-repos-mdn-content.mjs`
-The actual snapshot is saved in `markdownlint-test-repos-mdn-content.js.snap`.
+The actual snapshot is saved in `markdownlint-test-repos-mdn-content.mjs.snap`.
Generated by [AVA](https://avajs.dev).
diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.js.snap b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap
similarity index 100%
rename from test/snapshots/markdownlint-test-repos-mdn-content.js.snap
rename to test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap
diff --git a/test/snapshots/markdownlint-test-repos-small.js.md b/test/snapshots/markdownlint-test-repos-small.mjs.md
similarity index 99%
rename from test/snapshots/markdownlint-test-repos-small.js.md
rename to test/snapshots/markdownlint-test-repos-small.mjs.md
index 11feae1bf..d2ec5a21f 100644
--- a/test/snapshots/markdownlint-test-repos-small.js.md
+++ b/test/snapshots/markdownlint-test-repos-small.mjs.md
@@ -1,6 +1,6 @@
-# Snapshot report for `test/markdownlint-test-repos-small.js`
+# Snapshot report for `test/markdownlint-test-repos-small.mjs`
-The actual snapshot is saved in `markdownlint-test-repos-small.js.snap`.
+The actual snapshot is saved in `markdownlint-test-repos-small.mjs.snap`.
Generated by [AVA](https://avajs.dev).
diff --git a/test/snapshots/markdownlint-test-repos-small.js.snap b/test/snapshots/markdownlint-test-repos-small.mjs.snap
similarity index 100%
rename from test/snapshots/markdownlint-test-repos-small.js.snap
rename to test/snapshots/markdownlint-test-repos-small.mjs.snap
diff --git a/test/snapshots/markdownlint-test-scenarios.js.md b/test/snapshots/markdownlint-test-scenarios.js.md
deleted file mode 100644
index 6d3649651..000000000
--- a/test/snapshots/markdownlint-test-scenarios.js.md
+++ /dev/null
@@ -1,59265 +0,0 @@
-# Snapshot report for `test/markdownlint-test-scenarios.js`
-
-The actual snapshot is saved in `markdownlint-test-scenarios.js.snap`.
-
-Generated by [AVA](https://avajs.dev).
-
-## 4-tabs-MD010.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Column: 1',
- errorRange: [
- 1,
- 13,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 1,
- 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,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- insertText: ' ',
- },
- lineNumber: 2,
- 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: 35',
- errorRange: [
- 35,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 35,
- insertText: ' ',
- },
- lineNumber: 3,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: ` text {MD010}␊
- text and text 2 {MD010}␊
- texts with trailing spaces {MD010} ␊
- ␊
- ␊
- `,
- }
-
-## MD001-MD010.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: h3; Actual: h4',
- 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: atx; Actual: atx_closed',
- 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',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: dash',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '*',
- },
- lineNumber: 10,
- 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: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: null,
- lineNumber: 8,
- 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: 1; Actual: 0',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 0,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 23,
- 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: (3); Actual: (4)',
- errorRange: [
- 1,
- 5,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 29,
- 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: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 8,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 12,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 13,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0 or 2; Actual: 1',
- errorRange: [
- 13,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 13,
- },
- lineNumber: 15,
- 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: 17,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: `## One␊
- ␊
- #### Two {MD001}␊
- ␊
- ### Three {MD003} ###␊
- ␊
- * Alpha␊
- * Bravo {MD005} {MD007}␊
- ␊
- * Charlie {MD004}␊
- ␊
- * Delta {MD007}␊
- * Echo {MD007}␊
- ␊
- Text {MD009}␊
- ␊
- Text text {MD010}␊
- ␊
- 1. One␊
- 2. Two␊
- 3. Three␊
- 4. Four␊
- 5. Five {MD005}␊
- 6. Six␊
- 7. Seven␊
- 8. Eight␊
- 9. Nine␊
- 10. Ten␊
- 11. Eleven {MD005}␊
- 12. Twelve␊
- ␊
- ␊
- `,
- }
-
-## MD011-MD021.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: '(reversed)[link]',
- errorRange: [
- 3,
- 16,
- ],
- fixInfo: {
- deleteCount: 16,
- editColumn: 3,
- insertText: '[reversed](link)',
- },
- lineNumber: 5,
- ruleDescription: 'Reversed link syntax',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md',
- ruleNames: [
- 'MD011',
- 'no-reversed-links',
- ],
- },
- {
- errorContext: null,
- errorDetail: '(reversed)[link]',
- errorRange: [
- 11,
- 16,
- ],
- fixInfo: {
- deleteCount: 16,
- editColumn: 11,
- insertText: '[reversed](link)',
- },
- lineNumber: 26,
- ruleDescription: 'Reversed link syntax',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md',
- ruleNames: [
- 'MD011',
- 'no-reversed-links',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: null,
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 7,
- ruleDescription: 'Multiple consecutive blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md',
- ruleNames: [
- 'MD012',
- 'no-multiple-blanks',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 80; Actual: 99',
- errorRange: [
- 81,
- 19,
- ],
- fixInfo: null,
- lineNumber: 8,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 40; Actual: 62',
- errorRange: [
- 41,
- 22,
- ],
- fixInfo: null,
- lineNumber: 10,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: '$ command with no output {MD01...',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 12,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '##No space A {MD018}',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 14,
- 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: '## Multiple spaces B {MD019}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 16,
- 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: '##No space C {MD020} ##',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 23,
- editColumn: 1,
- insertText: '## No space C {MD020} ##',
- },
- lineNumber: 18,
- 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: '## No space D {MD020}##',
- errorDetail: null,
- errorRange: [
- 21,
- 3,
- ],
- fixInfo: {
- deleteCount: 23,
- editColumn: 1,
- insertText: '## No space D {MD020} ##',
- },
- lineNumber: 20,
- 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: '## Multiple spaces E {MD021} ...',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 22,
- 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: '... Multiple spaces F {MD021} ##',
- errorDetail: null,
- errorRange: [
- 30,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 30,
- },
- lineNumber: 24,
- 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: `# Top level heading␊
- ␊
- ␊
- ␊
- A [reversed](link) example. {MD011}␊
- ␊
- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789␊
- ␊
- ## 123456789 123456789 123456789 123456789 123456789 123456789␊
- ␊
- command with no output {MD014}␊
- ␊
- ## No space A {MD018}␊
- ␊
- ## Multiple spaces B {MD019}␊
- ␊
- ## No space C {MD020} ##␊
- ␊
- ## No space D {MD020} ##␊
- ␊
- ## Multiple spaces E {MD021} ##␊
- ␊
- ## Multiple spaces F {MD021} ##␊
- ␊
- *Another* [reversed](link) example. {MD011}␊
- ␊
- {MD012:7} {MD013:8} {MD013:10}␊
- ␊
- ␊
- `,
- }
-
-## MD022-MD030.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '# Heading',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 2,
- },
- lineNumber: 1,
- 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',
- errorDetail: null,
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- },
- lineNumber: 1,
- 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: 'Heading',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 4,
- 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',
- 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',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Punctuation: \'.\'',
- errorRange: [
- 27,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 27,
- },
- lineNumber: 6,
- ruleDescription: 'Trailing punctuation in heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
- ruleNames: [
- 'MD026',
- 'no-trailing-punctuation',
- ],
- },
- {
- errorContext: '> Multiple spaces {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 8,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > Multiple spaces, multiple...',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 15,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > > Multiple spaces, multip...',
- errorDetail: null,
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 17,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > > Multiple spaces, multip...',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 19,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 3; Style: 1/2/3',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Ordered list item prefix',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md',
- ruleNames: [
- 'MD029',
- 'ol-prefix',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 13,
- ruleDescription: 'Spaces after list markers',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md',
- ruleNames: [
- 'MD030',
- 'list-marker-space',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- Text␊
- ␊
- # Heading␊
- ␊
- ## Another heading {MD026}␊
- ␊
- > Multiple spaces {MD027}␊
- ␊
- > Blank line above␊
- ␊
- 1. Alpha␊
- 3. Beta {MD029} {MD030}␊
- ␊
- > > Multiple spaces, multiple blockquotes {MD027}␊
- > >␊
- > > > Multiple spaces, multiple blockquotes {MD027}␊
- > > >␊
- > > > Multiple spaces, multiple blockquotes {MD027}␊
- ␊
- {MD022:1} {MD023:1} {MD024:4} {MD025:4} {MD028:9}␊
- `,
- }
-
-## MD030-warning-message.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 2,
- insertText: ' ',
- },
- lineNumber: 19,
- ruleDescription: 'Spaces after list markers',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md',
- ruleNames: [
- 'MD030',
- 'list-marker-space',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 21,
- ruleDescription: 'Spaces after list markers',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md',
- ruleNames: [
- 'MD030',
- 'list-marker-space',
- ],
- },
- {
- errorContext: '-',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 4,
- },
- lineNumber: 3,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: '1.',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 7,
- },
- lineNumber: 6,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- ],
- fixed: `#␊
- ␊
- -␊
- ␊
- (bare list item marker {MD032:3})␊
- ␊
- 1.␊
- ␊
- (bare list item marker {MD032:6})␊
- ␊
- -a␊
- (not a list item)␊
- ␊
- 1.a␊
- (not a list item)␊
- ␊
- - a␊
- ␊
- 1. a␊
- ␊
- - a {MD030}␊
- ␊
- 1. a {MD030}␊
- `,
- }
-
-## MD031-MD040.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 4,
- },
- lineNumber: 3,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '* List {MD032}',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 4,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: '* List {MD032}',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 48,
- },
- lineNumber: 47,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Element: hr',
- errorRange: [
- 7,
- 5,
- ],
- fixInfo: null,
- lineNumber: 6,
- ruleDescription: 'Inline HTML',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
- ruleNames: [
- 'MD033',
- 'no-inline-html',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 6,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 8,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- 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: 'Emphasis {MD036}',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: '* i',
- errorDetail: null,
- errorRange: [
- 7,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 8,
- },
- lineNumber: 15,
- 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: 'e *',
- errorDetail: null,
- errorRange: [
- 14,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 15,
- },
- lineNumber: 15,
- 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: '* s',
- errorDetail: null,
- errorRange: [
- 17,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 18,
- },
- lineNumber: 31,
- 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: 'e *',
- errorDetail: null,
- errorRange: [
- 21,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 22,
- },
- lineNumber: 32,
- 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: 'e **',
- errorDetail: null,
- errorRange: [
- 22,
- 4,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 23,
- },
- lineNumber: 33,
- 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: '_ s',
- errorDetail: null,
- errorRange: [
- 17,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 18,
- },
- lineNumber: 34,
- 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: '__ s',
- errorDetail: null,
- errorRange: [
- 19,
- 4,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 35,
- 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: 'e __',
- errorDetail: null,
- errorRange: [
- 25,
- 4,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 26,
- },
- lineNumber: 35,
- 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: '* i',
- errorDetail: null,
- errorRange: [
- 7,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 8,
- },
- lineNumber: 62,
- 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: 'e *',
- errorDetail: null,
- errorRange: [
- 10,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- },
- lineNumber: 63,
- 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: '` inside`',
- errorDetail: null,
- errorRange: [
- 7,
- 9,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 8,
- insertText: 'inside',
- },
- lineNumber: 17,
- 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: '`` inside``',
- errorDetail: null,
- errorRange: [
- 7,
- 11,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 9,
- insertText: 'inside',
- },
- lineNumber: 24,
- 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: '` code`',
- errorDetail: null,
- errorRange: [
- 19,
- 7,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 20,
- insertText: 'code',
- },
- lineNumber: 25,
- 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: '` elements`',
- errorDetail: null,
- errorRange: [
- 26,
- 11,
- ],
- fixInfo: {
- deleteCount: 9,
- editColumn: 27,
- insertText: 'elements',
- },
- lineNumber: 26,
- 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: '`` code``',
- errorDetail: null,
- errorRange: [
- 21,
- 9,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 23,
- insertText: 'code',
- },
- lineNumber: 27,
- 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: '`` ` embedded backtick``',
- errorDetail: null,
- errorRange: [
- 1,
- 25,
- ],
- fixInfo: {
- deleteCount: 21,
- editColumn: 3,
- insertText: ' ` embedded backtick',
- },
- 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: '``embedded backtick` ``',
- errorDetail: null,
- errorRange: [
- 1,
- 24,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 3,
- insertText: 'embedded backtick` ',
- },
- lineNumber: 29,
- 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: '` code {MD038}',
- errorDetail: null,
- errorRange: [
- 6,
- 14,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 7,
- insertText: 'code {MD038}',
- },
- lineNumber: 38,
- 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: 'span `',
- errorDetail: null,
- errorRange: [
- 1,
- 7,
- ],
- fixInfo: {
- deleteCount: 6,
- editColumn: 1,
- insertText: 'span',
- },
- lineNumber: 44,
- 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: 'span code ```',
- errorDetail: null,
- errorRange: [
- 1,
- 13,
- ],
- fixInfo: {
- deleteCount: 10,
- editColumn: 1,
- insertText: 'span code',
- },
- lineNumber: 53,
- 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: '```` code {MD038}',
- errorDetail: null,
- errorRange: [
- 11,
- 17,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 15,
- insertText: 'code {MD038}',
- },
- lineNumber: 55,
- 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: '[ inside ]',
- errorDetail: null,
- errorRange: [
- 8,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 8,
- },
- lineNumber: 19,
- 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: '[ inside ]',
- errorDetail: null,
- errorRange: [
- 15,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 15,
- },
- lineNumber: 19,
- 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: '[ space]',
- errorDetail: null,
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 60,
- 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: '[space ]',
- errorDetail: null,
- errorRange: [
- 32,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 32,
- },
- lineNumber: 60,
- 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: '[ space ]',
- errorDetail: null,
- errorRange: [
- 47,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 47,
- },
- lineNumber: 60,
- 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: '[ space ]',
- errorDetail: null,
- errorRange: [
- 53,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 53,
- },
- lineNumber: 60,
- 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: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Fenced code blocks should have a language specified',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md040.md',
- ruleNames: [
- 'MD040',
- 'fenced-code-language',
- ],
- },
- ],
- fixed: `\`\`\`js␊
- debugger;␊
- \`\`\`␊
- ␊
- * List {MD032}␊
- ␊
- Inline
HTML {MD033}␊
- ␊
- Bare link {MD034}␊
- ␊
- ---␊
- ***␊
- ␊
- *Emphasis {MD036}*␊
- ␊
- Space *inside* emphasis {MD037}␊
- ␊
- Space \`inside\` code span {MD038}␊
- ␊
- Space [inside](link) text {MD039}␊
- ␊
- \`\`\`␊
- \`\`\`␊
- ␊
- space \`\`inside\`\` code {MD038}␊
- space \`inside\` of \`code\` elements {MD038}␊
- \`space\` inside \`of\` code \`elements\` {MD038}␊
- space \`\`inside\`\` of \`\`code\`\` elements {MD038}␊
- \`\` \` embedded backtick\`\` {MD038}␊
- \`\`embedded backtick\` \`\` {MD038}␊
- ␊
- some *space* in *some* emphasis {MD037}␊
- some *space* in *some* emphasis {MD037}␊
- some *space* in **some** emphasis {MD037}␊
- some _space_ in _some_ emphasis {MD037}␊
- some __space__ in __some__ emphasis {MD037}␊
- ␊
- Text␊
- text \`code {MD038}␊
- span\` text␊
- text.␊
- ␊
- Text␊
- text \`code␊
- span\` text {MD038}␊
- text.␊
- ␊
- * List {MD032}␊
- ␊
- ---␊
- ␊
- Text␊
- text \`\`\`code␊
- span code␊
- span code\`\`\` text {MD038}␊
- text␊
- text text \`\`\`\`code {MD038}␊
- span code␊
- span\`\`\`\` text␊
- text.␊
- ␊
- Text [space](link) text [space](link) text [space](link) text. {MD039}␊
- ␊
- Space *inside {MD037}␊
- multi-line* emphasis. {MD037}␊
- ␊
- {MD031:3} {MD035:11} {MD040:21}␊
- ␊
- ␊
- `,
- }
-
-## MD041-MD050.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'Not a heading {MD041}',
- 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',
- ],
- },
- {
- errorContext: '[empty]()',
- errorDetail: null,
- errorRange: [
- 4,
- 9,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[empty](#)',
- errorDetail: null,
- errorRange: [
- 4,
- 10,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[empty](<>)',
- errorDetail: null,
- errorRange: [
- 4,
- 11,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[empty one]()',
- errorDetail: null,
- errorRange: [
- 25,
- 13,
- ],
- fixInfo: null,
- lineNumber: 17,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '# Heading',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 64,
- ruleDescription: 'Required heading structure',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md',
- ruleNames: [
- 'MD043',
- 'required-headings',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: markdownlint; Actual: MARKDOWNLINT',
- errorRange: [
- 29,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 29,
- insertText: 'markdownlint',
- },
- lineNumber: 9,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: markdownlint; Actual: Markdownlint',
- errorRange: [
- 7,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 7,
- insertText: 'markdownlint',
- },
- lineNumber: 12,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: markdownlint; Actual: MarkDownLint',
- errorRange: [
- 1,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 1,
- insertText: 'markdownlint',
- },
- lineNumber: 15,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: [
- 33,
- 14,
- ],
- fixInfo: null,
- lineNumber: 19,
- ruleDescription: 'Images should have alternate text (alt text)',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md045.md',
- ruleNames: [
- 'MD045',
- 'no-alt-text',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: [
- 41,
- 1,
- ],
- fixInfo: {
- editColumn: 42,
- insertText: `␊
- `,
- },
- lineNumber: 64,
- 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: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 21,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- insertText: '*',
- },
- lineNumber: 31,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 26,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 26,
- insertText: '*',
- },
- lineNumber: 31,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 49,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 49,
- insertText: '*',
- },
- lineNumber: 31,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 56,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 56,
- insertText: '*',
- },
- lineNumber: 31,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 10,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- insertText: '*',
- },
- lineNumber: 36,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '*',
- },
- lineNumber: 37,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 14,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 14,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 21,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 28,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 28,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 40,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 40,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 47,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 47,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 54,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 54,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 56,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 56,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 68,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 68,
- insertText: '*',
- },
- lineNumber: 45,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 30,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 30,
- insertText: '__',
- },
- lineNumber: 33,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 36,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 36,
- insertText: '__',
- },
- lineNumber: 33,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 62,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 62,
- insertText: '__',
- },
- lineNumber: 33,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 70,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 70,
- insertText: '__',
- },
- lineNumber: 33,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 8,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 8,
- insertText: '__',
- },
- lineNumber: 41,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 9,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 9,
- insertText: '__',
- },
- lineNumber: 42,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 14,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 14,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 22,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 22,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 30,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 30,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 43,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 43,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 51,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 51,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 59,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 59,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 62,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 62,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 75,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 75,
- insertText: '__',
- },
- lineNumber: 47,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- ],
- fixed: `Not a heading {MD041}␊
- ␊
- An [empty]() link {MD042}␊
- ␊
- An [empty](#) link with fragment {MD042}␊
- ␊
- An [empty](<>) link with angle brackets {MD042}␊
- ␊
- This is a test file for the markdownlint package. {MD044}␊
- ␊
- This is a paragraph␊
- about markdownlint {MD044}␊
- that capitalizes the␊
- name wrong twice:␊
- markdownlint. {MD044}␊
- ␊
- A [normal](link) and an [empty one]() and a [fragment](#one). {MD042}␊
- ␊
- An image without alternate text ![](image.jpg) {MD045}␊
- ␊
- \`\`\`text␊
- Fenced code␊
- \`\`\`␊
- ␊
- Indented code {MD046}␊
- ␊
- ~~~text␊
- Fenced code {MD048:27}␊
- ~~~␊
- ␊
- Mixed *emphasis* on *this* line *with* multiple *issues* {MD049}␊
- ␊
- Mixed __strong emphasis__ on __this__ line __with__ multiple __issues__ {MD050}␊
- ␊
- Inconsistent␊
- emphasis *text {MD049}␊
- spanning* many {MD049}␊
- lines␊
- ␊
- Inconsistent␊
- strong __emphasis {MD050}␊
- spanning__ many {MD050}␊
- lines␊
- ␊
- Inconsistent *double* text *interleaved* text *double* *interleaved* emphasis. {MD049}␊
- ␊
- Inconsistent __double__ text __interleaved__ text __double__ __interleaved__ strong emphasis. {MD050}␊
- ␊
- ␊
- ␊
- Missing newline character {MD043} {MD047}␊
- `,
- }
-
-## MD051-MD060.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[link with a missing](#fragment)',
- errorDetail: null,
- errorRange: [
- 3,
- 32,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[link with a][undefined-label]',
- errorDetail: 'Missing link or image reference definition: "undefined-label"',
- errorRange: [
- 3,
- 30,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Reference links and images should use a label that is defined',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md052.md',
- ruleNames: [
- 'MD052',
- 'reference-links-images',
- ],
- },
- {
- errorContext: '[unused-label]: {MD053}',
- errorDetail: 'Unused link or image reference definition: "unused-label"',
- errorRange: [
- 1,
- 23,
- ],
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 10,
- ruleDescription: 'Link and image reference definitions should be needed',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md053.md',
- ruleNames: [
- 'MD053',
- 'link-image-reference-definitions',
- ],
- },
- ],
- fixed: `# detailed-results-MD051-MD060␊
- ␊
- A [link with a missing](#fragment) {MD051}␊
- ␊
- A [link with a][defined-label]␊
- ␊
- A [link with a][undefined-label] {MD052}␊
- ␊
- [defined-label]: https://example.com␊
- `,
- }
-
-## alternate_top_level_heading.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'Another one {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: `## A level 2 top level heading␊
- ␊
- ## Another one {MD025}␊
- ␊
- ␊
- `,
- }
-
-## atx-heading-spacing-trailing-spaces.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '##Heading 1 {MD018}',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 5,
- 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: '## Heading 2 {MD019}',
- errorDetail: null,
- errorRange: [
- 4,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 4,
- },
- lineNumber: 7,
- 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: '##Heading 3 {MD020} ##',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 1,
- insertText: '## Heading 3 {MD020} ##',
- },
- lineNumber: 9,
- 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: '## Heading 4 {MD020}##',
- errorDetail: null,
- errorRange: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 1,
- insertText: '## Heading 4 {MD020} ##',
- },
- lineNumber: 11,
- 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: '##Heading 5 {MD020}##',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 23,
- editColumn: 1,
- insertText: '## Heading 5 {MD020} ##',
- },
- lineNumber: 13,
- 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: '## Heading 5 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 4,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 4,
- },
- lineNumber: 15,
- 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: '## Heading 6 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 22,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 22,
- },
- lineNumber: 17,
- 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: '## Heading 7 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 4,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 4,
- },
- lineNumber: 19,
- 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: '## Heading 7 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 25,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 25,
- },
- lineNumber: 19,
- 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: `# atx-heading-spacing-trailing-spaces␊
- ␊
- ␊
- ␊
- ## Heading 1 {MD018} ␊
- ␊
- ## Heading 2 {MD019} ␊
- ␊
- ## Heading 3 {MD020} ##␊
- ␊
- ## Heading 4 {MD020} ##␊
- ␊
- ## Heading 5 {MD020} ##␊
- ␊
- ## Heading 5 {MD021} ## ␊
- ␊
- ## Heading 6 {MD021} ## ␊
- ␊
- ## Heading 7 {MD021} ## ␊
- `,
- }
-
-## atx_closed_heading_spacing.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '#Heading 1 {MD020} #',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 1,
- insertText: '# Heading 1 {MD020} #',
- },
- lineNumber: 1,
- 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: '## Heading 2 {MD020}##',
- errorDetail: null,
- errorRange: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 22,
- editColumn: 1,
- insertText: '## Heading 2 {MD020} ##',
- },
- lineNumber: 3,
- 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: '##Heading 3 {MD020}##',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 21,
- editColumn: 1,
- insertText: '## Heading 3 {MD020} ##',
- },
- lineNumber: 5,
- 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: '## Heading 4 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 7,
- 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: '## Heading 5 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 22,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 22,
- },
- lineNumber: 9,
- 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: '## Heading 6 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 11,
- 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: '## Heading 6 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 23,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 23,
- },
- lineNumber: 11,
- 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: '## Heading 7 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 4,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 4,
- },
- lineNumber: 13,
- 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: '## Heading 7 {MD021} ##',
- errorDetail: null,
- errorRange: [
- 24,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 24,
- },
- lineNumber: 13,
- 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: `# Heading 1 {MD020} #␊
- ␊
- ## Heading 2 {MD020} ##␊
- ␊
- ## Heading 3 {MD020} ##␊
- ␊
- ## Heading 4 {MD021} ##␊
- ␊
- ## Heading 5 {MD021} ##␊
- ␊
- ## Heading 6 {MD021} ##␊
- ␊
- ## Heading 7 {MD021} ##␊
- ␊
- ## Heading 8\\#␊
- ␊
- ## Heading 9 \\#␊
- ␊
- ## Heading 10 \\#␊
- ␊
- ␊
- `,
- }
-
-## atx_heading_spacing.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '#Heading 1 {MD018}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- editColumn: 2,
- insertText: ' ',
- },
- lineNumber: 1,
- 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: '## Heading 2 {MD019}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 3,
- 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: '## Heading 3 {MD019}',
- errorDetail: null,
- errorRange: [
- 4,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 4,
- },
- lineNumber: 5,
- 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: `# Heading 1 {MD018}␊
- ␊
- ## Heading 2 {MD019}␊
- ␊
- ## Heading 3 {MD019}␊
- ␊
- ␊
- `,
- }
-
-## backslashes-and-backticks.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- \\\\\`\\\\␊
- \\\\\`\\\\␊
- `,
- }
-
-## bare-list-markers.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Bare List Markers␊
- ␊
- ## Ordered 1/1/1␊
- ␊
- 1.␊
- 1.␊
- 1.␊
- ␊
- ## Ordered 1/2/3␊
- ␊
- 1.␊
- 2.␊
- 3.␊
- ␊
- ## Unordered *␊
- ␊
- *␊
- *␊
- *␊
- ␊
- ## Unordered +␊
- ␊
- +␊
- +␊
- +␊
- ␊
- ## Unordered -␊
- ␊
- -␊
- -␊
- -␊
- ␊
- ␊
- `,
- }
-
-## bare-urls-in-html.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 6,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 7,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 49,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 49,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 49,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 49,
- insertText: '',
- },
- lineNumber: 13,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 41,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 41,
- insertText: '',
- },
- lineNumber: 19,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 16,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 16,
- insertText: '',
- },
- lineNumber: 21,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/fail',
- errorDetail: null,
- errorRange: [
- 17,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 17,
- insertText: '',
- },
- lineNumber: 23,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- ],
- fixed: `# Bare URLs in HTML␊
- ␊
- ␊
- https://example.com/pass␊
-
␊
- ␊
- Text text. {MD034}␊
- ␊
- Text https://example.com/pass
text.␊
- ␊
- Text https://example.com/pass
text text. {MD034}␊
- ␊
- Text https://example.com/pass
text text https://example.com/pass
text. {MD034}␊
- ␊
- Text text text https://example.com/pass text.␊
- ␊
- Text text text https://example.com/pass text.␊
- ␊
- Text text text text text. {MD034}␊
- ␊
- Text
text
text. {MD034}␊
- ␊
- Text
text
text. {MD034}␊
- ␊
- ␊
- `,
- }
-
-## bare-urls.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 15,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 15,
- insertText: '',
- },
- lineNumber: 3,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/',
- errorDetail: null,
- errorRange: [
- 15,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 15,
- insertText: '',
- },
- lineNumber: 5,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/?query=str...',
- errorDetail: null,
- errorRange: [
- 15,
- 38,
- ],
- fixInfo: {
- deleteCount: 38,
- editColumn: 15,
- insertText: '',
- },
- lineNumber: 7,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/info.htm',
- errorDetail: null,
- errorRange: [
- 15,
- 28,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 15,
- insertText: '',
- },
- lineNumber: 9,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 7,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 7,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 11,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 11,
- insertText: '',
- },
- lineNumber: 13,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 25,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 25,
- insertText: '',
- },
- lineNumber: 29,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 26,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 26,
- insertText: '',
- },
- lineNumber: 31,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 73,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 78,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com#heading-',
- errorDetail: null,
- errorRange: [
- 27,
- 28,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 27,
- insertText: '',
- },
- lineNumber: 88,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'user@example.com',
- errorDetail: null,
- errorRange: [
- 40,
- 16,
- ],
- fixInfo: {
- deleteCount: 16,
- editColumn: 40,
- insertText: '',
- },
- lineNumber: 96,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com',
- errorDetail: null,
- errorRange: [
- 59,
- 19,
- ],
- fixInfo: {
- deleteCount: 19,
- editColumn: 59,
- insertText: '',
- },
- lineNumber: 106,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- ],
- fixed: `# Detailed Results Bare URLs␊
- ␊
- For more, see . {MD034}␊
- ␊
- For more, see . {MD034}␊
- ␊
- For more, see . {MD034}␊
- ␊
- For more, see . {MD034}␊
- ␊
- Visit , then refresh. {MD034}␊
- ␊
- The site () is down. {MD034}␊
- ␊
- ␊
- ␊
- Some documents use to link.␊
- ␊
- Or to link.␊
- ␊
- Or repeat the URL https://example.com.␊
- ␊
- Or https://example.com/info.htm.␊
- ␊
- This is allowed to avoid embedding angle brackets in HTML Text https://example.com.␊
- ␊
- As is https://example.com/info.htm text.␊
- ␊
-
Another violation: . {MD034}
␊
- ␊
-
Another violation: . {MD034}
␊
- ␊
- This is not a bare [link]( https://example.com ).␊
- ␊
- Nor is [link](https://example.com/path-with(parens)).␊
- ␊
- Or .␊
- ␊
- URLs in HTML attributes are not bare:␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- ␊
- URLs surrounded by HTML tags are not bare:␊
- ␊
- Not https://example.com
bare.␊
- ␊
- Not https://example.com
bare.␊
- ␊
- ␊
- Not bare due to being in an HTML block:␊
- https://example.com␊
- https://example.com
␊
-
https://example.com
␊
-
␊
- ␊
- ␊
- https://example.com␊
-
␊
- ␊
- ␊
- https://example.com␊
- ␊
-
␊
- ␊
- ␊
- ␊
- {MD034}␊
-
␊
- ␊
- ␊
- ␊
- {MD034}␊
- ␊
-
␊
- ␊
- URLs in link and image text are not bare:␊
- ␊
- Text [link to https://example.com site](https://example.com) text.␊
- ␊
- Image ![for https://example.com site](https://example.com) text.␊
- ␊
- URLs may end with a dash: {MD034}␊
- ␊
- ... when explicit: ␊
- ␊
- ... when embedded: https://example.com#heading-
␊
- ␊
- Links with spaces inside angle brackets are okay: [blue jay]()␊
- ␊
- Email addresses are treated similarly: {MD034}␊
- ␊
- Angle brackets work the same for email: ␊
- ␊
- Unusual email addresses are handled: ␊
- ␊
- ---␊
- ␊
- [is-a-valid]: https://example.com␊
- ␊
- Links bind to the innermost [link that [is-a-valid] link]() {MD034}␊
- ␊
- But not if the [link [is-not-a-valid] link](https://example.com)␊
- ␊
- Escaping both inner square brackets avoids confusion:␊
- [link \\[is-not-a-valid\\] link](https://example.com)␊
- `,
- }
-
-## blanks-around-fences-in-lists.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 6,
- },
- lineNumber: 5,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '2. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 6,
- },
- lineNumber: 6,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 9,
- },
- lineNumber: 8,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '3. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 9,
- },
- lineNumber: 9,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 18,
- },
- lineNumber: 17,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '- ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 18,
- },
- lineNumber: 18,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 21,
- },
- lineNumber: 20,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '- ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 21,
- },
- lineNumber: 21,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 30,
- },
- lineNumber: 29,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> 2. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 30,
- },
- lineNumber: 30,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 33,
- },
- lineNumber: 32,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> 3. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 33,
- },
- lineNumber: 33,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 42,
- },
- lineNumber: 41,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> - ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 42,
- },
- lineNumber: 42,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 45,
- },
- lineNumber: 44,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> - ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 45,
- },
- lineNumber: 45,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 54,
- },
- lineNumber: 53,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > 2. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 54,
- },
- lineNumber: 54,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 57,
- },
- lineNumber: 56,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > 3. ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 57,
- },
- lineNumber: 57,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 66,
- },
- lineNumber: 65,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > - ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 66,
- },
- lineNumber: 66,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 69,
- },
- lineNumber: 68,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > - ```text',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 69,
- },
- lineNumber: 69,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- ],
- fixed: `# Blanks Around Fences In Lists␊
- ␊
- 1. \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- 2. \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- 3. \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- - \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- - \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- - \`\`\`text␊
- Text␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- > 1. \`\`\`text␊
- > Text␊
- > \`\`\`␊
- >␊
- > 2. \`\`\`text␊
- > Text␊
- > \`\`\`␊
- >␊
- > 3. \`\`\`text␊
- > Text␊
- > \`\`\`␊
- ␊
- Text␊
- ␊
- > - \`\`\`text␊
- > Text␊
- > \`\`\`␊
- >␊
- > - \`\`\`text␊
- > Text␊
- > \`\`\`␊
- >␊
- > - \`\`\`text␊
- > Text␊
- > \`\`\`␊
- ␊
- Text␊
- ␊
- > > 1. \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- > >␊
- > > 2. \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- > >␊
- > > 3. \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- ␊
- Text␊
- ␊
- > > - \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- > >␊
- > > - \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- > >␊
- > > - \`\`\`text␊
- > > Text␊
- > > \`\`\`␊
- ␊
- {MD031:5} {MD031:6} {MD031:8} {MD031:9} {MD031:17} {MD031:18} {MD031:20}␊
- {MD031:21} {MD031:29} {MD031:30} {MD031:32} {MD031:33} {MD031:41} {MD031:42}␊
- {MD031:44} {MD031:45} {MD031:53} {MD031:54} {MD031:56} {MD031:57} {MD031:65}␊
- {MD031:66} {MD031:68} {MD031:69}␊
- `,
- }
-
-## blanks-around-headings--1-1.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'Elderberry {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 21,
- },
- 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',
- ],
- },
- ],
- fixed: `# Blanks Around Headings␊
- ␊
- ## Apple␊
- ␊
- Text␊
- ## Banana␊
- ␊
- Text␊
- ␊
- ## Cherry␊
- ␊
- Text␊
- ␊
- ␊
- ## Durian ##␊
- ␊
- Text␊
- ␊
- Elderberry {MD022}␊
- ------------------␊
- ␊
- Text␊
- ␊
- ---␊
- ## Fig␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-headings-0-2.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '## Banana {MD022}',
- errorDetail: 'Expected: 2; Actual: 1; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 9,
- },
- lineNumber: 8,
- 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: 'Elderberry {MD022}',
- errorDetail: 'Expected: 2; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- ␊
- `,
- lineNumber: 23,
- },
- lineNumber: 21,
- 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: `# Blanks Around Headings␊
- ␊
- ␊
- ## Apple␊
- ␊
- ␊
- Text␊
- ## Banana {MD022}␊
- ␊
- ␊
- Text␊
- ## Cherry␊
- ␊
- ␊
- Text␊
- ## Durian ##␊
- ␊
- ␊
- Text␊
- ␊
- ---␊
- Elderberry {MD022}␊
- ------------------␊
- ␊
- ␊
- Text␊
- ## Fig␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-headings-1--1.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '## Durian {MD022} ##',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 16,
- 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: `# Blanks Around Headings␊
- ␊
- ## Apple␊
- Text␊
- ␊
- ## Banana␊
- ␊
- Text␊
- ␊
- ## Cherry␊
- ␊
- ␊
- Text␊
- ␊
- ---␊
- ␊
- ## Durian {MD022} ##␊
- ␊
- Text␊
- ␊
- ---␊
- ␊
- Elderberry␊
- ------------------␊
- Text␊
- ␊
- ## Fig␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-headings-3-0.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '## Durian {MD022} ##',
- errorDetail: 'Expected: 3; Actual: 2; 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: 'Elderberry {MD022}',
- errorDetail: 'Expected: 3; Actual: 1; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- ␊
- `,
- },
- lineNumber: 22,
- 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: `# Blanks Around Headings␊
- ␊
- ␊
- ␊
- ## Apple␊
- Text␊
- ␊
- ␊
- ␊
- ## Banana␊
- Text␊
- ␊
- ␊
- ␊
- ## Cherry␊
- Text␊
- ␊
- ␊
- ␊
- ## Durian {MD022} ##␊
- Text␊
- ␊
- ␊
- ␊
- Elderberry {MD022}␊
- ------------------␊
- Text␊
- ␊
- ␊
- ␊
- ## Fig␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-headings-arrays.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '# Apple - Top {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: '## Banana - Top {MD022}',
- errorDetail: 'Expected: 2; Actual: 1; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 18,
- 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: '## Banana - Bottom {MD022}',
- errorDetail: 'Expected: 2; Actual: 1; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 25,
- },
- lineNumber: 24,
- 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: '### Cherry - Top {MD022}',
- errorDetail: 'Expected: 3; Actual: 2; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 35,
- 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: '### Cherry - Bottom {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 42,
- },
- lineNumber: 41,
- 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: '#### Durian - Bottom {MD022} ####',
- errorDetail: 'Expected: 3; Actual: 1; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- ␊
- `,
- lineNumber: 55,
- },
- lineNumber: 54,
- 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: '##### Elderberry - Top {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 61,
- 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: '###### Fig - Top {MD022} ######',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 74,
- 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: '###### Fig - Bottom {MD022} ######',
- errorDetail: 'Expected: 4; Actual: 1; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- ␊
- ␊
- `,
- lineNumber: 82,
- },
- lineNumber: 81,
- 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: 'Grape - Top {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 89,
- 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: 'Honeycomb - Top {MD022}',
- errorDetail: 'Expected: 2; Actual: 1; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 107,
- 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: 'Honeycomb - Bottom {MD022}',
- errorDetail: 'Expected: 2; Actual: 1; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 116,
- },
- lineNumber: 114,
- 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: `# Blanks Around Headings (Arrays)␊
- ␊
- # Apple - Good␊
- Text␊
- ␊
- # Apple - Top {MD022}␊
- Text␊
- ␊
- # Apple - Bottom␊
- ␊
- Text␊
- ␊
- ␊
- ## Banana - Good␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- ## Banana - Top {MD022}␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- ## Banana - Bottom {MD022}␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- ### Cherry - Good␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- ### Cherry - Top {MD022}␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- ### Cherry - Bottom {MD022}␊
- ␊
- Text␊
- #### Durian - Good ####␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- #### Durian - Top ####␊
- ␊
- ␊
- ␊
- Text␊
- #### Durian - Bottom {MD022} ####␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- ##### Elderberry - Good␊
- ␊
- Text␊
- ␊
- ##### Elderberry - Top {MD022}␊
- ␊
- Text␊
- ␊
- ##### Elderberry - Bottom␊
- Text␊
- ␊
- ###### Fig - Good ######␊
- ␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- ###### Fig - Top {MD022} ######␊
- ␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- ###### Fig - Bottom {MD022} ######␊
- ␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- Grape - Good␊
- ============␊
- ␊
- ---␊
- ␊
- Grape - Top {MD022}␊
- ===================␊
- ␊
- Text␊
- ␊
- Grape - Bottom␊
- ==============␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- Honeycomb - Good␊
- ---------␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- Honeycomb - Top {MD022}␊
- -----------------------␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- Honeycomb - Bottom {MD022}␊
- --------------------------␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-headings.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '## Banana {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 8,
- },
- 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',
- ],
- },
- {
- errorContext: '## Durian {MD022} ##',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 13,
- 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: 'Elderberry {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 18,
- 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: 'Elderberry {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 20,
- },
- lineNumber: 18,
- 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: `# Blanks Around Headings␊
- ␊
- ## Apple␊
- ␊
- Text␊
- ␊
- ## Banana {MD022}␊
- ␊
- Text␊
- ␊
- ## Cherry␊
- ␊
- Text␊
- ␊
- ## Durian {MD022} ##␊
- ␊
- Text␊
- ␊
- ---␊
- ␊
- Elderberry {MD022}␊
- ------------------␊
- ␊
- Text␊
- ␊
- ## Fig␊
- ␊
- ␊
- `,
- }
-
-## blanks-around-tables.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Table pipe style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md',
- ruleNames: [
- 'MD055',
- 'table-pipe-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe',
- errorRange: [
- 29,
- 1,
- ],
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Table pipe style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md',
- ruleNames: [
- 'MD055',
- 'table-pipe-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data',
- errorRange: [
- 29,
- 1,
- ],
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Table column count',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md',
- ruleNames: [
- 'MD056',
- 'table-column-count',
- ],
- },
- {
- errorContext: '| Header | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 8,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 20,
- },
- lineNumber: 19,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '> | Header | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- },
- lineNumber: 25,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '> | Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 28,
- },
- lineNumber: 27,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '> | Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 33,
- },
- lineNumber: 32,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Header | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 36,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 39,
- },
- lineNumber: 38,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Header | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 42,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 45,
- },
- lineNumber: 44,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Header | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 48,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| Cell | {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 51,
- },
- lineNumber: 50,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- ],
- fixed: `# Blanks Around Tables␊
- ␊
- | Header | Header |␊
- | ------ | ------ |␊
- | Cell | Cell |␊
- ␊
- Text␊
- ␊
- | Header | {MD058} |␊
- | ------ | ------- |␊
- | Cell | Cell |␊
- ␊
- | Header | Header |␊
- | ------ | ------ |␊
- | Cell | Cell |␊
- Part of table {MD055} {MD056}␊
- ␊
- | Header | Header |␊
- | ------ | ------- |␊
- | Cell | {MD058} |␊
- ␊
- > Blockquote␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > | Header | {MD058} |␊
- > | ------ | ------- |␊
- > | Cell | {MD058} |␊
- >␊
- Text␊
- ␊
- > | Header | Header |␊
- > | ------ | ------- |␊
- > | Cell | {MD058} |␊
- >␊
- > > Blockquote␊
- ␊
- - List Item␊
- ␊
- | Header | {MD058} |␊
- | ------ | ------- |␊
- | Cell | {MD058} |␊
- ␊
- - List Item␊
- ␊
- 1. List Item␊
- ␊
- | Header | {MD058} |␊
- | ------ | ------- |␊
- | Cell | {MD058} |␊
- ␊
- 1. List Item␊
- ␊
- :::directive␊
- ␊
- | Header | {MD058} |␊
- | ------ | ------- |␊
- | Cell | {MD058} |␊
- ␊
- :::␊
- `,
- }
-
-## blanks-around.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Blanks Around␊
- ␊
- ---␊
- ␊
- ## MD022/blanks-around-headings␊
- ␊
- >␊
- ### Alpha␊
- > >␊
- ␊
- ␊
- ### Beta␊
- ␊
- ␊
- > Text␊
- >␊
- > ### Gamma␊
- > >␊
- > > Text␊
- ␊
- ---␊
- ␊
- ## MD031/blanks-around-fences␊
- ␊
- > >␊
- \`\`\`js␊
- console.log();␊
- \`\`\`␊
- >␊
- ␊
- ␊
- \`\`\`js␊
- console.log();␊
- \`\`\`␊
- ␊
- ␊
- > Text␊
- >␊
- > \`\`\`js␊
- > console.log();␊
- > \`\`\`␊
- > >␊
- > >Text␊
- ␊
- ---␊
- ␊
- ## MD032/blanks-around-lists␊
- ␊
- >␊
- - List item␊
- >>␊
- ␊
- ␊
- - List item␊
- ␊
- ␊
- > Text␊
- >␊
- > - List item␊
- >>␊
- >> Text␊
- `,
- }
-
-## blockquote-headings.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '> # Quoted heading in list {MD022} {MD025}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 23,
- 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: '> # Quoted heading in list {MD022} {MD025}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 24,
- },
- lineNumber: 23,
- 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: '> > # Double-quoted heading in list {MD022} {MD025}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 26,
- 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: '> > # Double-quoted heading in list {MD022} {MD025}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 27,
- },
- lineNumber: 26,
- 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: '> ## Quoted sub-heading in list {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 29,
- 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: '> ## Quoted sub-heading in list {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 30,
- },
- lineNumber: 29,
- 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: '> ## Quoted indented sub-heading in list {MD022} {MD023} {MD027}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 33,
- 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: '> ## Quoted indented sub-heading in list {MD022} {MD023} {MD027}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 34,
- },
- lineNumber: 33,
- 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 One {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 41,
- },
- lineNumber: 40,
- 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 Two {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- },
- lineNumber: 46,
- 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 Three {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- },
- lineNumber: 53,
- 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 Three {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 54,
- },
- lineNumber: 53,
- 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 Four {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- },
- lineNumber: 59,
- 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 Four {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 60,
- },
- lineNumber: 59,
- 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 Five {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- },
- lineNumber: 65,
- 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 Five {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 66,
- },
- lineNumber: 65,
- 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 Six {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- },
- lineNumber: 71,
- 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 Six {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Below',
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 72,
- },
- lineNumber: 71,
- 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: '> ## Quoted indented sub-head...',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 17,
- 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: ' > ## Quoted indented sub-he...',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 33,
- 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: 'Quoted heading {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',
- ],
- },
- {
- errorContext: 'Double-quoted heading {MD025}',
- 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',
- ],
- },
- {
- errorContext: 'Quoted heading in list {MD022}...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 23,
- 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: 'Double-quoted heading in list ...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 26,
- 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: '> ## Quoted indented sub-head...',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 17,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > ## Quoted indented sub-he...',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 33,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- ## Sub-heading␊
- ␊
- > # Quoted heading {MD025}␊
- ␊
- Text␊
- ␊
- > > # Double-quoted heading {MD025}␊
- ␊
- Text␊
- ␊
- > ## Quoted sub-heading␊
- ␊
- Text␊
- ␊
- > ## Quoted indented sub-heading {MD023} {MD027}␊
- ␊
- Text␊
- ␊
- - Item␊
- item␊
- ␊
- > # Quoted heading in list {MD022} {MD025}␊
- ␊
- - Item␊
- item␊
- ␊
- > > # Double-quoted heading in list {MD022} {MD025}␊
- ␊
- - Item␊
- item␊
- ␊
- > ## Quoted sub-heading in list {MD022}␊
- ␊
- - Item␊
- - Item␊
- item␊
- ␊
- > ## Quoted indented sub-heading in list {MD022} {MD023} {MD027}␊
- ␊
- - Item␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > ## Heading One {MD022}␊
- >␊
- > Text␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > ## Heading Two {MD022}␊
- >␊
- > Text␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > ## Heading Three {MD022}␊
- >␊
- > Text␊
- ␊
- Text␊
- ␊
- > > Text␊
- > >␊
- > > ### Heading Four {MD022}␊
- > >␊
- > > Text␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > > ### Heading Five {MD022}␊
- > >␊
- > > Text␊
- ␊
- Text␊
- ␊
- > > Text␊
- > >␊
- > > ### Heading Six {MD022}␊
- >␊
- > Text␊
- ␊
- Text␊
- `,
- }
-
-## blockquote-spaces-nested.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '> A {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 3,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > B {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 5,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> C {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 7,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> A {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 11,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > B {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 13,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > > C {MD027}',
- errorDetail: null,
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 15,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > D {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 17,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> E {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 19,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> A {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 23,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '>> B {MD027}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 25,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '>>> C {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 27,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '>> D {MD027}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 29,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> E {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 31,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 35,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- },
- lineNumber: 39,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 43,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 47,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 51,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> > > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 55,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '>> >> Text {MD027}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 59,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- },
- lineNumber: 63,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 67,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 8,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 8,
- },
- lineNumber: 71,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 75,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- ],
- fixed: `# Nested blockquote␊
- ␊
- > A {MD027}␊
- >␊
- > > B {MD027}␊
- >␊
- > C {MD027}␊
- ␊
- Text␊
- ␊
- > A {MD027}␊
- >␊
- > > B {MD027}␊
- > >␊
- > > > C {MD027}␊
- > >␊
- > > D {MD027}␊
- >␊
- > E {MD027}␊
- ␊
- Text␊
- ␊
- > A {MD027}␊
- >␊
- >> B {MD027}␊
- >>␊
- >>> C {MD027}␊
- >>␊
- >> D {MD027}␊
- >␊
- > E {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > > > Text {MD027}␊
- ␊
- Text␊
- ␊
- >> >> Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- ␊
- Text␊
- ␊
- > > Text {MD027}␊
- `,
- }
-
-## blockquote_blank_lines.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 0 or 2; Actual: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- },
- lineNumber: 12,
- 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: 1; Actual: 2',
- errorRange: null,
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 10,
- ruleDescription: 'Multiple consecutive blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md',
- ruleNames: [
- 'MD012',
- 'no-multiple-blanks',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 10,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 12,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 19,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- ],
- fixed: `# blockquote_blank_lines␊
- ␊
- Some text␊
- ␊
- > a quote␊
- > same quote␊
- ␊
- > blank line above me␊
- ␊
- > two blank lines above me␊
- ␊
- > space above me␊
- ␊
- * List with embedded blockquote␊
- ␊
- > Test␊
- > Test␊
- ␊
- > Test␊
- ␊
- * Item 2␊
- ␊
- > Test. The blank line below should _not_ trigger MD028 as one blockquote is␊
- > inside the list, and the other is outside it.␊
- ␊
- > Test␊
- ␊
- Expected errors:␊
- ␊
- {MD028:7} {MD028:9} {MD028:10} {MD028:12} {MD028:19}␊
- {MD009:12} (trailing space is intentional)␊
- {MD012:10} (multiple blank lines are intentional)␊
- `,
- }
-
-## blockquote_spaces.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '> Foo {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 6,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> Bar {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 7,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> *foo* {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 14,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> **bar** {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 15,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> "Baz" {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 3,
- },
- lineNumber: 16,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> `qux` {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 3,
- },
- lineNumber: 17,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> Foo {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 27,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> Bar {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 28,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 4,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 4,
- },
- lineNumber: 33,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 5,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 5,
- },
- lineNumber: 37,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: ' > Text {MD027}',
- errorDetail: null,
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- },
- lineNumber: 41,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: '> ',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 47,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- ],
- fixed: `# blockquote_spaces␊
- ␊
- Some text␊
- ␊
- > Hello world␊
- > Foo {MD027}␊
- > Bar {MD027}␊
- ␊
- This tests other things embedded in the blockquote:␊
- ␊
- - foo␊
- ␊
- > *Hello world*␊
- > *foo* {MD027}␊
- > **bar** {MD027}␊
- > "Baz" {MD027}␊
- > \`qux\` {MD027}␊
- > *foo* more text␊
- > **bar** more text␊
- > 'baz' more text␊
- > \`qux\` more text␊
- >␊
- > - foo␊
- ␊
- Test the first line being indented too much:␊
- ␊
- > Foo {MD027}␊
- > Bar {MD027}␊
- > Baz␊
- ␊
- Test spaces before the blockquote:␊
- ␊
- > Text {MD027}␊
- ␊
- Text␊
- ␊
- > Text {MD027}␊
- ␊
- Text␊
- ␊
- > Text {MD027}␊
- ␊
- Test nothing in the blockquote:␊
- ␊
- ␊
- ␊
- > ␊
- {MD027:-1}␊
- ␊
- ␊
- ␊
- > Blockquoted code blocks:␊
- >␊
- > Code␊
- > Code␊
- > Code␊
- >␊
- > \`\`\`text␊
- > Code␊
- > Code␊
- > Code␊
- > \`\`\`␊
- `,
- }
-
-## break-all-the-rules.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: h3; Actual: h4',
- 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: atx; Actual: atx_closed',
- 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',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: atx; Actual: atx_closed',
- errorRange: null,
- fixInfo: null,
- lineNumber: 31,
- ruleDescription: 'Heading style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md',
- ruleNames: [
- 'MD003',
- 'heading-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: plus',
- errorRange: [
- 2,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 2,
- insertText: '*',
- },
- lineNumber: 8,
- 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: 3; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: null,
- lineNumber: 12,
- 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: 0; Actual: 1',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 8,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 3',
- errorRange: [
- 1,
- 5,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0 or 2; Actual: 1',
- errorRange: [
- 17,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 17,
- },
- lineNumber: 14,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 14,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- {
- errorContext: null,
- errorDetail: '(name)[link]',
- errorRange: [
- 1,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 1,
- insertText: '[name](link)',
- },
- lineNumber: 16,
- ruleDescription: 'Reversed link syntax',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md',
- ruleNames: [
- 'MD011',
- 'no-reversed-links',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: null,
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 18,
- ruleDescription: 'Multiple consecutive blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md',
- ruleNames: [
- 'MD012',
- 'no-multiple-blanks',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 80; Actual: 97',
- errorRange: [
- 81,
- 17,
- ],
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: '$ dollar {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 23,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '#Heading 4 {MD018}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- editColumn: 2,
- 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: '# Heading 5 {MD019}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- 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: '#Heading 6 {MD020} #',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 1,
- insertText: '# Heading 6 {MD020} #',
- },
- lineNumber: 29,
- 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: '# Heading 7 {MD021} {MD003} ...',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 31,
- 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: '... Heading 7 {MD021} {MD003} #',
- errorDetail: null,
- errorRange: [
- 30,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 30,
- },
- lineNumber: 31,
- 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: '## Heading 10 {MD022}',
- errorDetail: 'Expected: 1; Actual: 0; Above',
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 86,
- 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 9 {MD023} {MD026}.',
- errorDetail: null,
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- },
- lineNumber: 40,
- 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: 'Heading 8',
- 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: null,
- errorDetail: 'Punctuation: \'.\'',
- errorRange: [
- 29,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 40,
- ruleDescription: 'Trailing punctuation in heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md026.md',
- ruleNames: [
- 'MD026',
- 'no-trailing-punctuation',
- ],
- },
- {
- errorContext: '> {MD027}',
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- },
- lineNumber: 42,
- ruleDescription: 'Multiple spaces after blockquote symbol',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md027.md',
- ruleNames: [
- 'MD027',
- 'no-multiple-space-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 43,
- ruleDescription: 'Blank line inside blockquote',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md028.md',
- ruleNames: [
- 'MD028',
- 'no-blanks-blockquote',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 3; Style: 1/2/3',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: null,
- lineNumber: 47,
- ruleDescription: 'Ordered list item prefix',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md',
- ruleNames: [
- 'MD029',
- 'ol-prefix',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: [
- 2,
- 3,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 8,
- ruleDescription: 'Spaces after list markers',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md',
- ruleNames: [
- 'MD030',
- 'list-marker-space',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 51,
- },
- lineNumber: 50,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '* list {MD032}',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 8,
- },
- lineNumber: 7,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: '+ list {MD004} {MD007} {MD030...',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 8,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: '* list {MD032} {MD046:49}',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 51,
- ruleDescription: 'Lists should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md032.md',
- ruleNames: [
- 'MD032',
- 'blanks-around-lists',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Element: br',
- errorRange: [
- 1,
- 5,
- ],
- 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: 'https://example.com/page',
- errorDetail: null,
- errorRange: [
- 1,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 57,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: ---; Actual: ***',
- errorRange: null,
- fixInfo: null,
- lineNumber: 61,
- ruleDescription: 'Horizontal rule style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
- ruleNames: [
- 'MD035',
- 'hr-style',
- ],
- },
- {
- errorContext: 'Section {MD036} Heading',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 65,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: 'h _',
- errorDetail: null,
- errorRange: [
- 14,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 15,
- },
- lineNumber: 67,
- 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: '`with `',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 7,
- insertText: 'with',
- },
- lineNumber: 69,
- 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: '[link with space ]',
- errorDetail: null,
- errorRange: [
- 17,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 17,
- },
- lineNumber: 71,
- 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: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Fenced code blocks should have a language specified',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md040.md',
- ruleNames: [
- 'MD040',
- 'fenced-code-language',
- ],
- },
- {
- errorContext: '## Heading 1 {MD041:1}',
- 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',
- ],
- },
- {
- errorContext: '[empty link]()',
- errorDetail: null,
- errorRange: [
- 1,
- 14,
- ],
- fixInfo: null,
- lineNumber: 81,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: # Broken; Actual: # Heading 3 {MD003} {MD043}',
- errorRange: null,
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Required heading structure',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md',
- ruleNames: [
- 'MD043',
- 'required-headings',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: markdownlint; Actual: markdownLint',
- errorRange: [
- 1,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 1,
- insertText: 'markdownlint',
- },
- lineNumber: 83,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: [
- 1,
- 14,
- ],
- fixInfo: null,
- lineNumber: 85,
- ruleDescription: 'Images should have alternate text (alt text)',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md045.md',
- ruleNames: [
- 'MD045',
- 'no-alt-text',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 49,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- editColumn: 12,
- insertText: `␊
- `,
- },
- lineNumber: 140,
- 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: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 10,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- insertText: '_',
- },
- lineNumber: 90,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 15,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 15,
- insertText: '_',
- },
- lineNumber: 90,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 8,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 8,
- insertText: '__',
- },
- lineNumber: 94,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 14,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 14,
- insertText: '__',
- },
- lineNumber: 94,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: '[Missing link fragment](#missing)',
- errorDetail: null,
- errorRange: [
- 1,
- 33,
- ],
- fixInfo: null,
- lineNumber: 96,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Missing link][label]',
- errorDetail: 'Missing link or image reference definition: "label"',
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: null,
- lineNumber: 98,
- ruleDescription: 'Reference links and images should use a label that is defined',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md052.md',
- ruleNames: [
- 'MD052',
- 'reference-links-images',
- ],
- },
- {
- errorContext: '[unused]: link-destination',
- errorDetail: 'Unused link or image reference definition: "unused"',
- errorRange: [
- 1,
- 26,
- ],
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 100,
- ruleDescription: 'Link and image reference definitions should be needed',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md053.md',
- ruleNames: [
- 'MD053',
- 'link-image-reference-definitions',
- ],
- },
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 1,
- 11,
- ],
- fixInfo: {
- deleteCount: 11,
- editColumn: 1,
- insertText: '[text](https://example.com/page)',
- },
- lineNumber: 103,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe',
- errorRange: [
- 2,
- 1,
- ],
- fixInfo: null,
- lineNumber: 110,
- ruleDescription: 'Table pipe style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md',
- ruleNames: [
- 'MD055',
- 'table-pipe-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data',
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: null,
- lineNumber: 114,
- ruleDescription: 'Table column count',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md',
- ruleNames: [
- 'MD056',
- 'table-column-count',
- ],
- },
- {
- errorContext: '| table {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- },
- lineNumber: 117,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- {
- errorContext: '| cell {MD058} |',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 120,
- },
- lineNumber: 119,
- ruleDescription: 'Tables should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md058.md',
- ruleNames: [
- 'MD058',
- 'blanks-around-tables',
- ],
- },
- ],
- fixed: `## Heading 1 {MD041:1}␊
- ␊
- #### Heading 2 {MD001:3}␊
- ␊
- # Heading 3 {MD003} {MD043} #␊
- ␊
- * list {MD032}␊
- ␊
- * list {MD004} {MD007} {MD030} {MD032}␊
- ␊
- * list␊
- * list {MD007}␊
- * list {MD005}␊
- ␊
- {MD009} {MD010}␊
- ␊
- [name](link) {MD011}␊
- ␊
- {MD012:18}␊
- ␊
- long line long line long line long line long line long line long line long line long line {MD013}␊
- ␊
- dollar {MD014}␊
- ␊
- # Heading 4 {MD018}␊
- ␊
- # Heading 5 {MD019}␊
- ␊
- # Heading 6 {MD020} #␊
- ␊
- # Heading 7 {MD021} {MD003} #␊
- ␊
- # Heading 8␊
- ␊
- # Heading 8␊
- ␊
- {MD024:35}␊
- Note: Can not break MD025 and MD041 in the same file␊
- ␊
- # Heading 9 {MD023} {MD026}␊
- ␊
- > {MD027}␊
- ␊
- > {MD028:43}␊
- ␊
- 1. list␊
- 3. list {MD029}␊
- ␊
- \`\`\`js␊
- \`\`\`␊
- ␊
- * list {MD032} {MD046:49}␊
- ␊
- {MD031:50}␊
- ␊
-
{MD033}␊
- ␊
- {MD034}␊
- ␊
- ---␊
- ␊
- ***␊
- ␊
- {MD035:61}␊
- ␊
- _Section {MD036} Heading_␊
- ␊
- Emphasis _with_ space {MD037}␊
- ␊
- Code \`with\` space {MD038}␊
- ␊
- [link with space](link) {MD039}␊
- ␊
- \`\`\`␊
- code fence without language {MD040:73} {MD046:73}␊
- \`\`\`␊
- ␊
- ~~~js␊
- code fence with different style {MD048:77} {MD046:77}␊
- ~~~␊
- ␊
- [empty link]() {MD042}␊
- ␊
- markdownlint {MD044}␊
- ␊
- ![](image.jpg) {MD045}␊
- ␊
- ## Heading 10 {MD022}␊
- ␊
- Emphasis _with_ underscore style␊
- ␊
- Emphasis _with_ different style {MD049}␊
- ␊
- Strong __with__ underscore style␊
- ␊
- Strong __with__ different style {MD050}␊
- ␊
- [Missing link fragment](#missing) {MD051}␊
- ␊
- [Missing link][label] {MD052}␊
- ␊
- {MD053:100}␊
- ␊
- [text](https://example.com/page) {MD054}␊
- ␊
- ␊
- [url]: https://example.com/page␊
- ␊
- | table | header |␊
- |--------|--------|␊
- {MD055} | cell |␊
- ␊
- | table | header |␊
- |---------|--------|␊
- | {MD056} |␊
- ␊
- Text␊
- ␊
- | table {MD058} |␊
- |-------|␊
- | cell {MD058} |␊
- ␊
- > Blockquote␊
- ␊
- ␊
- ␊
- EOF {MD047}␊
- `,
- }
-
-## bulleted_list_2_space_indent.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 4; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 0,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 7,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 8; Actual: 4',
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 0,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 8,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- ],
- fixed: `# bulleted_list_2_space_indent␊
- ␊
- This is a document where the lists are indented by 2 spaces, but the style is␊
- set to 4 space indents for lists:␊
- ␊
- * Test X␊
- * Test Y {MD007}␊
- * Test Z {MD007}␊
- ␊
- ␊
- `,
- }
-
-## bulleted_list_4_space_indent.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- 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',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 4; Actual: 8',
- errorRange: [
- 1,
- 10,
- ],
- fixInfo: {
- deleteCount: 4,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 5,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- ],
- fixed: `# bulleted_list_4_space_indent␊
- ␊
- * Test X␊
- * Test Y {MD007}␊
- * Test Z {MD007}␊
- `,
- }
-
-## bulleted_list_not_at_beginning_of_line.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 15,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 4',
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 16,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 4',
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 17,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 4; Actual: 6',
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 18,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 4',
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 19,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 20,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 21,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 30,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 2; Actual: 4',
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 31,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 41,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 42,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 43,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 55,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 57,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 0; Actual: 2',
- errorRange: [
- 1,
- 4,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '',
- },
- lineNumber: 59,
- ruleDescription: 'Unordered list indentation',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md',
- ruleNames: [
- 'MD007',
- 'ul-indent',
- ],
- },
- ],
- fixed: `# Bulleted List Not at Beginning of Line␊
- ␊
- Text␊
- ␊
- * Item␊
- * Item␊
- * Item␊
- * Item␊
- * Item␊
- * Item␊
- * Item␊
- ␊
- Text␊
- ␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- ␊
- Text␊
- ␊
- * Item␊
- * Item␊
- ␊
- Text␊
- ␊
- * Item {MD007}␊
- * Item {MD007}␊
- ␊
- Text␊
- ␊
- * Item␊
- * Item␊
- * Item␊
- ␊
- Text␊
- ␊
- * Item {MD007}␊
- * Item {MD007}␊
- * Item {MD007}␊
- ␊
- Text␊
- ␊
- * Item␊
- ␊
- * Item␊
- ␊
- * Item␊
- ␊
- Text␊
- ␊
- * Item {MD007}␊
- ␊
- * Item {MD007}␊
- ␊
- * Item {MD007}␊
- `,
- }
-
-## byte-order-marker-utf8.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- Text␊
- `,
- }
-
-## code-block-in-list.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Code Block in List␊
- ␊
- Text␊
- ␊
- \`\`\`js␊
- // Code␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- 1. Item␊
- ␊
- \`\`\`js␊
- // Code␊
- \`\`\`␊
- ␊
- 1. Item␊
- ␊
- \`\`\`js␊
- // Code␊
- \`\`\`␊
- `,
- }
-
-## code-block-trailing-spaces.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 0 or 2; Actual: 2',
- errorRange: [
- 28,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 28,
- },
- lineNumber: 5,
- ruleDescription: 'Trailing spaces',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md',
- ruleNames: [
- 'MD009',
- 'no-trailing-spaces',
- ],
- },
- ],
- fixed: `# code-block-trailing-spaces␊
- ␊
- Text␊
- ␊
- Two trailing spaces {MD009}␊
- ␊
- Text␊
- ␊
- Indented code block␊
- ␊
- Statement␊
- Indented statement␊
- ␊
- Statement␊
- Indented statement␊
- ␊
- Two trailing spaces ␊
- ␊
- Text␊
- ␊
- \`\`\`text␊
- Fenced code block␊
- ␊
- Statement␊
- Indented statement␊
- ␊
- Statement␊
- Indented statement␊
- ␊
- Two trailing spaces ␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## code-block-with-language-allowed.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Column: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 34,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 35,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 36,
- 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: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 37,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 38,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 39,
- 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,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- insertText: ' ',
- },
- lineNumber: 41,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 45,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 46,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 47,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 48,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- \`\`\`␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- \`\`\`␊
- ␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- ␊
- \`\`\` Text␊
- hello␊
- world␊
- }␊
- \`\`\`␊
- ␊
- if (true) { // {MD010}␊
- console.log("true"); // {MD010}␊
- if (false) { // {MD010}␊
- console.log("false"); // {MD010}␊
- } // {MD010}␊
- } // {MD010}␊
- ␊
- Line with hard tab. {MD010}␊
- ␊
- \`\`\`javascript␊
- if (true) {␊
- console.log("true"); // {MD010}␊
- if (false) { // {MD010}␊
- console.log("false"); // {MD010}␊
- } // {MD010}␊
- }␊
- \`\`\`␊
- ␊
- ␊
- `,
- }
-
-## code-block-with-tabs-allowed.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Column: 10',
- errorRange: [
- 10,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- insertText: ' ',
- },
- lineNumber: 35,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- \`\`\`␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- \`\`\`␊
- ␊
- if (true) { // {MD046}␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- ␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- ␊
- Line with hard tab. {MD010}␊
- ␊
- ␊
- `,
- }
-
-## code-block-with-tabs.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Column: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 14,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 15,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 16,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 17,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 28,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 29,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 30,
- 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: 1',
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 31,
- 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: 1',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 32,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 33,
- 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,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- insertText: ' ',
- },
- lineNumber: 35,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- \`\`\`␊
- ␊
- \`\`\`js␊
- if (true) {␊
- console.log("true"); // {MD010}␊
- if (false) { // {MD010}␊
- console.log("false"); // {MD010}␊
- } // {MD010}␊
- }␊
- \`\`\`␊
- ␊
- if (true) { // {MD046}␊
- console.log("true");␊
- if (false) {␊
- console.log("false");␊
- }␊
- }␊
- ␊
- if (true) { // {MD010}␊
- console.log("true"); // {MD010}␊
- if (false) { // {MD010}␊
- console.log("false"); // {MD010}␊
- } // {MD010}␊
- } // {MD010}␊
- ␊
- Line with hard tab. {MD010}␊
- `,
- }
-
-## code-blocks-and-spans.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: code; Actual: Code',
- errorRange: [
- 3,
- 4,
- ],
- fixInfo: {
- deleteCount: 4,
- editColumn: 3,
- insertText: 'code',
- },
- lineNumber: 1,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: code; Actual: CODE',
- errorRange: [
- 6,
- 4,
- ],
- fixInfo: {
- deleteCount: 4,
- editColumn: 6,
- insertText: 'code',
- },
- lineNumber: 3,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: code; Actual: CODE',
- errorRange: [
- 7,
- 4,
- ],
- fixInfo: {
- deleteCount: 4,
- editColumn: 7,
- insertText: 'code',
- },
- lineNumber: 26,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: code; Actual: CODE',
- errorRange: [
- 7,
- 4,
- ],
- fixInfo: {
- deleteCount: 4,
- editColumn: 7,
- insertText: 'code',
- },
- lineNumber: 28,
- ruleDescription: 'Proper names should have the correct capitalization',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md044.md',
- ruleNames: [
- 'MD044',
- 'proper-names',
- ],
- },
- ],
- fixed: `# code Blocks and Spans {MD044}␊
- ␊
- Text code text {MD044}␊
- ␊
- Text \`CODE\` text␊
- ␊
- \`\`\`lang␊
- CODE␊
- ␊
- CODE␊
- \`\`\`␊
- ␊
- \`CODE\` text \`CODE\`␊
- ␊
- CODE␊
- ␊
- CODE␊
- ␊
- Text \`CODE␊
- CODE\` text␊
- text text␊
- text \`CODE␊
- CODE CODE␊
- CODE\` text␊
- ␊
- Text \`code {MD044}␊
- ␊
- Text \`code {MD044}␊
- ␊
- ␊
- `,
- }
-
-## code-blocks-prefixed-by-spaces.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 80; Actual: 98',
- errorRange: [
- 81,
- 18,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 80; Actual: 98',
- errorRange: [
- 81,
- 18,
- ],
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 80; Actual: 98',
- errorRange: [
- 81,
- 18,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# md013-code-blocks-spaces␊
- ␊
- Text text text text text text text text text text text text text text text text text text. {MD013}␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text. {MD046:21}␊
- \`\`\`␊
- ␊
- Text text text text text text text text text text text text text text text text text text. {MD013}␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- \`\`\`text␊
- Text text text text text text text text text text text text text text text text text text.␊
- \`\`\`␊
- ␊
- Text text text text text text text text text text text text text text text text text text. {MD013}␊
- ␊
- ␊
- `,
- }
-
-## code-fences-in-blockquotes.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```markdown',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 4,
- },
- lineNumber: 4,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 7,
- },
- lineNumber: 6,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```markdown',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 10,
- },
- lineNumber: 10,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `>␊
- `,
- lineNumber: 13,
- },
- lineNumber: 12,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```markdown',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 15,
- },
- lineNumber: 15,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '> > ```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `> >␊
- `,
- lineNumber: 18,
- },
- lineNumber: 17,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- ],
- fixed: `# Detailed Results Code Fences in Blockquotes␊
- ␊
- Text␊
- ␊
- \`\`\`markdown␊
- Text␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- > Text␊
- >␊
- > \`\`\`markdown␊
- > Text␊
- > \`\`\`␊
- >␊
- > Text␊
- > > Text␊
- > >␊
- > > \`\`\`markdown␊
- > > Text␊
- > > \`\`\`␊
- > >␊
- > > Text␊
- ␊
- {MD031:4} {MD031:6} {MD031:10} {MD031:12} {MD031:15} {MD031:17}␊
- `,
- }
-
-## code-with-tabs-allowed.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- 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: 21,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: `# Code With Tabs Allowed␊
- ␊
- Text text {MD010}␊
- ␊
- Text \`code code\` text␊
- ␊
- Text \` code\` text␊
- ␊
- Text \`code \` text␊
- ␊
- Text \`code code␊
- code code␊
- code code\` text␊
- ␊
- console.log(" ");␊
- ␊
- \`\`\`js␊
- console.log(" ");␊
- \`\`\`␊
- ␊
- \`\`\`j s {MD010}␊
- console.log(" ");␊
- \`\`\`␊
- ␊
- console.log("");␊
- ␊
- ␊
- `,
- }
-
-## code-with-tabs-blocked.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- 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: 11',
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- 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: 7',
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- insertText: ' ',
- },
- lineNumber: 7,
- 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: 11',
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- insertText: ' ',
- },
- lineNumber: 9,
- 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: 12,
- 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: 18',
- errorRange: [
- 18,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 18,
- insertText: ' ',
- },
- lineNumber: 15,
- 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: 14',
- errorRange: [
- 14,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 14,
- insertText: ' ',
- },
- lineNumber: 18,
- 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: 21,
- 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: 14',
- errorRange: [
- 14,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 14,
- 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: 1',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 25,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: `# Code With Tabs Blocked␊
- ␊
- Text text {MD010}␊
- ␊
- Text \`code code\` text {MD010}␊
- ␊
- Text \` code\` text {MD010}␊
- ␊
- Text \`code \` text {MD010}␊
- ␊
- Text \`code code␊
- code code {MD010}␊
- code code\` text␊
- ␊
- console.log(" "); // {MD010}␊
- ␊
- \`\`\`js␊
- console.log(" "); // {MD010}␊
- \`\`\`␊
- ␊
- \`\`\`j s {MD010}␊
- console.log(" "); // {MD010}␊
- \`\`\`␊
- ␊
- console.log(""); // {MD010}␊
- ␊
- ␊
- `,
- }
-
-## code_block_consistency.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 10,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# code_block_consistency␊
- ␊
- This is text.␊
- ␊
- This is a␊
- code block.␊
- ␊
- And here is more text␊
- ␊
- \`\`\`text␊
- and here is a different {MD046:10}␊
- code block␊
- \`\`\`␊
- `,
- }
-
-## code_block_dollar.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '$ ls {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 5,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ less foo {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 6,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ cat bar {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 8,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ mkdir test {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 74,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ cd test {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 75,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ ls test {MD014}',
- errorDetail: null,
- errorRange: [
- 5,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- },
- lineNumber: 76,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: ' $ ls example {MD014}',
- errorDetail: null,
- errorRange: [
- 6,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 6,
- },
- lineNumber: 80,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 34,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# Code Block Dollar␊
- ␊
- The following code block shouldn't have $ before the commands:␊
- ␊
- ls {MD014}␊
- less foo {MD014}␊
- ␊
- cat bar {MD014}␊
- ␊
- However the following code block shows output, and $ can be used to␊
- distinguish between command and output:␊
- ␊
- $ ls␊
- foo bar␊
- $ less foo␊
- Hello world␊
- ␊
- $ cat bar␊
- baz␊
- ␊
- The following code block uses variable names, and likewise shouldn't fire:␊
- ␊
- $foo = 'bar';␊
- $baz = 'qux';␊
- ␊
- The following code block doesn't have any dollar signs, and shouldn't fire:␊
- ␊
- ls foo␊
- cat bar␊
- ␊
- The following (fenced) code block doesn't have any content at all, and␊
- shouldn't fire: {MD046:34}␊
- ␊
- \`\`\`bash␊
- \`\`\`␊
- ␊
- Mixed content:␊
- ␊
- $ ls␊
- file.md other.md␊
- $ git branch␊
- $ cat stuff␊
- ␊
- output␊
- ␊
- More mixed content:␊
- ␊
- $ ls␊
- $ git branch␊
- $ cat stuff␊
- stuff here␊
- more stuff␊
- $ tail cat␊
- meow␊
- ␊
- Command with blank lines in output:␊
- ␊
- $ dig example.com␊
- ␊
- ; ...␊
- ;; ...␊
- ␊
- ;; ...␊
- ␊
- Some commands with no output:␊
- ␊
- $ mkdir test␊
- mkdir: created directory 'test'␊
- $ cd test␊
- $ ls test␊
- ␊
- All commands with no output:␊
- ␊
- mkdir test {MD014}␊
- cd test {MD014}␊
- ls test {MD014}␊
- ␊
- Space-prefixed command with no output:␊
- ␊
- ls example {MD014}␊
- `,
- }
-
-## code_block_dollar_fence-empty.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- \`\`\`js␊
- ␊
- \`\`\`␊
- ␊
- \`\`\`css␊
- ␊
- ␊
- \`\`\`␊
- ␊
- \`\`\`spaces␊
- ␊
- \`\`\`␊
- ␊
- ␊
- `,
- }
-
-## code_block_dollar_fence.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 4,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 10,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 16,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 17,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 23,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ code {MD014}',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 24,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: '$ npm install --save multimatc...',
- errorDetail: null,
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- },
- lineNumber: 40,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- {
- errorContext: ' $ ls example {MD014}',
- errorDetail: null,
- errorRange: [
- 2,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 2,
- },
- lineNumber: 46,
- ruleDescription: 'Dollar signs used before commands without showing output',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md014.md',
- ruleNames: [
- 'MD014',
- 'commands-show-output',
- ],
- },
- ],
- fixed: `# Code Block Dollar Fence␊
- ␊
- \`\`\`fence␊
- code {MD014}␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`fence␊
- code {MD014}␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`fence␊
- code {MD014}␊
- code {MD014}␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`fence␊
- code {MD014}␊
- code {MD014}␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`fence␊
- $ code␊
- code␊
- $ code␊
- code␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`sh␊
- ␊
- npm install --save multimatch {MD014}␊
- \`\`\`␊
- ␊
- Space-prefixed command with no output:␊
- ␊
- \`\`\`sh␊
- ls example {MD014}␊
- \`\`\`␊
- `,
- }
-
-## code_block_fenced.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 16,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# code_block_fenced␊
- ␊
- This is text.␊
- ␊
- This is a {MD046}␊
- code block.␊
- ␊
- And here is more text␊
- ␊
- \`\`\`text␊
- This is a code block that won't trigger.␊
- \`\`\`␊
- ␊
- But we'll do another:␊
- ␊
- And this {MD046}␊
- will.␊
- ␊
- Final text is here␊
- ␊
- ␊
- `,
- }
-
-## code_block_indented.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: indented; Actual: fenced',
- errorRange: null,
- fixInfo: null,
- lineNumber: 10,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# code_block_indented␊
- ␊
- This is text.␊
- ␊
- This is a␊
- code block.␊
- ␊
- And here is more text␊
- ␊
- \`\`\`text␊
- This is {MD046:10} also a code block.␊
- \`\`\`␊
- ␊
- But we'll do another:␊
- ␊
- And this␊
- will.␊
- ␊
- One last one:␊
- ␊
- This is code␊
- ␊
- with an empty indented line.␊
- ␊
- ␊
- `,
- }
-
-## code_fence_style_backtick.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 17,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- ],
- fixed: `# code_fence_style_backtick␊
- ␊
- \`\`\`text␊
- This is a code block␊
- \`\`\`␊
- ␊
- ~~~text␊
- This is {MD048:7} a code block␊
- ~~~␊
- ␊
- \`\`\`text␊
- ~~~␊
- This is fine␊
- ~~~␊
- \`\`\`␊
- ␊
- ~~~text␊
- \`\`\`␊
- This is not {MD048:17}␊
- \`\`\`␊
- ~~~␊
- ␊
- ␊
- `,
- }
-
-## code_fence_style_tilde.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: tilde; Actual: backtick',
- errorRange: null,
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: tilde; Actual: backtick',
- errorRange: null,
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- ],
- fixed: `# code_fence_style_tilde␊
- ␊
- \`\`\`text␊
- This is {MD048:3} a code block␊
- \`\`\`␊
- ␊
- ~~~text␊
- This is a code block␊
- ~~~␊
- ␊
- \`\`\`text␊
- ~~~␊
- This is not fine {MD048:11}␊
- ~~~␊
- \`\`\`␊
- ␊
- ~~~text␊
- \`\`\`␊
- This is␊
- \`\`\`␊
- ~~~␊
- ␊
- ␊
- `,
- }
-
-## consecutive_blank_lines.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 1; Actual: 2',
- errorRange: null,
- fixInfo: {
- deleteCount: -1,
- },
- lineNumber: 5,
- ruleDescription: 'Multiple consecutive blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md',
- ruleNames: [
- 'MD012',
- 'no-multiple-blanks',
- ],
- },
- ],
- fixed: `# consecutive_blank_lines␊
- ␊
- Some text␊
- ␊
- Some text {MD012:5}␊
- ␊
- This is a code block␊
- ␊
- ␊
- with two blank lines in it␊
- ␊
- Some more text␊
- `,
- }
-
-## consistent_bullet_styles_asterisk.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# consistent_bullet_styles_asterisk␊
- ␊
- * Item␊
- * Item␊
- * Item␊
- `,
- }
-
-## consistent_bullet_styles_dash.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# consistent_bullet_styles_dash␊
- ␊
- - Item␊
- - Item␊
- - Item␊
- `,
- }
-
-## consistent_bullet_styles_plus.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# consistent_bullet_styles_plus␊
- ␊
- + Item␊
- + Item␊
- + Item␊
- `,
- }
-
-## custom-rules.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- Sample text.␊
- ␊
- Sample text.␊
- ␊
- Sample text.␊
- ␊
- Sample text.␊
- ␊
- ␊
- > Blockquote␊
- `,
- }
-
-## default-spaces-MD010.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Column: 1',
- errorRange: [
- 1,
- 13,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 1,
- insertText: ' ',
- },
- lineNumber: 1,
- 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,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 5,
- insertText: ' ',
- },
- lineNumber: 2,
- 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: 35',
- errorRange: [
- 35,
- 3,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 35,
- insertText: ' ',
- },
- lineNumber: 3,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- ],
- fixed: ` text {MD010}␊
- text and text 2 {MD010}␊
- texts with trailing spaces {MD010} ␊
- ␊
- ␊
- `,
- }
-
-## emoji-headings.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '##️⃣ Keycap Number Sign {MD018...',
- errorDetail: null,
- errorRange: [
- 1,
- 3,
- ],
- fixInfo: {
- editColumn: 3,
- insertText: ' ',
- },
- lineNumber: 11,
- 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',
- ],
- },
- ],
- fixed: `# Emoji Headings␊
- ␊
- #️⃣ Keycap Number Sign␊
- ␊
- ␊
- ␊
- # #️⃣ Keycap Number Sign␊
- ␊
- Text␊
- ␊
- ## ️⃣ Keycap Number Sign {MD018}␊
- ␊
- Text␊
- ␊
- # Keycap Number Sign #️⃣␊
- ␊
- Text␊
- ␊
- # Keycap Number Sign#️⃣␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## emphasis-markers.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '_',
- },
- lineNumber: 5,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 13,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 13,
- insertText: '_',
- },
- lineNumber: 5,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- insertText: '_',
- },
- lineNumber: 8,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- insertText: '_',
- },
- lineNumber: 8,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- insertText: '_',
- },
- lineNumber: 12,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- insertText: '_',
- },
- lineNumber: 12,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 9,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 9,
- insertText: '**',
- },
- lineNumber: 14,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 14,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 14,
- insertText: '**',
- },
- lineNumber: 14,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 7,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 7,
- insertText: '**',
- },
- lineNumber: 17,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 12,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 12,
- insertText: '**',
- },
- lineNumber: 17,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 7,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 7,
- insertText: '**',
- },
- lineNumber: 21,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 12,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 12,
- insertText: '**',
- },
- lineNumber: 21,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- ],
- fixed: `# Emphasis Markers␊
- ␊
- Text to _set_ the **preferences**.␊
- ␊
- This is _bad_ {MD049}␊
- ␊
- This \`is␊
- also\` _bad_ {MD049}␊
- ␊
- This \`is␊
- also␊
- very\` _bad_ {MD049}␊
- ␊
- This is **bad** {MD050}␊
- ␊
- This \`is␊
- also\` **bad** {MD050}␊
- ␊
- This \`is␊
- also␊
- very\` **bad** {MD050}␊
- ␊
- HTML __should__ *be* ignored
␊
- ␊
- ␊
- HTML __should__ *be* ignored␊
-
␊
- ␊
- ␊
- `,
- }
-
-## emphasis-not-heading-in-blockquote.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- insertText: '_',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 8,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 8,
- insertText: '_',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 3,
- insertText: '_',
- },
- lineNumber: 15,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 18,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 18,
- insertText: '_',
- },
- lineNumber: 15,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- > _Text_␊
- ␊
- Text␊
- ␊
- > _Text text text_␊
- ␊
- Text␊
- ␊
- > _Text_ {MD049}␊
- ␊
- Text␊
- ␊
- > _Text text text_ {MD049}␊
- ␊
- Text␊
- ␊
- > **Text**␊
- ␊
- Text␊
- ␊
- > **Text text text**␊
- `,
- }
-
-## emphasis_instead_of_headings.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'Section 1: the first section {...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: 'Section 1.1: another section {...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 12,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: 'Section 2: yet more sections {...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: 'Section 3: oh no more sections...',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 30,
- ruleDescription: 'Emphasis used instead of a heading',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md036.md',
- ruleNames: [
- 'MD036',
- 'no-emphasis-as-heading',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '*',
- },
- lineNumber: 30,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 48,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 48,
- insertText: '*',
- },
- lineNumber: 30,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 1,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 1,
- insertText: '**',
- },
- lineNumber: 12,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 47,
- 2,
- ],
- fixInfo: {
- deleteCount: 2,
- editColumn: 47,
- insertText: '**',
- },
- lineNumber: 12,
- ruleDescription: 'Strong style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md',
- ruleNames: [
- 'MD050',
- 'strong-style',
- ],
- },
- ],
- fixed: `# emphasis_instead_of_headings␊
- ␊
- **Section 1: the first section {MD036}**␊
- ␊
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor␊
- incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis␊
- nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.␊
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore␊
- eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt␊
- in culpa qui officia deserunt mollit anim id est laborum.␊
- ␊
- **Section 1.1: another section {MD036} {MD050}**␊
- ␊
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor␊
- incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis␊
- nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.␊
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore␊
- eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt␊
- in culpa qui officia deserunt mollit anim id est laborum.␊
- ␊
- *Section 2: yet more sections {MD036}*␊
- ␊
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor␊
- incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis␊
- nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.␊
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore␊
- eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt␊
- in culpa qui officia deserunt mollit anim id est laborum.␊
- ␊
- *Section 3: oh no more sections {MD036} {MD049}*␊
- ␊
- This is a normal paragraph␊
- **that just happens to have emphasized text in**␊
- even though the emphasized text is on its own line.␊
- ␊
- This is another **normal** paragraph with some text in it. This also should␊
- not trigger the rule.␊
- ␊
- **This is an entire paragraph that has been emphasized, and shouldn't be␊
- detected as a heading because it's on multiple lines**␊
- ␊
- **This also shouldn't be detected as a heading as it ends in punctuation.**␊
- ␊
- **This shouldn't be detected as a heading as it ends in full-width punctuation。**␊
- ␊
- **[This as well since it is a link](https://example.com)**␊
- `,
- }
-
-## emphasis_style_asterisk.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '*',
- },
- lineNumber: 9,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- insertText: '*',
- },
- lineNumber: 9,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- insertText: '*',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '*',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '*',
- },
- lineNumber: 13,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: asterisk; Actual: underscore',
- errorRange: [
- 13,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 13,
- insertText: '*',
- },
- lineNumber: 13,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- ],
- fixed: `# Emphasis style asterisk␊
- ␊
- *This* is fine␊
- ␊
- This *is* fine␊
- ␊
- This is *fine*␊
- ␊
- *This* is not␊
- ␊
- This *is* not␊
- ␊
- This is *not*␊
- ␊
- {MD049:-2} {MD049:-4} {MD049:-6}␊
- ␊
- Internal emphasis is preserved:␊
- apple*banana*cherry, apple*banana*, *banana*cherry␊
- apple_banana_cherry, apple_banana_, _banana_cherry␊
- ␊
- ␊
- `,
- }
-
-## emphasis_style_underscore.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '_',
- },
- lineNumber: 9,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- insertText: '_',
- },
- lineNumber: 9,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 6,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 6,
- insertText: '_',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '_',
- },
- lineNumber: 11,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 9,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 9,
- insertText: '_',
- },
- lineNumber: 13,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: underscore; Actual: asterisk',
- errorRange: [
- 13,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 13,
- insertText: '_',
- },
- lineNumber: 13,
- ruleDescription: 'Emphasis style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md',
- ruleNames: [
- 'MD049',
- 'emphasis-style',
- ],
- },
- ],
- fixed: `# Emphasis style underscore␊
- ␊
- _This_ is fine␊
- ␊
- This _is_ fine␊
- ␊
- This is _fine_␊
- ␊
- _This_ is not␊
- ␊
- This _is_ not␊
- ␊
- This is _not_␊
- ␊
- {MD049:-2} {MD049:-4} {MD049:-6}␊
- ␊
- Internal emphasis is preserved:␊
- apple*banana*cherry, apple*banana*, *banana*cherry␊
- apple_banana_cherry, apple_banana_, _banana_cherry␊
- ␊
- ␊
- `,
- }
-
-## empty-links.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text](<>)',
- errorDetail: null,
- errorRange: [
- 1,
- 10,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]( <> )',
- errorDetail: null,
- errorRange: [
- 1,
- 12,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text](<> "title")',
- errorDetail: null,
- errorRange: [
- 1,
- 18,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]( <> "title" )',
- errorDetail: null,
- errorRange: [
- 1,
- 20,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text](#)',
- errorDetail: null,
- errorRange: [
- 1,
- 9,
- ],
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]( # )',
- errorDetail: null,
- errorRange: [
- 1,
- 11,
- ],
- fixInfo: null,
- lineNumber: 17,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text](# "title")',
- errorDetail: null,
- errorRange: [
- 1,
- 17,
- ],
- fixInfo: null,
- lineNumber: 19,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]( # "title" )',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text][frag]',
- errorDetail: null,
- errorRange: [
- 1,
- 12,
- ],
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text][ frag ]',
- errorDetail: null,
- errorRange: [
- 1,
- 14,
- ],
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[frag][]',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[frag]',
- errorDetail: null,
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: null,
- lineNumber: 29,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 74,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 78,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 80,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 83,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- {
- errorContext: '[text]()',
- errorDetail: null,
- errorRange: [
- 1,
- 8,
- ],
- fixInfo: null,
- lineNumber: 85,
- ruleDescription: 'No empty links',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md042.md',
- ruleNames: [
- 'MD042',
- 'no-empty-links',
- ],
- },
- ],
- fixed: `# Heading␊
- ␊
- ## Empty links␊
- ␊
- [text]() {MD042}␊
- ␊
- [text](<>) {MD042}␊
- ␊
- [text]( <> ) {MD042}␊
- ␊
- [text](<> "title") {MD042}␊
- ␊
- [text]( <> "title" ) {MD042}␊
- ␊
- [text](#) {MD042}␊
- ␊
- [text]( # ) {MD042}␊
- ␊
- [text](# "title") {MD042}␊
- ␊
- [text]( # "title" ) {MD042}␊
- ␊
- [text][frag] {MD042}␊
- ␊
- [text][ frag ] {MD042}␊
- ␊
- [frag][] {MD042}␊
- ␊
- [frag] {MD042}␊
- ␊
- [frag]: #␊
- ␊
- ## Non-empty links␊
- ␊
- ### frag␊
- ␊
- [text](link)␊
- ␊
- [text]( link )␊
- ␊
- [text](link "title")␊
- ␊
- [text]( link "title" )␊
- ␊
- [text]()␊
- ␊
- [text]( )␊
- ␊
- [text]( "title")␊
- ␊
- [text]( "title" )␊
- ␊
- [text](#frag)␊
- ␊
- [text]( #frag )␊
- ␊
- [text](#frag "title")␊
- ␊
- [text]( #frag "title" )␊
- ␊
- [text][ref]␊
- ␊
- [text][ ref ]␊
- ␊
- [ref]: link␊
- ␊
- [text]␊
- ␊
- [text]: link␊
- ␊
- ## Inline of links with empty link (#308)␊
- ␊
- [text](link-1)␊
- [text]() {MD042}␊
- [text](link-3)␊
- ␊
- [text](link-1)␊
- [text]() {MD042}␊
- [text](link-3)␊
- [text]() {MD042}␊
- ␊
- [text](link-1)␊
- [text]() {MD042}␊
- [text](link-3)␊
- [text]() {MD042}␊
- [text](link-5)␊
- `,
- }
-
-## empty_doc.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: '',
- }
-
-## escaped-emphasis-markers.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- ## Single-character markers␊
- ␊
- None are valid emphasis without spaces.␊
- ␊
- Escaped asterisks \\* should \\* be ignored by MD037.␊
- ␊
- Escaped asterisks \\* should * be ignored by MD037.␊
- ␊
- Escaped asterisks * should \\* be ignored by MD037.␊
- ␊
- Escaped underscores \\_ should \\_ be ignored by MD037.␊
- ␊
- Escaped underscores \\_ should _ be ignored by MD037.␊
- ␊
- Escaped underscores _ should \\_ be ignored by MD037.␊
- ␊
- ## Double-character markers, start␊
- ␊
- All *could* be reported because they are valid single-character␊
- marker emphasis when no spaces are present.␊
- ␊
- Escaped asterisks \\** should ** be ignored by MD037.␊
- ␊
- Escaped asterisks *\\* should ** be ignored by MD037.␊
- ␊
- Escaped underscores \\__ should __ be ignored by MD037.␊
- ␊
- Escaped underscores _\\_ should __ be ignored by MD037.␊
- ␊
- ## Double-character markers, end␊
- ␊
- All should be reported, but are ignored because they look like␊
- the start of an embedded emphasis.␊
- ␊
- Escaped asterisks ** should \\** be ignored by MD037.␊
- ␊
- Escaped asterisks ** should *\\* be ignored by MD037.␊
- ␊
- Escaped underscores __ should \\__ be ignored by MD037.␊
- ␊
- Escaped underscores __ should _\\_ be ignored by MD037.␊
- `,
- }
-
-## every-markdown-syntax.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `Every Markdown Syntax␊
- =====================␊
- ␊
- ## Level 2 ATX Heading␊
- ␊
- ### Level 3 Closed ATX Heading ###␊
- ␊
- ---␊
- ␊
- Text *emphasized* **strong** ___emphasized+strong___.␊
- Text \`code\` html .␊
- Text [link](https://example.com/page) [link][] [link] ![image][link].␊
- Text https://example.com/page.␊
- ␊
- Hard ␊
- line break␊
- ␊
- [link]: https://example.com/page "Title"␊
- ␊
- > Block quote␊
- > > Nested␊
- ␊
- - Unordered␊
- - List␊
- - Items␊
- Indented␊
- ␊
- Content␊
- ␊
- 1. Ordered␊
- 2. List␊
- 1. Items␊
- Indented␊
- ␊
- Content␊
- ␊
- \`\`\`markdown options␊
- Fenced code block␊
- \`\`\`␊
- ␊
- Indented code block␊
- ␊
- ␊
- HTML block␊
-
␊
- ␊
- | Table | Heading |␊
- | ----- | ------- |␊
- | Table | Cell |␊
- ␊
- ␊
- `,
- }
-
-## fenced-code-in-list.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- - Item␊
- ␊
- \`\`\`javascript␊
- debugger;␊
- ␊
- ␊
- debugger;␊
- \`\`\`␊
- ␊
- text␊
- ␊
- - Item␊
- ␊
- - Subitem␊
- ␊
- \`\`\`javascript␊
- debugger;␊
- ␊
- ␊
- debugger;␊
- \`\`\`␊
- ␊
- text␊
- ␊
- - Subitem␊
- ␊
- - Item␊
- ␊
- - Subitem␊
- ␊
- \`\`\`javascript␊
- debugger; debugger; debugger; debugger; debugger; debugger; debugger; debugger; debugger; debugger;␊
- \`\`\`␊
- ␊
- ␊
- `,
- }
-
-## fenced-code-unmatched.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- ␊
- Text␊
- ␊
- \`\`\`code\`\`\`␊
- ␊
- Text␊
- ␊
- \`\`\`javascript␊
- var x = 5;␊
- \`\`\`␊
- ␊
- Text␊
- `,
- }
-
-## fenced_code_blocks.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Fenced code blocks should have a language specified',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md040.md',
- ruleNames: [
- 'MD040',
- 'fenced-code-language',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- ],
- fixed: `# fenced_code_blocks␊
- ␊
- This is a GFM-style fenced code block:␊
- ␊
- \`\`\` bash␊
- #!/bin/bash␊
- ␊
- # Print something to stdout:␊
- echo "Hello"␊
- echo "World"␊
- \`\`\`␊
- ␊
- This is a kramdown-style fenced code block:␊
- ␊
- ~~~ bash␊
- #!/bin/bash␊
- ␊
- # Print something to stdout:␊
- echo "Hello"␊
- echo "World"␊
- ~~~␊
- ␊
- None of the above should trigger any heading related rules.␊
- ␊
- \`\`\`␊
- Code block without a language specifier␊
- \`\`\`␊
- ␊
- {MD040:25} {MD048:15}␊
- `,
- }
-
-## fenced_code_blocks_in_lists.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 17,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: fenced; Actual: indented',
- errorRange: null,
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'Code block style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md',
- ruleNames: [
- 'MD046',
- 'code-block-style',
- ],
- },
- ],
- fixed: `# test doc␊
- ␊
- this is some text␊
- ␊
- * This is a list item␊
- ␊
- \`\`\`fenced␊
- this is a code block within the list item.␊
- \`\`\`␊
- ␊
- with more text here␊
- ␊
- * and another list item here␊
- ␊
- And another paragraph.␊
- ␊
- But this code block {MD046}␊
- ␊
- is *NOT* in a list and should error.␊
- ␊
- And in addition to that...␊
- ␊
- \`\`\`text␊
- This code block is both indented␊
- and fenced and should *also* error.␊
- \`\`\`␊
- ␊
- And finally:␊
- ␊
- \`\`\`text␊
- This is a code block␊
- ␊
- And this is a code block in a code block and should *not* error␊
- ␊
- More stuff here␊
- \`\`\`␊
- ␊
- all␊
- ␊
- {MD046:23}␊
- `,
- }
-
-## fenced_code_with_nesting.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 4,
- },
- lineNumber: 4,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 7,
- },
- lineNumber: 6,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 8,
- },
- lineNumber: 8,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 11,
- },
- lineNumber: 10,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 12,
- },
- lineNumber: 12,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 17,
- },
- lineNumber: 16,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 18,
- },
- lineNumber: 18,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 23,
- },
- lineNumber: 22,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 24,
- },
- lineNumber: 24,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 31,
- },
- lineNumber: 30,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 32,
- },
- lineNumber: 32,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 39,
- },
- lineNumber: 38,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 40,
- },
- lineNumber: 40,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 44,
- },
- lineNumber: 43,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 45,
- },
- lineNumber: 45,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 49,
- },
- lineNumber: 48,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '````fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 50,
- },
- lineNumber: 50,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '````',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 55,
- },
- lineNumber: 54,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 56,
- },
- lineNumber: 56,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 61,
- },
- lineNumber: 60,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '````fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 62,
- },
- lineNumber: 62,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '`````',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 67,
- },
- lineNumber: 66,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~~fence',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 68,
- },
- lineNumber: 68,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '~~~~~',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 73,
- },
- lineNumber: 72,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 8,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 32,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 45,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 56,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: backtick; Actual: tilde',
- errorRange: null,
- fixInfo: null,
- lineNumber: 68,
- ruleDescription: 'Code fence style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md048.md',
- ruleNames: [
- 'MD048',
- 'code-fence-style',
- ],
- },
- ],
- fixed: `# heading␊
- ␊
- text {MD031:4}␊
- ␊
- \`\`\`fence␊
- code {MD031:6}␊
- \`\`\`␊
- ␊
- text {MD031:8} {MD048:8}␊
- ␊
- ~~~fence␊
- code␊
- ~~~␊
- ␊
- text {MD031:10} {MD031:12}␊
- ␊
- \`\`\`fence␊
- ~~~fence␊
- code␊
- ~~~␊
- \`\`\`␊
- ␊
- text {MD031:16} {MD031:18} {MD048:18}␊
- ␊
- ~~~fence␊
- \`\`\`fence␊
- code␊
- \`\`\`␊
- ~~~␊
- ␊
- text {MD031:22} {MD031:24}␊
- ␊
- \`\`\`fence␊
- ␊
- ~~~fence␊
- code␊
- ~~~␊
- ␊
- \`\`\`␊
- ␊
- text {MD031:30} {MD031:32} {MD048:32}␊
- ␊
- ~~~fence␊
- ␊
- \`\`\`fence␊
- code␊
- \`\`\`␊
- ␊
- ~~~␊
- ␊
- text {MD031:38} {MD031:40}␊
- ␊
- \`\`\`fence␊
- code␊
- ~~~␊
- \`\`\`␊
- ␊
- text {MD031:43} {MD031:45} {MD048:45}␊
- ␊
- ~~~fence␊
- code␊
- \`\`\`␊
- ~~~␊
- ␊
- text {MD031:48} {MD031:50}␊
- ␊
- \`\`\`\`fence␊
- \`\`\`fence␊
- code␊
- \`\`\`␊
- \`\`\`\`␊
- ␊
- text {MD031:54} {MD031:56} {MD048:56}␊
- ␊
- ~~~~fence␊
- ~~~fence␊
- code␊
- ~~~␊
- ~~~~␊
- ␊
- text {MD031:60} {MD031:62}␊
- ␊
- \`\`\`\`fence␊
- \`\`\`fence␊
- code␊
- \`\`\`␊
- \`\`\`\`\`␊
- ␊
- text {MD031:66} {MD031:68} {MD048:68}␊
- ␊
- ~~~~fence␊
- ~~~fence␊
- code␊
- ~~~␊
- ~~~~~␊
- ␊
- text {MD031:72}␊
- `,
- }
-
-## fenced_code_without_blank_lines.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 12,
- },
- lineNumber: 12,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 15,
- },
- lineNumber: 14,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 20,
- },
- lineNumber: 19,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: '```',
- errorDetail: null,
- errorRange: null,
- fixInfo: {
- insertText: `␊
- `,
- lineNumber: 23,
- },
- lineNumber: 23,
- ruleDescription: 'Fenced code blocks should be surrounded by blank lines',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md031.md',
- ruleNames: [
- 'MD031',
- 'blanks-around-fences',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: [
- 3,
- 1,
- ],
- fixInfo: {
- editColumn: 4,
- insertText: `␊
- `,
- },
- lineNumber: 47,
- 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',
- ],
- },
- ],
- fixed: `\`\`\`␊
- code at start of file␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`ruby␊
- code␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`␊
- code␊
- \`\`\`␊
- ␊
- text {MD031:12} {MD031:14}␊
- ␊
- \`\`\`␊
- code␊
- \`\`\`␊
- ␊
- text {MD031:19}␊
- ␊
- text {MD031:23}␊
- ␊
- \`\`\`␊
- code␊
- \`\`\`␊
- ␊
- text␊
- ␊
- \`\`\`js␊
- code␊
- code␊
- code␊
- \`\`\`␊
- ␊
- \`\`\`html␊
- \`\`\`␊
- ␊
- text␊
- ␊
- ␊
- ␊
- \`\`\`␊
- code at end of file without newline {MD047:47}␊
- \`\`\`␊
- `,
- }
-
-## first_heading_bad_atx.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `## Heading␊
- ␊
- ␊
- `,
- }
-
-## first_heading_bad_setext.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `Heading␊
- -------␊
- ␊
- ␊
- `,
- }
-
-## first_heading_good_atx.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading␊
- `,
- }
-
-## first_heading_good_setext.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `Heading␊
- =======␊
- `,
- }
-
-## first_line_top_level_heading_atx.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# First line is a top level heading␊
- ␊
- This shouldn't trigger MD041␊
- `,
- }
-
-## first_line_top_level_heading_setext.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `First line top level heading␊
- ============================␊
- ␊
- This shouldn't trigger MD041␊
- `,
- }
-
-## fix_102_extra_nodes_in_link_text.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# fix_102_extra_nodes_in_link_text␊
- ␊
- [test _test_ test](www.test.com)␊
- [test \`test\` test](www.test.com)␊
- [test *test* test](www.test.com)␊
- [test *test* *test* test](www.test.com)␊
- [test *test* *test* *test* test](www.test.com)␊
- [test **test** test](www.test.com)␊
- [test __test__ test](www.test.com)␊
- [this should not raise](www.shouldnotraise.com)␊
- ␊
- ␊
- `,
- }
-
-## 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',
- ],
- },
- ],
- fixed: `---␊
- front: matter␊
- ignore: this␊
- ---␊
- # Fixing with Front Matter {MD022}␊
- ␊
- Text text text {MD009}␊
- ␊
- Text [link](url) text {MD039}␊
- ␊
- ## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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.␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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.␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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).␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
-
␊
- ␊
-
{MD033}␊
- ␊
- ␊
-
␊
- ␊
-
{MD033}␊
-
{MD033}␊
- ␊
-
␊
-
{MD033}␊
-
{MD033}␊
- ␊
-
{MD033}␊
-
{MD033}␊
-
␊
-
{MD033}␊
-
{MD033}␊
-
␊
-
{MD033}␊
-
{MD033}␊
-
␊
-
{MD033}␊
-
{MD033}␊
-
␊
-
{MD033}␊
-
{MD033}␊
- `,
- }
-
-## front-matter-yaml-in-html-comment.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `␊
- ␊
- # 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 ␊
- ␊
- 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.␊
- ␊
- ␊
- `,
- }
-
-## h1-as-top-level-heading.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `H1 as Top-Level Heading
␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## h1-image-as-top-level-heading.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## h2-as-top-level-heading.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `H2 as Top-Level Heading
␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## h3-as-top-level-heading.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '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 as Top-Level Heading {MD041}
␊
- ␊
- Text␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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: '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}␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
-
␊
- # Not heading␊
-
␊
- ␊
- ␊
- `,
- }
-
-## heading_mutliple_h1_no_toplevel.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `Some introductory text␊
- ␊
- # Heading 1␊
- ␊
- # Heading 2␊
- ␊
- ␊
- `,
- }
-
-## 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?␊
- ␊
- ␊
- ␊
- ## 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.␊
- ␊
- ␊
- `,
- }
-
-## heading_trailing_punctuation_empty.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Heading Trailing Punctuation␊
- ␊
- ## Heading .␊
- ␊
- ## Heading ,␊
- ␊
- ## Heading ;␊
- ␊
- ## Heading :␊
- ␊
- ## Heading !␊
- ␊
- ## Heading ?␊
- ␊
- ␊
- `,
- }
-
-## 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:␊
- ␊
- ␊
- ␊
- ## 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␊
- ␊
- ␊
- ␊
- ## 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} ##␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- ␊
- ␊
- #␊
- ␊
- # ␊
- ␊
- # ␊
- ␊
- # ␊
- ␊
- ##␊
- ␊
- ## ␊
- ␊
- ## ␊
- ␊
- ## ␊
- ␊
- {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}␊
- ␊
- ␊
- ###### Not heading␊
-
␊
- ␊
- ␊
- `,
- }
-
-## 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} ####␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- ␊
- - 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}␊
- ␊
- ␊
- ␊
- - 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}␊
- ␊
- ␊
- ␊
- - 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## html-comment-in-code-and-table.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '`{MD038} `',
- errorDetail: null,
- errorRange: [
- 1,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 2,
- insertText: '{MD038}',
- },
- 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: [
- 3,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 4,
- insertText: '{MD038}',
- },
- 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: [
- 3,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 4,
- insertText: '{MD038}',
- },
- 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: [
- 5,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 6,
- insertText: '{MD038}',
- },
- 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}\`␊
- ␊
- ␊
- ␊
- \`\`\`text␊
- ␊
- \`\`\`␊
- ␊
- ␊
- ␊
- | Table |␊
- |------------|␊
- | \`{MD038}\` |␊
- ␊
- * item␊
- ␊
- \`{MD038}\`␊
- ␊
- * item␊
- ␊
- ␊
- ␊
- * item␊
- ␊
- \`\`\`text␊
- ␊
- \`\`\`␊
- ␊
- * item␊
- ␊
- ␊
- ␊
- * item␊
- ␊
- | Table |␊
- |------------|␊
- | \`{MD038}\` |␊
- ␊
- ␊
- `,
- }
-
-## html-comment-in-list-item.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# HTML Comment in List Item␊
- ␊
- - item␊
- ␊
- ␊
- ␊
- - item␊
- ␊
- x␊
- ␊
- - item␊
- ␊
- x␊
- ␊
- - item␊
- ␊
- xx␊
- ␊
- - item␊
- ␊
- \`\`\`html␊
- ␊
- \`\`\`␊
- ␊
- - item␊
- ␊
- \`\`\`html␊
- x␊
- \`\`\`␊
- ␊
- - item␊
- ␊
- \`\`\`html␊
- x␊
- \`\`\`␊
- ␊
- - item␊
- ␊
- \`\`\`html␊
- xx␊
- \`\`\`␊
- ␊
- - item␊
- `,
- }
-
-## html-comment-in-markdown-table.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '`{MD038} `',
- errorDetail: null,
- errorRange: [
- 3,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 4,
- insertText: '{MD038}',
- },
- 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: [
- 3,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 4,
- insertText: '{MD038}',
- },
- 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: [
- 3,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 4,
- insertText: '{MD038}',
- },
- 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: [
- 11,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 12,
- insertText: '{MD038}',
- },
- 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: [
- 11,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 12,
- insertText: '{MD038}',
- },
- 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: [
- 11,
- 10,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 12,
- insertText: '{MD038}',
- },
- 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␊
- ␊
- \`\`\`␊
- ␊
- | Table |␊
- |-------|␊
- | |␊
- ␊
- | Table |␊
- |------------|␊
- | |␊
- ␊
- | Table |␊
- |----------------|␊
- | |␊
- | cell |␊
- ␊
- | Table |␊
- |----------------|␊
- | |␊
- | cell |␊
- ␊
- | Table | Table |␊
- |-------|-------|␊
- | cell | |␊
- ␊
- | Table | Table |␊
- |-------|------------|␊
- | cell | |␊
- ␊
- | Table | Table |␊
- |-------|----------------|␊
- | cell | |␊
- | cell | cell |␊
- ␊
- | Table | Table |␊
- |-------|----------------|␊
- | cell | |␊
- | cell | cell |␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- ␊
- ␊
- ␊
- text␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- *text * -->␊
- ␊
- *text * -->␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ## Inline Comments␊
- ␊
- ␊
- ␊
- t␊
- ␊
- ttext␊
- ␊
- t␊
- ␊
- t␊
- ␊
- t␊
- ␊
- t␊
- ␊
- t *{MD037}* -->␊
- ␊
- t *{MD037}* -->␊
- ␊
- t␊
- ␊
- t␊
- ␊
- t␊
- `,
- }
-
-## 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␊
- ␊
- Block block {MD033}␊
- ␊
- Text inline inline {MD033} text␊
- ␊
- Text␊
- ␊
- Block block␊
- ␊
- Text inline inline text␊
- ␊
- Text␊
- ␊
- ␊
- Block {MD033:17}␊
- block block {MD033} block␊
- block␊
- block block block␊
- block␊
- block block block block block {MD033}␊
- block block block block block {MD033}␊
-
␊
- ␊
- Text␊
- ␊
- Block block {MD033}␊
- ␊
- Text inline inline {MD033} text␊
- ␊
- Text␊
- ␊
- Block block {MD033}␊
- ␊
- Text inline inline {MD033} text␊
- ␊
- Text␊
- ␊
- Text inline text inline text inline text {MD033}␊
- ␊
- Text inline text inline text inline {MD033}␊
- ␊
- Text␊
- ␊
- \\Block block\\␊
- ␊
- \\\\Block block {MD033}\\\\␊
- ␊
- Block block␊
- ␊
- Text \\inline inline\\ text␊
- ␊
- Text \\\\inline inline {MD033}\\\\ text␊
- ␊
- Text inline inline text␊
- ␊
- Text␊
- ␊
- > Text inline inline {MD033} text␊
- > text inline inline text␊
- ␊
- Text␊
- ␊
- Text inline inline text␊
- text inline inline text␊
- ␊
- Text␊
- ␊
- \`\`\`html␊
- Text inline inline text␊
- text inline inline text␊
- \`\`\`␊
- ␊
- Text␊
- ␊
- \`\`␊
- ␊
- Text \`\`\`\` text␊
- ␊
- Text \`\` text \`\`\`\` text \`\`\`\`\`\` text␊
- ␊
- Text \`\` text inline {MD033} text␊
- ␊
- Text \`\`text text\`\` text␊
- ␊
- Text␊
- ␊
- Text inline {MD033} text␊
- text text {MD033}␊
- ␊
- Text␊
- ␊
- is an email autolink.␊
- ␊
- Another email autolink: .␊
- ␊
- Text␊
- ␊
- is an HTML element. {MD033}␊
- ␊
- But is not an autolink or HTML element.␊
- And neither is .␊
- Nor <123abc>.␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- {MD033:109}␊
- ␊
- ␊
- ␊
- - Item␊
- ␊
- ␊
- {MD033:116}␊
- ␊
- ␊
- ␊
- {MD033:120}␊
- ␊
- Text text.␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- Text comment␊
- Hard tab {MD010}␊
- --> text␊
- ␊
- Text␊
- ␊
- Text {MD009}␊
- ␊
- Text␊
- ␊
- Text␊
- ␊
- Text {MD009}␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- -----------------␊
- ␊
- ␊
- `,
- }
-
-## 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}␊
- -----------------␊
- ␊
- ␊
- `,
- }
-
-## 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␊
- ---------␊
- ␊
- ␊
- `,
- }
-
-## 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- 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}␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- hard tab␊
- space *in* emphasis {MD037}␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- hard tab␊
- space *in* emphasis {MD037}␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in* emphasis {MD037}␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab␊
- space *in * emphasis␊
- space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab {MD010}␊
- space *in* emphasis {MD037}␊
- space \`in \` code␊
- ␊
- ␊
- `,
- }
-
-## 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.␊
- ␊
- ␊
- `,
- }
-
-## inline-configure-file-multiple-instances.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: 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: 30,
- ruleDescription: 'Horizontal rule style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
- ruleNames: [
- 'MD035',
- 'hr-style',
- ],
- },
- ],
- fixed: `# Inline Configure File Multiple Instances␊
- ␊
- ***␊
- {MD035:3}␊
- ␊
- Trailing spaces: ␊
- ␊
- ␊
- ␊
- ***␊
- {MD035:17}␊
- ␊
- Trailing spaces: ␊
- ␊
- ␊
- ␊
- ***␊
- {MD035:30}␊
- ␊
- Trailing spaces: ␊
- `,
- }
-
-## inline-configure-file-multiple-lines.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: 17,
- ruleDescription: 'Horizontal rule style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md035.md',
- ruleNames: [
- 'MD035',
- 'hr-style',
- ],
- },
- ],
- fixed: `# Inline Configure File Multiple Lines␊
- ␊
- ***␊
- {MD035:3}␊
- ␊
- Trailing spaces: ␊
- ␊
- ␊
- ␊
- ***␊
- {MD035:17}␊
- ␊
- Trailing spaces: ␊
- `,
- }
-
-## inline-configure-file-single-line.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: 70; Actual: 78',
- errorRange: [
- 71,
- 8,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: 70; Actual: 85',
- errorRange: [
- 71,
- 15,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Line length',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md',
- ruleNames: [
- 'MD013',
- 'line-length',
- ],
- },
- ],
- fixed: `# Inline Configure File Single Line␊
- ␊
- Not normally too long of a line, but it is here from an inline config. {MD013}␊
- ␊
- {MD013}␊
- `,
- }
-
-## inline-configure-file-violations.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '* w',
- errorDetail: null,
- errorRange: [
- 10,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- },
- lineNumber: 3,
- 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: 'h *',
- errorDetail: null,
- errorRange: [
- 15,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 16,
- },
- lineNumber: 3,
- 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: `# Inline Configure File Violations␊
- ␊
- Emphasis *with* spaces {MD037}␊
- ␊
- Trailing spaces: ␊
- ␊
- ␊
- `,
- }
-
-## inline-disable-enable-file.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- 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: 'n *',
- errorDetail: null,
- errorRange: [
- 9,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 10,
- },
- lineNumber: 5,
- 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: 13,
- 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: 21,
- 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: '`in `',
- errorDetail: null,
- errorRange: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- lineNumber: 23,
- 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: [
- 7,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 8,
- insertText: 'in',
- },
- lineNumber: 32,
- 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: `# Heading␊
- ␊
- hard tab {MD010}␊
- ␊
- space *in* emphasis {MD037}␊
- ␊
- space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab␊
- ␊
- space *in* emphasis {MD037}␊
- ␊
- space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab␊
- ␊
- space *in* emphasis {MD037}␊
- ␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- ␊
- hard tab␊
- ␊
- space *in* emphasis {MD037}␊
- ␊
- space \`in\` code {MD038}␊
- ␊
- ␊
- `,
- }
-
-## inline-disable-enable.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- 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: 11,
- 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: 19,
- 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: 27,
- 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: 35,
- 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: 43,
- 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: 45,
- 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: 47,
- 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: 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: 55,
- 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: 61,
- 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: 67,
- 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: 73,
- 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: 77,
- 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: 79,
- 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: 85,
- 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: 93,
- 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: 95,
- 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: 97,
- 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: 99,
- 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: 101,
- ruleDescription: 'Hard tabs',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md',
- ruleNames: [
- 'MD010',
- 'no-hard-tabs',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Element: b',
- errorRange: [
- 10,
- 3,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Inline HTML',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
- ruleNames: [
- 'MD033',
- 'no-inline-html',
- ],
- },
- {
- errorContext: 'n *',
- errorDetail: null,
- errorRange: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 3,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 11,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 15,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 19,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 23,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 27,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 31,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 35,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 39,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 43,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 47,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 52,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 55,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 61,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 64,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 67,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 73,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 76,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 77,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 79,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 81,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 82,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 84,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 85,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 87,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 89,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 90,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 93,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 95,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 97,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 99,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 100,
- 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: [
- 28,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 29,
- },
- lineNumber: 101,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 103,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 104,
- 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: [
- 20,
- 3,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 21,
- },
- lineNumber: 105,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- 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: '`in `',
- errorDetail: null,
- errorRange: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 11,
- 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: [
- 49,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 50,
- insertText: 'in',
- },
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- 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: '`in `',
- errorDetail: null,
- errorRange: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 27,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 35,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 43,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 47,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- 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',
- ],
- },
- {
- errorContext: '`in `',
- errorDetail: null,
- errorRange: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 55,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 61,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 67,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 73,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 76,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 77,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 79,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 82,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 85,
- 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: [
- 49,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 50,
- insertText: 'in',
- },
- lineNumber: 87,
- 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: [
- 49,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 50,
- insertText: 'in',
- },
- 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',
- ],
- },
- {
- errorContext: '`in `',
- errorDetail: null,
- errorRange: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 93,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 95,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 97,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 99,
- 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: [
- 57,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 58,
- insertText: 'in',
- },
- lineNumber: 101,
- 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: [
- 49,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 50,
- insertText: 'in',
- },
- lineNumber: 103,
- 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: [
- 49,
- 5,
- ],
- fixInfo: {
- deleteCount: 3,
- editColumn: 50,
- insertText: 'in',
- },
- lineNumber: 105,
- 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: `# Heading␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab / space *in * emphasis / space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- before after␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- ␊
- beforeafter␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab {MD010} ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- hard tab / space *in * emphasis / space \`in \` code␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in \` code␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- embedded {MD033} HTML␊
- ␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in * emphasis / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in * emphasis / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- hard tab / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in * emphasis / space \`in \` code ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in * emphasis / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in * emphasis / space \`in \` code␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code ␊
- hard tab {MD010} / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- hard tab / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- hard tab / space *in* emphasis {MD037} / space \`in \` code␊
- hard tab / space *in* emphasis {MD037} / space \`in\` code {MD038}␊
- ␊
- `,
- }
-
-## inline_html-allowed_elements.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Element: h2',
- 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: h2',
- errorRange: [
- 10,
- 4,
- ],
- fixInfo: null,
- lineNumber: 9,
- 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: h2',
- errorRange: [
- 10,
- 4,
- ],
- fixInfo: null,
- lineNumber: 11,
- 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: br',
- errorRange: [
- 1,
- 4,
- ],
- 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: br',
- 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: br',
- errorRange: [
- 1,
- 5,
- ],
- fixInfo: null,
- lineNumber: 21,
- 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: br',
- errorRange: [
- 1,
- 6,
- ],
- 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: br',
- errorRange: [
- 1,
- 15,
- ],
- 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: br',
- errorRange: [
- 1,
- 16,
- ],
- fixInfo: null,
- lineNumber: 27,
- 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: br',
- errorRange: [
- 1,
- 23,
- ],
- 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: br',
- errorRange: [
- 1,
- 24,
- ],
- 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: article',
- errorRange: [
- 1,
- 9,
- ],
- 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: article',
- errorRange: [
- 1,
- 9,
- ],
- fixInfo: null,
- lineNumber: 42,
- 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: br',
- errorRange: [
- 1,
- 5,
- ],
- fixInfo: null,
- lineNumber: 46,
- 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: Article',
- errorRange: [
- 1,
- 9,
- ],
- fixInfo: null,
- lineNumber: 50,
- 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: Br',
- errorRange: [
- 1,
- 5,
- ],
- fixInfo: null,
- lineNumber: 54,
- ruleDescription: 'Inline HTML',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
- ruleNames: [
- 'MD033',
- 'no-inline-html',
- ],
- },
- ],
- fixed: `# inline_html-allowed_elements␊
- ␊
- This is allowed.
␊
- ␊
- This is not allowed. {MD033}
␊
- ␊
- This is allowed.
␊
- ␊
- This is not
allowed. {MD033}
␊
- ␊
- This is not
allowed. {MD033}
␊
- ␊
-
␊
- ␊
-
␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
- ␊
- This is allowed.␊
-
␊
- ␊
- {MD033}␊
- This is not allowed.␊
- ␊
- ␊
- ␊
- {MD033}␊
- This is not allowed.␊
- ␊
-
␊
-
{MD033}␊
- ␊
- ␊
- ␊
- {MD033}␊
- This is not allowed.␊
- ␊
-
␊
-
{MD033}␊
- ␊
- ␊
- ␊
- `,
- }
-
-## inline_html.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Element: h1',
- errorRange: [
- 1,
- 4,
- ],
- 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',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Element: p',
- errorRange: [
- 1,
- 3,
- ],
- 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: element',
- errorRange: [
- 12,
- 9,
- ],
- fixInfo: null,
- lineNumber: 79,
- 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,
- 4,
- ],
- fixInfo: null,
- lineNumber: 88,
- 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: 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: a',
- errorRange: [
- 1,
- 30,
- ],
- fixInfo: null,
- lineNumber: 94,
- 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: [
- 1,
- 46,
- ],
- fixInfo: null,
- lineNumber: 96,
- 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: [
- 1,
- 51,
- ],
- fixInfo: null,
- lineNumber: 98,
- 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: element',
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: null,
- lineNumber: 122,
- 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: link-with',
- errorRange: [
- 4,
- 11,
- ],
- fixInfo: null,
- lineNumber: 124,
- 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: reference',
- errorRange: [
- 16,
- 11,
- ],
- fixInfo: null,
- lineNumber: 128,
- 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: reference',
- errorRange: [
- 16,
- 11,
- ],
- fixInfo: null,
- lineNumber: 130,
- ruleDescription: 'Inline HTML',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
- ruleNames: [
- 'MD033',
- 'no-inline-html',
- ],
- },
- {
- errorContext: '`code Inline HTML Heading {MD033}␊
- ␊
- More inline HTML {MD033}␊
- but this time on multiple lines␊
-
␊
- ␊
- This shouldn't trigger as it's inside a code block
␊
- ␊
- \`\`\`text␊
- Neither should this as it's also in a code block {MD046:11}
␊
- \`\`\`␊
- ␊
- ## Elements in code spans␊
- ␊
- Text \`\` text \\\` text␊
- Text \\\` text \`\` text␊
- Text \\\` text \\\` text \`\` text␊
- Text \\\` text \`\` text \`\` text␊
- Text \\\` text \`\` text \\\` text \`\` text␊
- Text \\\`\\\` text \`\` text␊
- Text \`\` text \\\` text \`\` text␊
- ␊
- ## Elements in multiple line code spans␊
- ␊
- Text \`code␊
- \`␊
- ␊
- \`code␊
- \`␊
- ␊
- \`code␊
- \` text␊
- ␊
- Text \`code␊
- code␊
- ␊
- \`␊
- ␊
- \`\`code \`\`\` \`\`\`\` \`␊
- code␊
-
\`\`␊
- ␊
- Text \`code␊
-
␊
- code\` text␊
- ␊
- Text \`code code␊
- code \` text␊
- ␊
- Text \`code ␊
- code code\` text␊
- ␊
- Text \`code code␊
- code code␊
- code code\` text␊
- ␊
- Text \`\`\`\`code code␊
- code code␊
- code code\`\`\`\` text␊
- ␊
- Text \`code code␊
- code \` text␊
- text \`code code␊
- code code\` text␊
- ␊
- Text \`code code␊
- code code\` text␊
- text \`code code␊
- code \` text␊
- ␊
- Text \`code code␊
- code \` text␊
- text \`code code␊
- code \` text␊
- ␊
- Text \`code code␊
- code\` text text \`code {MD033}␊
- code code\` text␊
- ␊
- ## Slash in element name␊
- ␊
- Text **\\\\another\\directory\\\\** text␊
- ␊
- ## Self-closing elements␊
- ␊
-
{MD033}␊
- ␊
-
{MD033}␊
- ␊
- ## Links␊
- ␊
- Google {MD033}␊
- ␊
- Google {MD033}␊
- ␊
- Google {MD033}␊
- ␊
- ## Unterminated code span followed by element in code span␊
- ␊
- Text text \`text text␊
- ␊
- Text \`\` text␊
- ␊
- Text␊
- text \`text␊
- text␊
- ␊
- Text \`code code\` text␊
- ␊
- Text \`code code\` text {MD038}␊
- ␊
- \`\`\`lang␊
- code {MD046:114}␊
- ␊
- ␊
- \`\`\`␊
- ␊
- Text \`code code\` text␊
- ␊
- Text text {MD033}␊
- ␊
- A [][a-reference] is problematic. {MD033}␊
- ␊
- A [link with][a-] is okay.␊
- ␊
- A link with [a-][] is problematic. {MD033}␊
- ␊
- A link with [a-] is problematic. {MD033}␊
- ␊
- [a-reference]: https://example.com/␊
- [a-]: https://example.com/␊
- `,
- }
-
-## invalid-ul-style-style.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: 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: [
- 1,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 1,
- insertText: '-',
- },
- lineNumber: 6,
- 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: 7,
- ruleDescription: 'Unordered list style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md',
- ruleNames: [
- 'MD004',
- 'ul-style',
- ],
- },
- ],
- fixed: `# Invalid ul-style style␊
- ␊
- - Item {MD004}␊
- - Item {MD004}␊
- ␊
- - Item {MD004}␊
- - Item {MD004}␊
- ␊
- - Item␊
- - Item␊
- ␊
- ␊
- `,
- }
-
-## jekyll_post.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: h2; Actual: h3',
- errorRange: null,
- fixInfo: null,
- lineNumber: 16,
- 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: 'heading1 {MD025}',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 12,
- 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: Hello World!␊
- category: Meta␊
- tags:␊
- - tag␊
- - another tag␊
- - one more tag␊
- url: https://example.com␊
- excerpt: Hello World! Vestibulum imperdiet adipiscing arcu, quis aliquam dolor condimentum dapibus. Aliquam fermentum leo aliquet quam volutpat et molestie mauris mattis. Suspendisse semper consequat velit in suscipit.␊
- ---␊
- # heading1 {MD025}␊
- ␊
- This is just a sample post.␊
- ␊
- ### offending heading3 {MD001}␊
- `,
- }
-
-## jekyll_post_2.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: 'Expected: h2; Actual: h3',
- errorRange: null,
- fixInfo: null,
- lineNumber: 17,
- 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: 'header1 {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: `---␊
- layout: post␊
- title: Hello World!␊
- category: Meta␊
- tags:␊
- - tag␊
- - another tag␊
- - one more tag␊
- url: http://example.com␊
- excerpt: Hello World! Vestibulum imperdiet adipiscing arcu, quis aliquam dolor condimentum dapibus. Aliquam fermentum leo aliquet quam volutpat et molestie mauris mattis. Suspendisse semper consequat velit in suscipit.␊
- ---␊
- ␊
- # header1 {MD025}␊
- ␊
- This is just a sample post.␊
- ␊
- ### offending header3 {MD001}␊
- `,
- }
-
-## line-breaks-inside-code-spans.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '` code {MD038}',
- errorDetail: null,
- errorRange: [
- 6,
- 14,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 7,
- insertText: 'code {MD038}',
- },
- lineNumber: 33,
- 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: 'span `',
- errorDetail: null,
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 1,
- insertText: 'span',
- },
- 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',
- ],
- },
- {
- errorContext: '` code {MD038}',
- errorDetail: null,
- errorRange: [
- 6,
- 14,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 7,
- insertText: 'code {MD038}',
- },
- lineNumber: 49,
- 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: 'span `',
- errorDetail: null,
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 1,
- insertText: 'span',
- },
- lineNumber: 57,
- 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: 'span `',
- errorDetail: null,
- errorRange: [
- 1,
- 6,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 1,
- insertText: 'span',
- },
- lineNumber: 63,
- 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: '` code {MD038}',
- errorDetail: null,
- errorRange: [
- 6,
- 14,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 7,
- insertText: 'code {MD038}',
- },
- lineNumber: 65,
- 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: 'code code `',
- errorDetail: null,
- errorRange: [
- 1,
- 11,
- ],
- fixInfo: {
- deleteCount: 10,
- editColumn: 1,
- insertText: 'code code',
- },
- lineNumber: 73,
- 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: `# Line breaks inside code spans␊
- ␊
- Text \`code␊
- span\` text.␊
- ␊
- Text \`code␊
- span\` text \`code␊
- span\` text.␊
- ␊
- Text \`code␊
- span\` text \`code␊
- span\` text \`code␊
- span\` text.␊
- ␊
- Text \`code␊
- span␊
- code␊
- span\` text.␊
- ␊
- Text \`code␊
- span\` text \`code span\`␊
- text \`code span\` text.␊
- ␊
- Text \`code␊
- span\` text \`code span\` text␊
- \`code span\` text.␊
- ␊
- \`code␊
- span\` \`span\`␊
- \`span\`␊
- ␊
- Text␊
- text \`code {MD038}␊
- span\` text␊
- text.␊
- ␊
- Text␊
- text \`code␊
- span\` text {MD038}␊
- text.␊
- ␊
- Text␊
- text \`code␊
- span code␊
- span\` text␊
- text.␊
- ␊
- Text␊
- text \`code {MD038}␊
- span code␊
- span\` text␊
- text.␊
- ␊
- Text␊
- text \`code␊
- span code␊
- span\` text {MD038}␊
- text.␊
- ␊
- Text␊
- text \`code␊
- span code␊
- span\` text {MD038}␊
- text␊
- text \`code {MD038}␊
- span code␊
- span\` text␊
- text.␊
- ␊
- "␊
- Text \`code␊
- code code\`text\` {MD038}␊
- `,
- }
-
-## link-fragments-default-case.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[Invalid](#Heading-Name)',
- errorDetail: 'Expected: #heading-name; Actual: #Heading-Name',
- errorRange: [
- 1,
- 24,
- ],
- fixInfo: {
- deleteCount: 13,
- editColumn: 11,
- insertText: '#heading-name',
- },
- lineNumber: 7,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#Valid-Heading-With-Emphasis)',
- errorDetail: 'Expected: #valid-heading-with-emphasis; Actual: #Valid-Heading-With-Emphasis',
- errorRange: [
- 1,
- 39,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 11,
- insertText: '#valid-heading-with-emphasis',
- },
- lineNumber: 13,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#-Valid-Heading-With-Emoji)',
- errorDetail: 'Expected: #-valid-heading-with-emoji; Actual: #-Valid-Heading-With-Emoji',
- errorRange: [
- 1,
- 37,
- ],
- fixInfo: {
- deleteCount: 26,
- editColumn: 11,
- insertText: '#-valid-heading-with-emoji',
- },
- lineNumber: 19,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- ],
- fixed: `# Link Fragments Default Case␊
- ␊
- ## Heading Name␊
- ␊
- [Valid](#heading-name)␊
- ␊
- [Invalid](#heading-name) {MD051}␊
- ␊
- ## Valid *Heading* With _Emphasis_␊
- ␊
- [Valid](#valid-heading-with-emphasis)␊
- ␊
- [Invalid](#valid-heading-with-emphasis) {MD051}␊
- ␊
- ## 🚀 Valid Heading With Emoji␊
- ␊
- [Valid](#-valid-heading-with-emoji)␊
- ␊
- [Invalid](#-valid-heading-with-emoji) {MD051}␊
- ␊
- ␊
- `,
- }
-
-## link-fragments-ignore-case.md
-
-> Snapshot 1
-
- {
- errors: [],
- fixed: `# Link Fragments Ignore Case␊
- ␊
- ## Heading Name␊
- ␊
- [Valid](#heading-name)␊
- ␊
- [Valid](#Heading-Name)␊
- ␊
- ## Valid *Heading* With _Emphasis_␊
- ␊
- [Valid](#valid-heading-with-emphasis)␊
- ␊
- [Valid](#Valid-Heading-With-Emphasis)␊
- ␊
- ## 🚀 Valid Heading With Emoji␊
- ␊
- [Valid](#-valid-heading-with-emoji)␊
- ␊
- [Valid](#-Valid-Heading-With-Emoji)␊
- ␊
- ␊
- `,
- }
-
-## link-fragments.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[Invalid](#valid-heading-is-an-image)',
- errorDetail: null,
- errorRange: [
- 1,
- 37,
- ],
- fixInfo: null,
- lineNumber: 218,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#valid-heading-2004-)',
- errorDetail: null,
- errorRange: [
- 1,
- 31,
- ],
- fixInfo: null,
- lineNumber: 220,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#valid-repeated-heading-3)',
- errorDetail: null,
- errorRange: [
- 1,
- 36,
- ],
- fixInfo: null,
- lineNumber: 222,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#invalid-fragment)',
- errorDetail: null,
- errorRange: [
- 1,
- 28,
- ],
- fixInfo: null,
- lineNumber: 224,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#myname)',
- errorDetail: null,
- errorRange: [
- 1,
- 18,
- ],
- fixInfo: null,
- lineNumber: 226,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#hrefandid)',
- errorDetail: 'Expected: #HREFandID; Actual: #hrefandid',
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: {
- deleteCount: 10,
- editColumn: 11,
- insertText: '#HREFandID',
- },
- lineNumber: 228,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#name-for-other-element)',
- errorDetail: null,
- errorRange: [
- 1,
- 34,
- ],
- fixInfo: null,
- lineNumber: 230,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#name-should-be-ignored)',
- errorDetail: null,
- errorRange: [
- 1,
- 34,
- ],
- fixInfo: null,
- lineNumber: 232,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#not-an-id-should-be-ignored)',
- errorDetail: null,
- errorRange: [
- 1,
- 39,
- ],
- fixInfo: null,
- lineNumber: 234,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: null,
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 236,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[badref]: #missing "{MD051}"',
- errorDetail: null,
- errorRange: [
- 1,
- 28,
- ],
- fixInfo: null,
- lineNumber: 241,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Title](#Valid-Fragments)',
- errorDetail: 'Expected: #valid-fragments; Actual: #Valid-Fragments',
- errorRange: [
- 1,
- 25,
- ],
- fixInfo: {
- deleteCount: 16,
- editColumn: 9,
- insertText: '#valid-fragments',
- },
- lineNumber: 245,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[ALL CAPS](#NAMEDLINK)',
- errorDetail: 'Expected: #namedlink; Actual: #NAMEDLINK',
- errorRange: [
- 1,
- 22,
- ],
- fixInfo: {
- deleteCount: 10,
- editColumn: 12,
- insertText: '#namedlink',
- },
- lineNumber: 247,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: null,
- errorDetail: 'Expected: #namedlink; Actual: #NAMEDLINK',
- errorRange: null,
- fixInfo: null,
- lineNumber: 249,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[mixedref]: #idLINK "{MD051}"',
- errorDetail: 'Expected: #idlink; Actual: #idLINK',
- errorRange: [
- 1,
- 29,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 13,
- insertText: '#idlink',
- },
- lineNumber: 254,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#embedded-space)',
- errorDetail: null,
- errorRange: [
- 1,
- 26,
- ],
- fixInfo: null,
- lineNumber: 289,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#embedded_space)',
- errorDetail: null,
- errorRange: [
- 1,
- 26,
- ],
- fixInfo: null,
- lineNumber: 291,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#embedded)',
- errorDetail: null,
- errorRange: [
- 1,
- 20,
- ],
- fixInfo: null,
- lineNumber: 293,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#hyphen--run)',
- errorDetail: null,
- errorRange: [
- 1,
- 23,
- ],
- fixInfo: null,
- lineNumber: 295,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#hyphen-run)',
- errorDetail: null,
- errorRange: [
- 1,
- 22,
- ],
- fixInfo: null,
- lineNumber: 297,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#named-fragment-outside-heading)',
- errorDetail: null,
- errorRange: [
- 1,
- 42,
- ],
- fixInfo: null,
- lineNumber: 299,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#UpperCase)',
- errorDetail: null,
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: null,
- lineNumber: 301,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#uppercase)',
- errorDetail: null,
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: null,
- lineNumber: 303,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L12-not-a-line-link)',
- errorDetail: 'Expected: #l12-not-a-line-link; Actual: #L12-not-a-line-link',
- errorRange: [
- 1,
- 31,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 11,
- insertText: '#l12-not-a-line-link',
- },
- lineNumber: 305,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#l7)',
- errorDetail: null,
- errorRange: [
- 1,
- 14,
- ],
- fixInfo: null,
- lineNumber: 307,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L)',
- errorDetail: null,
- errorRange: [
- 1,
- 13,
- ],
- fixInfo: null,
- lineNumber: 309,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L7extra)',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: null,
- lineNumber: 311,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C)',
- errorDetail: null,
- errorRange: [
- 1,
- 16,
- ],
- fixInfo: null,
- lineNumber: 313,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30Cextra)',
- errorDetail: null,
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: null,
- lineNumber: 315,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30L12)',
- errorDetail: null,
- errorRange: [
- 1,
- 18,
- ],
- fixInfo: null,
- lineNumber: 317,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C12)',
- errorDetail: null,
- errorRange: [
- 1,
- 18,
- ],
- fixInfo: null,
- lineNumber: 319,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C11-)',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: null,
- lineNumber: 321,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C11-L)',
- errorDetail: null,
- errorRange: [
- 1,
- 20,
- ],
- fixInfo: null,
- lineNumber: 323,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C11-L31C)',
- errorDetail: null,
- errorRange: [
- 1,
- 23,
- ],
- fixInfo: null,
- lineNumber: 325,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#L30C11-C31)',
- errorDetail: null,
- errorRange: [
- 1,
- 22,
- ],
- fixInfo: null,
- lineNumber: 327,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#C30)',
- errorDetail: null,
- errorRange: [
- 1,
- 15,
- ],
- fixInfo: null,
- lineNumber: 329,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#C11-C31)',
- errorDetail: null,
- errorRange: [
- 1,
- 19,
- ],
- fixInfo: null,
- lineNumber: 331,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- {
- errorContext: '[Invalid](#C11-L4C31)',
- errorDetail: null,
- errorRange: [
- 1,
- 21,
- ],
- fixInfo: null,
- lineNumber: 333,
- ruleDescription: 'Link fragments should be valid',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md',
- ruleNames: [
- 'MD051',
- 'link-fragments',
- ],
- },
- ],
- fixed: `# Valid/Invalid Link Fragments␊
- ␊
- ## Valid Fragments␊
- ␊
- [Valid](#validinvalid-link-fragments)␊
- ␊
- [Valid](#valid-fragments)␊
- ␊
- [Valid](#valid-h3-heading)␊
- ␊
- [Valid](#valid-heading-with-underscores-_)␊
- ␊
- [Valid](#valid-heading-with-emphasis)␊
- ␊
- [Valid](#valid-heading-with-code)␊
- ␊
- [Valid](#valid-heading-with-quotes--and-double-quotes-)␊
- ␊
- [Valid](#-valid-heading-with-emoji)␊
- ␊
- [Valid](#valid-heading--with-emoji-2)␊
- ␊
- [Valid](#valid-heading-2010-)␊
- ␊
- [Valid](#valid-heading-2004-%EF%B8%8F)␊
- ␊
- [Valid](#valid-closed-atx-heading)␊
- ␊
- [Valid](#valid-setext-heading)␊
- ␊
- [Valid](#valid-repeated-heading)␊
- ␊
- [Valid](#valid-repeated-heading-1)␊
- ␊
- [Valid](#valid-repeated-heading-2)␊
- ␊
- [Valid](#valid-heading-with-trailing-space-)␊
- ␊
- [Valid](#valid-heading-with-two-trailing-spaces--)␊
- ␊
- [Valid](#valid-heading-with-embedded--comment)␊
- ␊
- [Valid](#the-best-headin-for-testin-quotes)␊
- ␊
- [Valid](#valid-heading-about-lh%C3%B4pitals-rule)␊
- ␊
- [Valid](#valid-heading-about-lhôpitals-rule)␊
- ␊
- [Valid](#en-t%C3%AAte-valide-dans-fran%C3%A7ais-pour-v%C3%A9rification)␊
- ␊
- [Valid](#en-tête-valide-dans-français-pour-vérification)␊
- ␊
- [Valid](#%E6%A0%87%E9%A2%98)␊
- ␊
- [Valid](#标题)␊
- ␊
- [Valid](#valid-heading-is-a-link)␊
- ␊
- [Valid](#valid-heading-has-a-link)␊
- ␊
- [Valid](#valid-heading-is-a-reference-link)␊
- ␊
- [Valid](#valid-heading-has-a-reference-link)␊
- ␊
- [Valid](#valid-heading-has-)␊
- ␊
- [Valid](#valid_heading-escaped_underscores)␊
- ␊
- [Valid](#valid\\_heading\\-escaped\\_underscores)␊
- ␊
- [Valid](#valid-heading-with_embedded_escaping)␊
- ␊
- [Valid](#namedlink)␊
- ␊
- [Valid](#idlink)␊
- ␊
- [Valid](#myident)␊
- ␊
- [Valid](#HREFandID)␊
- ␊
- [Valid](#id-for-other-element)␊
- ␊
- [Valid](#id-after-name)␊
- ␊
- [Valid][goodref]␊
- ␊
- [Valid][escapedref]␊
- ␊
- [Valid](#l12-not-a-line-link)␊
- ␊
- [Valid](#latex-style)␊
- ␊
- [Valid](#area-pi--r2)␊
- ␊
- [Valid](#L7)␊
- ␊
- [Valid](#L30-L31)␊
- ␊
- [Valid](#L3C24-L88)␊
- ␊
- [Valid](#L304-L314C98)␊
- ␊
- [Valid](#L200C4-L3244C2)␊
- ␊
- ### Valid H3 Heading␊
- ␊
- Text␊
- ␊
- ### Valid Heading With Underscores _␊
- ␊
- Text␊
- ␊
- ### Valid *Heading* With _Emphasis_␊
- ␊
- Text␊
- ␊
- ### Valid Heading With \`Code\`␊
- ␊
- Text␊
- ␊
- ### Valid Heading With Quotes ' And Double Quotes "␊
- ␊
- Text␊
- ␊
- ### 🚀 Valid Heading With Emoji␊
- ␊
- Text␊
- ␊
- ### Valid Heading 👀 With Emoji 2␊
- ␊
- Text␊
- ␊
- ### Valid Heading 20.10 ❌␊
- ␊
- Text␊
- ␊
- ### Valid Heading 20.04 ✔️␊
- ␊
- Text␊
- ␊
- ### Valid Closed ATX Heading ###␊
- ␊
- Text␊
- ␊
- Valid Setext Heading␊
- --------------------␊
- ␊
- Text␊
- ␊
- ### Valid Repeated Heading␊
- ␊
- Text␊
- ␊
- ### Valid Repeated Heading␊
- ␊
- Text␊
- ␊
- ### Valid Repeated Heading␊
- ␊
- ### Valid Heading With Trailing Space ␊
- ␊
- ### Valid Heading With Two Trailing Spaces ␊
- ␊
- ### Valid Heading With Embedded Comment␊
- ␊
- ### The "Best" Headin' for Testin' Quotes␊
- ␊
- ### Valid Heading About L'Hôpital's Rule␊
- ␊
- ### En-tête Valide Dans Français Pour Vérification␊
- ␊
- ### 标题␊
- ␊
- ### [Valid Heading Is a Link](https://example.com)␊
- ␊
- ### Valid Heading [Has a Link](https://example.com)␊
- ␊
- ### [Valid Heading Is a Reference Link][goodref]␊
- ␊
- ### Valid Heading [Has a Reference Link][goodref]␊
- ␊
- ### ![Valid Heading Is an Image](https://example.com)␊
- ␊
- ### Valid Heading Has ![an Image](https://example.com)␊
- ␊
- ### Valid_Heading Escaped_Underscores␊
- ␊
- ### Valid Heading\\-With\\_Embedded\\_Escaping␊
- ␊
- ### L12 Not A Line Link␊
- ␊
- ## $\\LaTeX$ Style␊
- ␊
- ## Area: $\\pi * r^2$␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- Text␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- ␊
- [goodref]: #namedlink␊
- ␊
- [escapedref]: #valid\\_heading\\-escaped\\_underscores␊
- ␊
- ## Invalid Fragments␊
- ␊
- [Invalid](#valid-heading-is-an-image) {MD051}␊
- ␊
- [Invalid](#valid-heading-2004-) {MD051}␊
- ␊
- [Invalid](#valid-repeated-heading-3) {MD051}␊
- ␊
- [Invalid](#invalid-fragment) {MD051}␊
- ␊
- [Invalid](#myname) {MD051}␊
- ␊
- [Invalid](#HREFandID) {MD051}␊
- ␊
- [Invalid](#name-for-other-element) {MD051}␊
- ␊
- [Invalid](#name-should-be-ignored) {MD051}␊
- ␊
- [Invalid](#not-an-id-should-be-ignored) {MD051}␊
- ␊
- [Invalid {MD051}](#multi-line␊
- "Title")␊
- ␊
- [Invalid][badref]␊
- ␊
- [badref]: #missing "{MD051}"␊
- ␊
- ## Inconsistent Case Fragments␊
- ␊
- [Title](#valid-fragments) {MD051}␊
- ␊
- [ALL CAPS](#namedlink) {MD051}␊
- ␊
- [Multi-line {MD051}](#NAMEDLINK␊
- "Title")␊
- ␊
- [MiXeD][mixedref]␊
- ␊
- [mixedref]: #idlink "{MD051}"␊
- ␊
- ## Valid Named Fragments␊
- ␊
- [Valid](#named-fragment)␊
- ␊
- [Valid](#valid-heading-with-named-fragment-named-fragment)␊
- ␊
- [Valid](#another_fragment_123)␊
- ␊
- [Valid](#valid-heading-with-another-named-fragment-another_fragment_123)␊
- ␊
- [Valid](#closed-atx)␊
- ␊
- [Valid](#setext)␊
- ␊
- ### Valid Heading with Named Fragment {#named-fragment}␊
- ␊
- ### Valid Heading with Another Named Fragment {#another_fragment_123}␊
- ␊
- ### Valid Closed ATX Heading with Named Fragment {#closed-atx} ###␊
- ␊
- Valid Setext Heading with Named Fragment {#setext}␊
- --------------------------------------------------␊
- ␊
- ## Invalid Named Fragments␊
- ␊
- ### Invalid Heading with Named Fragment {#embedded space}␊
- ␊
- ### Invalid Heading with Named Fragment {#hyphen--run}␊
- ␊
- ### Invalid Heading with Named Fragment {#UpperCase}␊
- ␊
- {#named-fragment-outside-heading}␊
- ␊
- [Invalid](#embedded-space) {MD051}␊
- ␊
- [Invalid](#embedded_space) {MD051}␊
- ␊
- [Invalid](#embedded) {MD051}␊
- ␊
- [Invalid](#hyphen--run) {MD051}␊
- ␊
- [Invalid](#hyphen-run) {MD051}␊
- ␊
- [Invalid](#named-fragment-outside-heading) {MD051}␊
- ␊
- [Invalid](#UpperCase) {MD051}␊
- ␊
- [Invalid](#uppercase) {MD051}␊
- ␊
- [Invalid](#l12-not-a-line-link) {MD051}␊
- ␊
- [Invalid](#l7) {MD051}␊
- ␊
- [Invalid](#L) {MD051}␊
- ␊
- [Invalid](#L7extra) {MD051}␊
- ␊
- [Invalid](#L30C) {MD051}␊
- ␊
- [Invalid](#L30Cextra) {MD051}␊
- ␊
- [Invalid](#L30L12) {MD051}␊
- ␊
- [Invalid](#L30C12) {MD051}␊
- ␊
- [Invalid](#L30C11-) {MD051}␊
- ␊
- [Invalid](#L30C11-L) {MD051}␊
- ␊
- [Invalid](#L30C11-L31C) {MD051}␊
- ␊
- [Invalid](#L30C11-C31) {MD051}␊
- ␊
- [Invalid](#C30) {MD051}␊
- ␊
- [Invalid](#C11-C31) {MD051}␊
- ␊
- [Invalid](#C11-L4C31) {MD051}␊
- ␊
- ␊
- `,
- }
-
-## link-style-autolink-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: {
- deleteCount: 26,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: {
- deleteCount: 34,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: {
- deleteCount: 11,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: null,
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: {
- deleteCount: 46,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: {
- deleteCount: 44,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](',
- },
- lineNumber: 57,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/\\(pa...',
- errorDetail: null,
- errorRange: [
- 6,
- 37,
- ],
- fixInfo: {
- deleteCount: 37,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 59,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/pa(r...',
- errorDetail: null,
- errorRange: [
- 6,
- 37,
- ],
- fixInfo: {
- deleteCount: 37,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 61,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](relative/path)',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: null,
- lineNumber: 63,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](#fragment)',
- errorDetail: null,
- errorRange: [
- 6,
- 16,
- ],
- fixInfo: null,
- lineNumber: 65,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: null,
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Autolink Only␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![text][url] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url][] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url] text {MD054}␊
- ␊
- Text text␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text␊
- ␊
- Text text␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text {MD054}␊
- ␊
- Text [email][] text {MD054}␊
- ␊
- Text [email] text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-autolink-or-inline.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: {
- deleteCount: 11,
- editColumn: 6,
- insertText: '[text](https://example.com)',
- },
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 6,
- insertText: '![text](https://example.com)',
- },
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 6,
- insertText: '[url](https://example.com)',
- },
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 6,
- insertText: '![url](https://example.com)',
- },
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 6,
- insertText: '[url](https://example.com)',
- },
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: {
- deleteCount: 6,
- editColumn: 6,
- insertText: '![url](https://example.com)',
- },
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 6,
- insertText: '[embedded-backslash](https://example.com/embedded\\3backslash)',
- },
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '[backslash-escape](https://example.com/backslash\\[escape)',
- },
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: {
- deleteCount: 25,
- editColumn: 6,
- insertText: '[user@example.com](user@example.com)',
- },
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: {
- deleteCount: 9,
- editColumn: 6,
- insertText: '[email](user@example.com)',
- },
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 6,
- insertText: '[email](user@example.com)',
- },
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Autolink or Inline␊
- ␊
- Text [url](https://example.com) text␊
- ␊
- Text ![url](https://example.com) text␊
- ␊
- Text [url]() text␊
- ␊
- Text ![url]() text␊
- ␊
- Text [url](https://example.com "title") text␊
- ␊
- Text ![url](https://example.com "title") text␊
- ␊
- Text [url](https://example.com␊
- "title") text␊
- ␊
- Text ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text](https://example.com) text {MD054}␊
- ␊
- Text ![text](https://example.com) text {MD054}␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text text␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text␊
- ␊
- Text [embedded-backslash](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [backslash-escape](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text text␊
- ␊
- Text text␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text␊
- ␊
- Text [url]() text␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text␊
- ␊
- Text [url](relative/path) text␊
- ␊
- Text [url](#fragment) text␊
- ␊
- Text text␊
- ␊
- Text [url](https://example.com/an>g) text␊
- ␊
- Text text␊
- ␊
- Text [user@example.com](user@example.com) text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [email](user@example.com) text {MD054}␊
- ␊
- Text [email](user@example.com) text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-autolink-or-reference.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: {
- deleteCount: 26,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: {
- deleteCount: 34,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: {
- deleteCount: 46,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: {
- deleteCount: 44,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](',
- },
- lineNumber: 57,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/\\(pa...',
- errorDetail: null,
- errorRange: [
- 6,
- 37,
- ],
- fixInfo: {
- deleteCount: 37,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 59,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/pa(r...',
- errorDetail: null,
- errorRange: [
- 6,
- 37,
- ],
- fixInfo: {
- deleteCount: 37,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 61,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](relative/path)',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: null,
- lineNumber: 63,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](#fragment)',
- errorDetail: null,
- errorRange: [
- 6,
- 16,
- ],
- fixInfo: null,
- lineNumber: 65,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Autolink or Reference␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text␊
- ␊
- Text ![text][url] text␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text text␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [embedded-backslash] text␊
- ␊
- Text [backslash-escape] text␊
- ␊
- Text text␊
- ␊
- Text text␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-collapsed-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: null,
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: null,
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: null,
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: null,
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: null,
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: null,
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: null,
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Collapsed Only␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text [url](https://example.com "title") text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text {MD054}␊
- ␊
- Text ![text][url] text {MD054}␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text {MD054}␊
- ␊
- Text ![url] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [embedded-backslash] text {MD054}␊
- ␊
- Text [backslash-escape] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text {MD054}␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text {MD054}␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-full-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: null,
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: null,
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: null,
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: null,
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: null,
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: null,
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Full Only␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text [url](https://example.com "title") text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text␊
- ␊
- Text ![text][url] text␊
- ␊
- Text [url][] text {MD054}␊
- ␊
- Text ![url][] text {MD054}␊
- ␊
- Text [url] text {MD054}␊
- ␊
- Text ![url] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [embedded-backslash] text {MD054}␊
- ␊
- Text [backslash-escape] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text {MD054}␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text {MD054}␊
- ␊
- Text [email] text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-inline-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: {
- deleteCount: 11,
- editColumn: 6,
- insertText: '[text](https://example.com)',
- },
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: {
- deleteCount: 12,
- editColumn: 6,
- insertText: '![text](https://example.com)',
- },
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 6,
- insertText: '[url](https://example.com)',
- },
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: {
- deleteCount: 8,
- editColumn: 6,
- insertText: '![url](https://example.com)',
- },
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: {
- deleteCount: 5,
- editColumn: 6,
- insertText: '[url](https://example.com)',
- },
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: {
- deleteCount: 6,
- editColumn: 6,
- insertText: '![url](https://example.com)',
- },
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: {
- deleteCount: 21,
- editColumn: 6,
- insertText: '[https://example.com](https://example.com)',
- },
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 6,
- insertText: '[embedded-backslash](https://example.com/embedded\\3backslash)',
- },
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '[backslash-escape](https://example.com/backslash\\[escape)',
- },
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: {
- deleteCount: 30,
- editColumn: 6,
- insertText: '[https://example.com/pa)re(ns](https://example.com/pa\\)re\\(ns)',
- },
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '[user@example.com](user@example.com)',
- },
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: {
- deleteCount: 25,
- editColumn: 6,
- insertText: '[user@example.com](user@example.com)',
- },
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: {
- deleteCount: 9,
- editColumn: 6,
- insertText: '[email](user@example.com)',
- },
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: {
- deleteCount: 7,
- editColumn: 6,
- insertText: '[email](user@example.com)',
- },
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Inline Only␊
- ␊
- Text [url](https://example.com) text␊
- ␊
- Text ![url](https://example.com) text␊
- ␊
- Text [url]() text␊
- ␊
- Text ![url]() text␊
- ␊
- Text [url](https://example.com "title") text␊
- ␊
- Text ![url](https://example.com "title") text␊
- ␊
- Text [url](https://example.com␊
- "title") text␊
- ␊
- Text ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text](https://example.com) text {MD054}␊
- ␊
- Text ![text](https://example.com) text {MD054}␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [https://example.com](https://example.com) text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text␊
- ␊
- Text [embedded-backslash](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [backslash-escape](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [https://example.com/embedded\\3backslash](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [https://example.com/backslash\\[no-escape](https://example.com/backslash[no-escape) text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text␊
- ␊
- Text [url]() text␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text␊
- ␊
- Text [url](relative/path) text␊
- ␊
- Text [url](#fragment) text␊
- ␊
- Text [https://example.com/pa)re(ns](https://example.com/pa\\)re\\(ns) text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com](user@example.com)␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [email](user@example.com) text {MD054}␊
- ␊
- Text [email](user@example.com) text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-inline-or-reference.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: {
- deleteCount: 21,
- editColumn: 6,
- insertText: '[https://example.com](https://example.com)',
- },
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: {
- deleteCount: 30,
- editColumn: 6,
- insertText: '[https://example.com/pa)re(ns](https://example.com/pa\\)re\\(ns)',
- },
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '[user@example.com](user@example.com)',
- },
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Inline or Reference␊
- ␊
- Text [url](https://example.com) text␊
- ␊
- Text ![url](https://example.com) text␊
- ␊
- Text [url]() text␊
- ␊
- Text ![url]() text␊
- ␊
- Text [url](https://example.com "title") text␊
- ␊
- Text ![url](https://example.com "title") text␊
- ␊
- Text [url](https://example.com␊
- "title") text␊
- ␊
- Text ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text␊
- ␊
- Text ![text][url] text␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text [https://example.com](https://example.com) text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text␊
- ␊
- Text [embedded-backslash] text␊
- ␊
- Text [backslash-escape] text␊
- ␊
- Text [https://example.com/embedded\\3backslash](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [https://example.com/backslash\\[no-escape](https://example.com/backslash[no-escape) text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text␊
- ␊
- Text [url]() text␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text␊
- ␊
- Text [url](relative/path) text␊
- ␊
- Text [url](#fragment) text␊
- ␊
- Text [https://example.com/pa)re(ns](https://example.com/pa\\)re\\(ns) text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-no-url-inline-not-possible.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: {
- deleteCount: 21,
- editColumn: 6,
- insertText: '[https://example.com](https://example.com)',
- },
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: {
- deleteCount: 18,
- editColumn: 6,
- insertText: '[user@example.com](user@example.com)',
- },
- lineNumber: 50,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style No URL Inline Not Possible␊
- ␊
- Text [https://example.com](https://example.com) text␊
- ␊
- Text ![https://example.com](https://example.com) text␊
- ␊
- Text [https://example.com]() text␊
- ␊
- Text ![https://example.com]() text␊
- ␊
- Text [https://example.com](https://example.com/page "title") text␊
- ␊
- Text ![https://example.com](https://example.com/page "title") text␊
- ␊
- Text [https://example.com](https://example.com "title") text␊
- ␊
- Text ![https://example.com](https://example.com "title") text␊
- ␊
- Text [https://example.com][url] text␊
- ␊
- Text ![https://example.com][url] text␊
- ␊
- Text [https://example.com][url-title] text␊
- ␊
- Text ![https://example.com][url-title] text␊
- ␊
- Text [https://example.com](https://example.com) text {MD054}␊
- ␊
- [url]: https://example.com␊
- [url-title]: https://example.com "title"␊
- ␊
- Text [link](https://example.com) text␊
- ␊
- Text ![link](https://example.com) text␊
- ␊
- Text [link][url] text␊
- ␊
- Text ![link][url] text␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text [file.md](file.md) text␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-no-url-inline-possible.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[https://example.com](https://...',
- errorDetail: null,
- errorRange: [
- 6,
- 42,
- ],
- fixInfo: {
- deleteCount: 42,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[https://example.com](',
- },
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style No URL Inline Possible␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![https://example.com](https://example.com) text␊
- ␊
- Text text {MD054}␊
- ␊
- Text ![https://example.com]() text␊
- ␊
- Text [https://example.com](https://example.com/page "title") text␊
- ␊
- Text ![https://example.com](https://example.com/page "title") text␊
- ␊
- Text [https://example.com](https://example.com "title") text␊
- ␊
- Text ![https://example.com](https://example.com "title") text␊
- ␊
- Text [https://example.com][url] text␊
- ␊
- Text ![https://example.com][url] text␊
- ␊
- Text [https://example.com][url-title] text␊
- ␊
- Text ![https://example.com][url-title] text␊
- ␊
- Text text␊
- ␊
- [url]: https://example.com␊
- [url-title]: https://example.com "title"␊
- ␊
- Text [link](https://example.com) text␊
- ␊
- Text ![link](https://example.com) text␊
- ␊
- Text [link][url] text␊
- ␊
- Text ![link][url] text␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text [file.md](file.md) text␊
- ␊
- Text text␊
- ␊
- Text [user@example.com](user@example.com) text␊
- (allowed by !url_inline because email address is not an absolute URL)␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-none.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]',
- errorDetail: null,
- errorRange: [
- 6,
- 5,
- ],
- fixInfo: null,
- lineNumber: 29,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]',
- errorDetail: null,
- errorRange: [
- 6,
- 6,
- ],
- fixInfo: null,
- lineNumber: 31,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: null,
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: null,
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[embedded-backslash]',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: null,
- lineNumber: 43,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[backslash-escape]',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 45,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: null,
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: null,
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 79,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style None␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text [url](https://example.com "title") text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text {MD054}␊
- ␊
- Text ![text][url] text {MD054}␊
- ␊
- Text [url][] text {MD054}␊
- ␊
- Text ![url][] text {MD054}␊
- ␊
- Text [url] text {MD054}␊
- ␊
- Text ![url] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [embedded-backslash] text {MD054}␊
- ␊
- Text [backslash-escape] text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text {MD054}␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text {MD054}␊
- ␊
- Text [email][] text {MD054}␊
- ␊
- Text [email] text {MD054}␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-reference-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: null,
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: null,
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: null,
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Reference Only␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text [url](https://example.com "title") text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text␊
- ␊
- Text ![text][url] text␊
- ␊
- Text [url][] text␊
- ␊
- Text ![url][] text␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [embedded-backslash] text␊
- ␊
- Text [backslash-escape] text␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text {MD054}␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text␊
- ␊
- Text [email][] text␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## link-style-shortcut-only.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '[url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 26,
- ],
- fixInfo: null,
- lineNumber: 3,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com)',
- errorDetail: null,
- errorRange: [
- 6,
- 27,
- ],
- fixInfo: null,
- lineNumber: 5,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: null,
- lineNumber: 7,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url]()',
- errorDetail: null,
- errorRange: [
- 6,
- 29,
- ],
- fixInfo: null,
- lineNumber: 9,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com "tit...',
- errorDetail: null,
- errorRange: [
- 6,
- 34,
- ],
- fixInfo: null,
- lineNumber: 11,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com "ti...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 13,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 15,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url](https://example.com',
- errorDetail: null,
- errorRange: null,
- fixInfo: null,
- lineNumber: 18,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 11,
- ],
- fixInfo: null,
- lineNumber: 21,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![text][url]',
- errorDetail: null,
- errorRange: [
- 6,
- 12,
- ],
- fixInfo: null,
- lineNumber: 23,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 7,
- ],
- fixInfo: null,
- lineNumber: 25,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '![url][]',
- errorDetail: null,
- errorRange: [
- 6,
- 8,
- ],
- fixInfo: null,
- lineNumber: 27,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 21,
- ],
- fixInfo: null,
- lineNumber: 33,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/embe...',
- errorDetail: null,
- errorRange: [
- 6,
- 46,
- ],
- fixInfo: null,
- lineNumber: 39,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/back...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: null,
- lineNumber: 41,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 30,
- ],
- fixInfo: null,
- lineNumber: 67,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[url](https://example.com/an>g...',
- errorDetail: null,
- errorRange: [
- 6,
- 35,
- ],
- fixInfo: null,
- lineNumber: 69,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '',
- errorDetail: null,
- errorRange: [
- 6,
- 18,
- ],
- fixInfo: null,
- lineNumber: 71,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com](user@exampl...',
- errorDetail: null,
- errorRange: [
- 6,
- 36,
- ],
- fixInfo: null,
- lineNumber: 73,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[user@example.com][email]',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: null,
- lineNumber: 75,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- {
- errorContext: '[email][]',
- errorDetail: null,
- errorRange: [
- 6,
- 9,
- ],
- fixInfo: null,
- lineNumber: 77,
- ruleDescription: 'Link and image style',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md054.md',
- ruleNames: [
- 'MD054',
- 'link-image-style',
- ],
- },
- ],
- fixed: `# Link Style Shortcut Only␊
- ␊
- Text [url](https://example.com) text {MD054}␊
- ␊
- Text ![url](https://example.com) text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text ![url]() text {MD054}␊
- ␊
- Text [url](https://example.com "title") text {MD054}␊
- ␊
- Text ![url](https://example.com "title") text {MD054}␊
- ␊
- Text {MD054} [url](https://example.com␊
- "title") text␊
- ␊
- Text {MD054} ![url](https://example.com␊
- "title") text␊
- ␊
- Text [text][url] text {MD054}␊
- ␊
- Text ![text][url] text {MD054}␊
- ␊
- Text [url][] text {MD054}␊
- ␊
- Text ![url][] text {MD054}␊
- ␊
- Text [url] text␊
- ␊
- Text ![url] text␊
- ␊
- Text text {MD054}␊
- ␊
- [url]: https://example.com "title"␊
- ␊
- [undefined]␊
- ␊
- Text [url](https://example.com/embedded\\3backslash) text {MD054}␊
- ␊
- Text [url](https://example.com/backslash\\[escape) text {MD054}␊
- ␊
- Text [embedded-backslash] text␊
- ␊
- Text [backslash-escape] text␊
- ␊
- Text text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- [embedded-backslash]: https://example.com/embedded\\3backslash␊
- ␊
- [backslash-escape]: https://example.com/backslash\\[escape␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url]() text {MD054}␊
- ␊
- Text [url](https://example.com/\\(parens\\)) text {MD054}␊
- ␊
- Text [url](https://example.com/pa(re(ns))) text {MD054}␊
- ␊
- Text [url](relative/path) text {MD054}␊
- ␊
- Text [url](#fragment) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [url](https://example.com/an>g) text {MD054}␊
- ␊
- Text text {MD054}␊
- ␊
- Text [user@example.com](user@example.com) text {MD054}␊
- ␊
- Text [user@example.com][email] text {MD054}␊
- ␊
- Text [email][] text {MD054}␊
- ␊
- Text [email] text␊
- ␊
- [email]: user@example.com␊
- ␊
- ␊
- `,
- }
-
-## links-alternate.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: null,
- errorDetail: '(Incorrect link syntax)[https://www.example.com/]',
- errorRange: [
- 1,
- 49,
- ],
- fixInfo: {
- deleteCount: 49,
- editColumn: 1,
- insertText: '[Incorrect link syntax](https://www.example.com/)',
- },
- lineNumber: 30,
- ruleDescription: 'Reversed link syntax',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md',
- ruleNames: [
- 'MD011',
- 'no-reversed-links',
- ],
- },
- {
- errorContext: 'https://example.com/',
- errorDetail: null,
- errorRange: [
- 6,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 3,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/bare',
- errorDetail: null,
- errorRange: [
- 42,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 42,
- insertText: '',
- },
- lineNumber: 5,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/bare',
- errorDetail: null,
- errorRange: [
- 6,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 7,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/',
- errorDetail: null,
- errorRange: [
- 48,
- 20,
- ],
- fixInfo: {
- deleteCount: 20,
- editColumn: 48,
- insertText: '',
- },
- lineNumber: 9,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/bare',
- errorDetail: null,
- errorRange: [
- 44,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 44,
- insertText: '',
- },
- lineNumber: 11,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/dir',
- errorDetail: null,
- errorRange: [
- 6,
- 23,
- ],
- fixInfo: {
- deleteCount: 23,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 13,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/file.txt',
- errorDetail: null,
- errorRange: [
- 6,
- 28,
- ],
- fixInfo: {
- deleteCount: 28,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 14,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/dir/dir/fi...',
- errorDetail: null,
- errorRange: [
- 6,
- 44,
- ],
- fixInfo: {
- deleteCount: 44,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 16,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/same',
- errorDetail: null,
- errorRange: [
- 43,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 43,
- insertText: '',
- },
- lineNumber: 24,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/same',
- errorDetail: null,
- errorRange: [
- 46,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 46,
- insertText: '',
- },
- lineNumber: 26,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/first',
- errorDetail: null,
- errorRange: [
- 6,
- 25,
- ],
- fixInfo: {
- deleteCount: 25,
- editColumn: 6,
- insertText: '',
- },
- lineNumber: 28,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/second',
- errorDetail: null,
- errorRange: [
- 42,
- 26,
- ],
- fixInfo: {
- deleteCount: 26,
- editColumn: 42,
- insertText: '',
- },
- lineNumber: 28,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: 'https://example.com/third',
- errorDetail: null,
- errorRange: [
- 85,
- 25,
- ],
- fixInfo: {
- deleteCount: 25,
- editColumn: 85,
- insertText: '',
- },
- lineNumber: 28,
- ruleDescription: 'Bare URL used',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md',
- ruleNames: [
- 'MD034',
- 'no-bare-urls',
- ],
- },
- {
- errorContext: '[link ]',
- errorDetail: null,
- errorRange: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- },
- lineNumber: 32,
- 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: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 34,
- 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: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 36,
- 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: 36,
- 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: [
- 11,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 11,
- },
- lineNumber: 38,
- 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: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 40,
- 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: [
- 7,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 7,
- },
- lineNumber: 42,
- 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: 42,
- ruleDescription: 'Spaces inside link text',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md039.md',
- ruleNames: [
- 'MD039',
- 'no-space-in-links',
- ],
- },
- ],
- fixed: `# Detailed Link Results␊
- ␊
- Text text {MD034}␊
- ␊
- Text text text {MD034}␊
- ␊
- Text text text {MD034}␊
- ␊
- Text \`code https://example.com/code code\` text text {MD034}␊
- ␊
- > Text text text {MD034}␊
- ␊
- Text {MD034}␊
- text {MD034}␊
- text ␊
- text {MD034}␊
- ␊
- \`\`\`text␊
- Code https://example.com/code?type=fence code␊
- \`\`\`␊
- ␊
- Code https://example.com/code?type=indent code␊
- ␊
- Text more text still more text done {MD034}␊
- ␊
- Text more \\* text more \\[ text done {MD034}␊
- ␊
- Text more text still more text done {MD034}␊
- ␊
- [Incorrect link syntax](https://www.example.com/) {MD011}␊
- ␊
- Text [link](https://example.com/) text. {MD039}␊
- ␊
- Text [link](https://example.com/) text. {MD039}␊
- ␊
- Text [link](https://example.com/) text. {MD039}␊
- ␊
- Text [link][reference] text. {MD039}␊
- ␊
- Text [link][reference] text. {MD039}␊
- ␊
- Text [link][reference] text. {MD039}␊
- ␊
- [reference]: https://example.com/␊
- ␊
- ␊
- `,
- }
-
-## links-with-markup.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: '...k has `code` and right space ]',
- errorDetail: null,
- errorRange: [
- 38,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 38,
- },
- lineNumber: 11,
- 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: '[ This link has *emphasis* and...',
- errorDetail: null,
- errorRange: [
- 2,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 2,
- },
- lineNumber: 13,
- 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: '[too ]',
- errorDetail: null,
- errorRange: [
- 23,
- 1,
- ],
- fixInfo: {
- deleteCount: 1,
- editColumn: 23,
- },
- lineNumber: 17,
- ruleDescription: 'Spaces inside link text',
- ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md039.md',
- ruleNames: [
- 'MD039',
- 'no-space-in-links',
- ],
- },
- ],
- fixed: `# links-with-markup␊
- ␊
- [This link is plain](link)␊
- ␊
- [This link has \`code\`](link)␊
- ␊
- [This link has *some* emphasis](link)␊
- ␊
- [This link has **more** emphasis](link)␊
- ␊
- [This link has \`code\` and right space](link) {MD039}␊
- ␊
- [This link has *emphasis* and left space](link) {MD039}␊
- ␊
- [This](link) line has [multiple](link) links.␊
- ␊
- [This](line) does [too](link) and one has a [space](link) {MD039}␊
- `,
- }
-
-## links.md
-
-> Snapshot 1
-
- {
- errors: [
- {
- errorContext: 'https://www.example.com/',
- errorDetail: null,
- errorRange: [
- 17,
- 24,
- ],
- fixInfo: {
- deleteCount: 24,
- editColumn: 17,
- insertText: '