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: `

A kitten

␊ - ␊ - 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 Description 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: '', - }, - lineNumber: 4, - ruleDescription: 'Bare URL used', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md', - ruleNames: [ - 'MD034', - 'no-bare-urls', - ], - }, - { - errorContext: 'https://www.google.com/', - errorDetail: null, - errorRange: [ - 1, - 23, - ], - fixInfo: { - deleteCount: 23, - editColumn: 1, - 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://gOoGlE.cOm/', - errorDetail: null, - errorRange: [ - 1, - 19, - ], - fixInfo: { - deleteCount: 19, - editColumn: 1, - 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: [ - 2, - 19, - ], - fixInfo: { - deleteCount: 19, - editColumn: 2, - insertText: '', - }, - lineNumber: 20, - 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: [ - 2, - 20, - ], - fixInfo: { - deleteCount: 20, - editColumn: 2, - 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/', - errorDetail: null, - errorRange: [ - 3, - 20, - ], - fixInfo: { - deleteCount: 20, - editColumn: 3, - insertText: '', - }, - lineNumber: 27, - 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, - 20, - ], - fixInfo: { - deleteCount: 20, - editColumn: 26, - insertText: '', - }, - lineNumber: 27, - 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: [ - 43, - 19, - ], - fixInfo: { - deleteCount: 19, - editColumn: 43, - insertText: '', - }, - lineNumber: 30, - ruleDescription: 'Bare URL used', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md', - ruleNames: [ - 'MD034', - 'no-bare-urls', - ], - }, - ], - fixed: `# Link test␊ - ␊ - For more information, please see the␊ - following page: {MD034}␊ - which will tell you all you want to know.␊ - ␊ - {MD034}␊ - ␊ - {MD034}␊ - ␊ - This link should be fine: ␊ - ␊ - The following are allowed to avoid conflicts with MD011/no-reversed-links:␊ - ␊ - [https://example.com]␊ - [https://example.com/search?query=text]␊ - ␊ - Other enclosures are not allowed:␊ - ␊ - () {MD034}␊ - { {MD034}␊ - ␊ - Duplicate links in tables should be handled:␊ - ␊ - | Link | Same Link | Violation |␊ - |----------------------|----------------------|-----------|␊ - | | | {MD034} |␊ - ␊ - This is not a bare URL: [text [undefined] text](https://example.com).␊ - This is a bare URL: [text [defined] text](). {MD034}␊ - ␊ - [defined]: https://example.com␊ - `, - } - -## lint-javascript.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Lint JavaScript␊ - ␊ - ␊ - ␊ - Text␊ - ␊ - \`\`\`js␊ - "use strict";␊ - ␊ - var x = 0;␊ - ␊ - console.log(x);␊ - \`\`\`␊ - ␊ - Text␊ - ␊ - var y = 0;␊ - ␊ - Text␊ - ␊ - Text \`undefined\` text␊ - ␊ - Text␊ - `, - } - -## list-indentation-start-indent-indent.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 11, - 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: 7; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 9, - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - 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: 4; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 25, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 26, - 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: 7; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 27, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - ], - fixed: `# List Indentation start_indent/indent␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1␊ - * item 2.2␊ - * item 2.2.1␊ - * item 2.3␊ - * item 2.3.1 {MD007}␊ - * item 3␊ - * item 4 {MD005} {MD007}␊ - ␊ - Text␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1␊ - * item 2.2␊ - * item 2.2.1␊ - ␊ - Text␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - ␊ - ␊ - `, - } - -## list-indentation-start-indent-no-indent.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 11, - 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: 5; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 9, - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - 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: 1; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - 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: 3; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 1, - 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: 3; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 1, - 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: 5; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 1, - 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: 3; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 25, - 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: 3; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 26, - 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: 5; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 2, - editColumn: 1, - insertText: '', - }, - lineNumber: 27, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - ], - fixed: `# List Indentation start_indent/no indent␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1␊ - * item 2.2␊ - * item 2.2.1␊ - * item 2.3␊ - * item 2.3.1 {MD007}␊ - * item 3␊ - * item 4 {MD005} {MD007}␊ - ␊ - Text␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - ␊ - Text␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - ␊ - ␊ - `, - } - -## list-indentation-start-indented-indent.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - 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: 3; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 14, - 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: 6; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 6; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 9; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 0, - 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: 6; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 3; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - 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: 3; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 23, - 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: 3; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 24, - 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: 6; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 25, - 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: 6; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 26, - 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: 9; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 27, - 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: 6; Actual: 4', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 28, - 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: 3; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 29, - 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: 3; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 33, - 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: 3; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 34, - 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: 6; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 35, - 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: 6; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 36, - 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: 9; Actual: 8', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 37, - 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: 6; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 38, - 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: 3; Actual: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 39, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - ], - fixed: `# List Indentation - Start Indented␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1␊ - * item 2.2␊ - * item 2.2.1␊ - * item 2.3␊ - * item 3␊ - ␊ - ## Disallowed List Indentation - Starts at Zero␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 3 {MD007}␊ - ␊ - ## Disallowed List Indentation - Starts at One␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 3 {MD007}␊ - ␊ - ## Disallowed List Indentation - Starts at Two␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 3 {MD007}␊ - ␊ - ␊ - `, - } - -## list-indentation-start-indented-no-indent.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - 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: 2; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 14, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 4; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 6; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 0, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - 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: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 0, - 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: 2; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 23, - 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: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 24, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 25, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 26, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 27, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 28, - 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: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 0, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 34, - 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: 35, - 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: 36, - 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: 37, - 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: 6; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - insertText: '', - }, - lineNumber: 38, - 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: 39, - 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: 40, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - ], - fixed: `# List Indentation - Start Indented/No Indent␊ - ␊ - * item 1␊ - * item 2␊ - * item 2.1␊ - * item 2.2␊ - * item 2.2.1␊ - * item 2.3␊ - * item 3␊ - ␊ - ## Disallowed List Indentation - Starts at Zero␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 3 {MD007}␊ - ␊ - ## Disallowed List Indentation - Starts at One␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 2.3.1␊ - * item 3 {MD007}␊ - ␊ - ## Disallowed List Indentation - Starts at Three␊ - ␊ - * item 1 {MD007}␊ - * item 2 {MD007}␊ - * item 2.1 {MD007}␊ - * item 2.2 {MD007}␊ - * item 2.2.1 {MD007}␊ - * item 2.3 {MD007}␊ - * item 3 {MD007}␊ - ␊ - ␊ - `, - } - -## list-indentation.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 28, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 30, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 31, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 35, - 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: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 44, - 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: 6, - 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: 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: 4', - errorRange: [ - 1, - 6, - ], - 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: 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: 2; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 28, - 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: 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - 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: 2; Actual: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '', - }, - lineNumber: 35, - 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: 38, - 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: 39, - 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: 40, - 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: 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: 2; Actual: 3', - errorRange: [ - 1, - 5, - ], - 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: 50, - 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: 51, - 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: 52, - 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: 53, - 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: 54, - 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: 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: 56, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - ], - fixed: `# List Indentation␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item {MD007}␊ - - Item␊ - - Item {MD007}␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item␊ - - Item {MD007}␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item {MD007}␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item {MD005} {MD007}␊ - - Item␊ - - Item {MD005} {MD007}␊ - - Item {MD005} {MD007}␊ - - Item␊ - - Item␊ - - Item␊ - - Item {MD005} {MD007}␊ - - Item␊ - - Item␊ - - Item {MD007}␊ - - Item {MD007}␊ - - Item {MD007}␊ - - Item␊ - - Item {MD007}␊ - - Item {MD007}␊ - - Item {MD005}␊ - ␊ - Text␊ - ␊ - ## Invalid Indentation - Should Start at Zero␊ - ␊ - - item 1 {MD007}␊ - - item 2 {MD007}␊ - - item 2.1 {MD007}␊ - - item 2.2 {MD007}␊ - - item 2.2.1 {MD007}␊ - - item 2.3 {MD007}␊ - - item 3 {MD007}␊ - `, - } - -## list-item-prefix-alignment.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 87, - 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: (4); Actual: (5)', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: '', - }, - lineNumber: 93, - 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: (4); Actual: (3)', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 1, - insertText: ' ', - }, - lineNumber: 95, - 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: 1', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 101, - 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: 5; Actual: 6', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '', - }, - lineNumber: 107, - 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: 5; Actual: 6', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '', - }, - lineNumber: 110, - 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: 1', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 114, - 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: 6; Actual: 5', - errorRange: [ - 1, - 8, - ], - fixInfo: { - deleteCount: 0, - editColumn: 6, - insertText: ' ', - }, - lineNumber: 118, - 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: 6; Actual: 7', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '', - }, - lineNumber: 122, - 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: 1', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 0, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 127, - 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', - ], - }, - ], - fixed: `# List Alignment␊ - ␊ - ## Leading Spaces␊ - ␊ - 1. One␊ - 2. Two␊ - 3. Three␊ - 4. Four␊ - 5. Five␊ - 6. Six␊ - 7. Seven␊ - 8. Eight␊ - 9. Nine␊ - 10. Ten␊ - 11. Eleven␊ - 12. Twelve␊ - ␊ - ## Leading Zeroes␊ - ␊ - 01. One␊ - 02. Two␊ - 03. Three␊ - 04. Four␊ - 05. Five␊ - 06. Six␊ - 07. Seven␊ - 08. Eight␊ - 09. Nine␊ - 10. Ten␊ - 11. Eleven␊ - 12. Twelve␊ - ␊ - ## Double Leading Zeroes␊ - ␊ - 001. One␊ - 002. Two␊ - 003. Three␊ - ␊ - ## Nested Lists␊ - ␊ - - Item␊ - - Item␊ - 01. One␊ - 02. Two␊ - 03. Three␊ - 04. Four␊ - 05. Five␊ - 06. Six␊ - 07. Seven␊ - 08. Eight␊ - 09. Nine␊ - 10. Ten␊ - 11. Eleven␊ - 12. Twelve␊ - - Item␊ - - Item␊ - 1. One␊ - 2. Two␊ - 3. Three␊ - 4. Four␊ - 5. Five␊ - 6. Six␊ - 7. Seven␊ - 8. Eight␊ - 9. Nine␊ - 10. Ten␊ - 11. Eleven␊ - 12. Twelve␊ - - Item␊ - - Item␊ - ␊ - ## Another Nested List␊ - ␊ - 01. One␊ - 02. Two␊ - 01. One␊ - 02. Two␊ - 03. Three␊ - 04. Four␊ - ␊ - ## Leading Spaces Errors␊ - ␊ - 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␊ - 13. Thirteen {MD005}␊ - 14. Fourteen␊ - ␊ - ## Leading Spaces Errors with Nesting␊ - ␊ - 1. One␊ - 2. Two {MD005}␊ - 3. Three␊ - 1. One␊ - 2. Two␊ - 3. Three␊ - 4. Four␊ - 5. Five {MD005}␊ - 6. Six␊ - 7. Seven␊ - 8. Eight {MD005}␊ - 9. Nine␊ - 10. Ten␊ - 4. Four␊ - 5. Five {MD005}␊ - 6. Six␊ - 1. One␊ - 2. Two␊ - 3. Three {MD005}␊ - 4. Four␊ - 5. Five␊ - 6. Six␊ - 7. Seven {MD005}␊ - 8. Eight␊ - 9. Nine␊ - 10. Ten␊ - 7. Seven␊ - 8. Eight {MD005}␊ - 9. Nine␊ - 10. Ten␊ - `, - } - -## list-syntax-in-paragraph-text.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: dash; Actual: plus', - errorRange: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '-', - }, - lineNumber: 24, - 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: 2; Actual: 5; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 3, - editColumn: 3, - insertText: ' ', - }, - lineNumber: 17, - 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: 3', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 3, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 27, - ruleDescription: 'Spaces after list markers', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md', - ruleNames: [ - 'MD030', - 'list-marker-space', - ], - }, - { - errorContext: '1. This is a list. {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 10, - 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. This is a list. It also has...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 13, - 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. This is a list. {MD030} {...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 17, - 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: '- in its list. {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 20, - 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: '- in its list. It also has a p...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 23, - 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: '- in its list. It also has a p...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 24, - }, - lineNumber: 23, - 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: '+ in its list. {MD004} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 24, - 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: '- This is a list. {MD030} {M...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 27, - 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. which creates a list {MD032...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 31, - 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. before the list {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 37, - 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: `# Heading␊ - ␊ - This paragraph has the number␊ - 5. More text.␊ - ␊ - This paragraph has the number␊ - 11. More text.␊ - ␊ - This non-paragraph has the number␊ - ␊ - 1. This is a list. {MD032}␊ - ␊ - This non-paragraph has the number␊ - ␊ - 1. This is a list. It also has the number {MD032}␊ - 5. This is a list. {MD029}␊ - ␊ - This non-paragraph has spaces and the number␊ - ␊ - 1. This is a list. {MD030} {MD032}␊ - ␊ - This non-paragraph has a dash␊ - ␊ - - in its list. {MD032}␊ - ␊ - This non-paragraph has a dash␊ - ␊ - - in its list. It also has a plus {MD032}␊ - - in its list. {MD004} {MD032}␊ - ␊ - This non-paragraph has spaces and a dash␊ - ␊ - - This is a list. {MD030} {MD032}␊ - ␊ - This is a mixed paragraph that has␊ - 2. followed by text followed by␊ - ␊ - 1. which creates a list {MD032}␊ - 1. with a couple of items␊ - ␊ - Another mixed paragraph␊ - 2. with more text␊ - in the middle of things␊ - ␊ - 1. before the list {MD032}␊ - `, - } - -## lists-and-headings.md - -> Snapshot 1 - - { - errors: [], - fixed: `␊ - ␊ - * list␊ - * list␊ - ␊ - # Heading 1␊ - ␊ - * list␊ - * list␊ - ␊ - # Heading 2 #␊ - ␊ - * list␊ - * list␊ - ␊ - Heading 3␊ - =========␊ - ␊ - * list␊ - * list␊ - ␊ - ␊ - `, - } - -## lists-in-blockquote.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: plus; Actual: dash', - errorRange: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: '+', - }, - lineNumber: 32, - 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: 33, - 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: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '+', - }, - lineNumber: 64, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 65, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 66, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - insertText: '+', - }, - lineNumber: 67, - 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: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '+', - }, - lineNumber: 68, - 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: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '+', - }, - lineNumber: 69, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 70, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 71, - 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: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - insertText: '+', - }, - lineNumber: 72, - 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: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '+', - }, - lineNumber: 76, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - insertText: '+', - }, - lineNumber: 77, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - insertText: '+', - }, - lineNumber: 78, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 79, - 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: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '+', - }, - lineNumber: 85, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 86, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 87, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - insertText: '+', - }, - lineNumber: 89, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 90, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 91, - 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: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '+', - }, - lineNumber: 96, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 97, - 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: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - insertText: '+', - }, - lineNumber: 98, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - insertText: '+', - }, - lineNumber: 99, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 100, - 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: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - insertText: '+', - }, - lineNumber: 101, - 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: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: '+', - }, - lineNumber: 122, - 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: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: '+', - }, - lineNumber: 123, - 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: 140, - 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: 141, - 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: 7; Actual: 8', - errorRange: [ - 1, - 10, - ], - fixInfo: null, - lineNumber: 67, - 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: 5; Actual: 6', - errorRange: [ - 1, - 8, - ], - fixInfo: null, - lineNumber: 68, - 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: 9; Actual: 10', - errorRange: [ - 1, - 12, - ], - fixInfo: null, - lineNumber: 72, - 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: 8; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: null, - lineNumber: 79, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 86, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 87, - 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: 8; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: null, - lineNumber: 90, - 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: 8; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: null, - lineNumber: 91, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 97, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 98, - 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: 8; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: null, - lineNumber: 100, - 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: 8; Actual: 9', - errorRange: [ - 1, - 11, - ], - fixInfo: null, - lineNumber: 101, - 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: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 106, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 109, - 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: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 114, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 116, - 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: 4; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: null, - lineNumber: 185, - 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: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 188, - 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: 3', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '', - }, - lineNumber: 67, - 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, - 8, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '', - }, - lineNumber: 68, - 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: 5', - errorRange: [ - 1, - 12, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: '', - }, - lineNumber: 72, - 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, - 11, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '', - }, - lineNumber: 79, - 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, - 7, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - insertText: '', - }, - lineNumber: 185, - 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, - 9, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - insertText: '', - }, - lineNumber: 188, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - { - errorContext: ' > * Item {MD004} {MD005} {...', - errorDetail: null, - errorRange: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 68, - 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: ' > > - Item {MD004} {MD005} ...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 86, - 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: ' > > > - Item {MD004} {MD005...', - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 90, - 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: ' > > > - Item {MD004} {MD005...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 91, - 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: ' > > - Item {MD004} {MD005} ...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 97, - 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: ' > > > - Item {MD004} {MD005...', - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 100, - 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: ' > > > - Item {MD004} {MD005...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 101, - 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: ' > + list in blockquote {MD0...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 185, - 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: 'Expected: 1; Actual: 2', - errorRange: [ - 2, - 4, - ], - fixInfo: { - deleteCount: 2, - editColumn: 4, - 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: [ - 2, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 3, - insertText: ' ', - }, - lineNumber: 23, - 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: [ - 9, - 4, - ], - fixInfo: { - deleteCount: 2, - editColumn: 11, - insertText: ' ', - }, - lineNumber: 60, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 9, - insertText: ' ', - }, - lineNumber: 66, - 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: [ - 9, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 10, - insertText: ' ', - }, - lineNumber: 78, - ruleDescription: 'Spaces after list markers', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md', - ruleNames: [ - 'MD030', - 'list-marker-space', - ], - }, - { - errorContext: '> + Item {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `>␊ - `, - }, - 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: '> + Item {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `>␊ - `, - lineNumber: 54, - }, - lineNumber: 53, - 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: '> > - Item {MD004} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: ` > >␊ - `, - }, - lineNumber: 96, - 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: '> > - Item {MD004} {MD005} {MD...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: ` > >␊ - `, - lineNumber: 99, - }, - lineNumber: 98, - 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: '> > > - Item {MD004} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: ` > > >␊ - `, - }, - lineNumber: 99, - 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: '> + Item {MD005} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `>␊ - `, - lineNumber: 115, - }, - lineNumber: 114, - 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: '>>+ Item {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `>>␊ - `, - }, - lineNumber: 115, - 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: `# Lists in Blockquote␊ - ␊ - > 1. The simplest ordered list in blockquote␊ - ␊ - Text␊ - ␊ - > + The simplest unordered list in blockquote␊ - ␊ - Text␊ - ␊ - >1. Item␊ - ␊ - Text␊ - ␊ - >+ Item␊ - ␊ - Text␊ - ␊ - >1. Item {MD030}␊ - ␊ - Text␊ - ␊ - >+ Item {MD030}␊ - ␊ - Text␊ - ␊ - > 1. Item␊ - > 1. Item␊ - ␊ - Text␊ - ␊ - > + Item {MD004}␊ - > + Item {MD004}␊ - ␊ - Text␊ - ␊ - > Text␊ - >␊ - > + Item␊ - > + Item␊ - >␊ - > Text␊ - ␊ - Text␊ - ␊ - > Text␊ - >␊ - > + Item {MD032}␊ - > + Item␊ - ␊ - Text␊ - ␊ - > + Item␊ - > + Item {MD032}␊ - >␊ - > ---␊ - ␊ - Text␊ - ␊ - > 1. Item␊ - > 1. Item␊ - > 1. Item {MD030}␊ - ␊ - Text␊ - ␊ - > + Item {MD004}␊ - > + Item {MD004}␊ - > + Item {MD004} {MD030}␊ - > + Item {MD004} {MD005} {MD007}␊ - > + Item {MD004} {MD005} {MD007} {MD027}␊ - > + Item {MD004}␊ - > + Item {MD004}␊ - > + Item {MD004}␊ - > + Item {MD004} {MD005} {MD007}␊ - ␊ - Text␊ - ␊ - > > + Item {MD004}␊ - > > + Item {MD004}␊ - > > + Item {MD004} {MD030}␊ - > > + Item {MD004} {MD005} {MD007}␊ - ␊ - Text␊ - ␊ - > Text␊ - >␊ - > > + Item {MD004}␊ - > > + Item {MD004} {MD005} {MD027}␊ - > > + Item {MD004} {MD005}␊ - > >␊ - > > > + Item {MD004}␊ - > > > + Item {MD004} {MD005} {MD027}␊ - > > > + Item {MD004} {MD005} {MD027}␊ - ␊ - Text␊ - ␊ - > Text␊ - > >␊ - > > + Item {MD004} {MD032}␊ - > > + Item {MD004} {MD005} {MD027}␊ - > > + Item {MD004} {MD005} {MD032}␊ - > > >␊ - > > > + Item {MD004} {MD032}␊ - > > > + Item {MD004} {MD005} {MD027}␊ - > > > + Item {MD004} {MD005} {MD027}␊ - ␊ - Text␊ - ␊ - >+ Item␊ - > + Item {MD005}␊ - >>␊ - >>+ Item␊ - >> + Item {MD005}␊ - ␊ - Text␊ - ␊ - >+ Item␊ - > + Item {MD005} {MD032}␊ - >>␊ - >>+ Item {MD032}␊ - >> + Item {MD005}␊ - ␊ - Text␊ - ␊ - > Quoted text␊ - >␊ - > + A list {MD004}␊ - > + of items {MD004}␊ - >␊ - > More quoted text␊ - ␊ - Text␊ - ␊ - > Quoted text␊ - >␊ - > > + A list␊ - > > + of items␊ - >␊ - > More quoted text␊ - ␊ - Text␊ - ␊ - > Quoted text␊ - >␊ - > > + A list {MD004}␊ - > > + of items {MD004}␊ - > >␊ - > > More quoted text␊ - ␊ - Text␊ - ␊ - + List␊ - > blockquote in list␊ - >␊ - > + list in blockquote in list␊ - ␊ - Text␊ - ␊ - + List␊ - Text␊ - ␊ - > + list in blockquote␊ - > + list in blockquote␊ - ␊ - Text␊ - ␊ - > + list in blockquote␊ - ␊ - Text␊ - + List␊ - ␊ - Text␊ - ␊ - > + list in blockquote␊ - ␊ - Text␊ - + List␊ - ␊ - > + list in blockquote␊ - > + sublist in blockquote␊ - > + list in blockquote␊ - > + sublist in blockquote␊ - ␊ - Text␊ - ␊ - + List␊ - Text␊ - ␊ - > + list in blockquote␊ - > + list in blockquote {MD005} {MD007} {MD027}␊ - > + list in blockquote␊ - > + sublist in blockquote␊ - > + sublist in blockquote {MD005} {MD007}␊ - `, - } - -## lists-incomplete.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - editColumn: 8, - insertText: `␊ - `, - }, - lineNumber: 49, - 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: `# Lists Incomplete␊ - ␊ - Text␊ - ␊ - - Item␊ - -␊ - ␊ - Text␊ - ␊ - -␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - -␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - -␊ - -␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 1.␊ - ␊ - Text␊ - ␊ - 1.␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 1.␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 1.␊ - 1.␊ - ␊ - Text␊ - ␊ - {MD047}␊ - `, - } - -## lists-on-a-line.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 6; Actual: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: null, - lineNumber: 57, - 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: 4; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: null, - lineNumber: 58, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: null, - lineNumber: 59, - 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: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 2, - editColumn: 1, - insertText: '', - }, - lineNumber: 36, - 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: 36, - 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: 40, - 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: 40, - 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: 40, - 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: 44, - 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: 44, - 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: 44, - 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: 48, - 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: 52, - 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: 56, - 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: 56, - 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: 56, - 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: 7', - errorRange: [ - 1, - 9, - ], - fixInfo: { - deleteCount: 3, - 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: 2; Actual: 5', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - insertText: '', - }, - lineNumber: 58, - 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: 3', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 3, - 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: `# Lists on a Line␊ - ␊ - ## Correct␊ - ␊ - Text␊ - ␊ - * * Item␊ - ␊ - Text␊ - ␊ - * * * Item␊ - ␊ - Text␊ - ␊ - - + * Item␊ - ␊ - Text␊ - ␊ - - 1. Item␊ - ␊ - Text␊ - ␊ - - 1. + Item␊ - ␊ - Text␊ - ␊ - * * * Item␊ - * Item␊ - * Item␊ - * Item␊ - ␊ - ## Incorrect␊ - ␊ - Text␊ - ␊ - * * Item {MD007}␊ - ␊ - Text␊ - ␊ - * * * Item {MD007}␊ - ␊ - Text␊ - ␊ - - + * Item {MD007}␊ - ␊ - Text␊ - ␊ - - 1. Item {MD007}␊ - ␊ - Text␊ - ␊ - - 1. + Item {MD007}␊ - ␊ - Text␊ - ␊ - * * * Item {MD007}␊ - * Item {MD005} {MD007}␊ - * Item {MD005} {MD007}␊ - * Item {MD005} {MD007}␊ - ␊ - ␊ - `, - } - -## lists-with-commented-items.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Lists with Commented Items␊ - ␊ - Text␊ - ␊ - - item ␊ - - item ␊ - ␊ - - item ␊ - - item ␊ - ␊ - Text␊ - ␊ - - item ␊ - - item ␊ - ␊ - - item ␊ - - item ␊ - ␊ - Text␊ - ␊ - - item ␊ - ␊ - - item ␊ - ␊ - Text␊ - ␊ - - item ␊ - - item ␊ - ␊ - ␊ - - item ␊ - - item ␊ - ␊ - Text␊ - `, - } - -## lists-with-fenced-code-tight.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Lists with Fenced Code, Tight␊ - ␊ - - Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - - Item␊ - - Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - - Item␊ - - Item␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - - Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - 1. Item␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - 1. Item␊ - 1. Item␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - 1. Item␊ - ␊ - ␊ - `, - } - -## lists-with-fenced-code.md - -> Snapshot 1 - - { - errors: [ - { - 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: 24, - }, - 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: '```text', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 26, - }, - lineNumber: 26, - 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: 29, - }, - lineNumber: 28, - 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: 51, - }, - lineNumber: 51, - 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: '```text', - 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: 59, - }, - lineNumber: 58, - 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: '```shell', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 71, - }, - lineNumber: 71, - 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 {MD031:-1} {MD031} {MD03...', - errorDetail: null, - errorRange: null, - fixInfo: null, - 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: '```', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 73, - }, - lineNumber: 73, - 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 {MD031:-1} {MD031} {MD03...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 73, - }, - lineNumber: 72, - 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: '```', - 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', - ], - }, - ], - fixed: `# Lists with Fenced Code␊ - ␊ - - Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - - Item␊ - - Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - ␊ - \`\`\`text␊ - fence {MD031:-1} {MD031:+1}␊ - \`\`\`␊ - ␊ - - Item␊ - - Item␊ - ␊ - \`\`\`text␊ - fence {MD031:-1} {MD031:+1}␊ - \`\`\`␊ - ␊ - - Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - 1. Item␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence␊ - \`\`\`␊ - ␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence {MD031:-1} {MD031:+1}␊ - \`\`\`␊ - ␊ - 1. Item␊ - 1. Item␊ - ␊ - \`\`\`text␊ - fence {MD031:-1} {MD031:+1}␊ - \`\`\`␊ - ␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Text␊ - ␊ - \`\`\`text␊ - code␊ - ␊ - Text␊ - ␊ - 1. Text␊ - ␊ - \`\`\`shell␊ - fence {MD031:-1} {MD031} {MD031:+1} {MD032} {MD040:+1}␊ - ␊ - \`\`\`␊ - `, - } - -## lists-with-nesting.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: dash; Actual: asterisk', - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: '-', - }, - lineNumber: 97, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: '-', - }, - lineNumber: 98, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: '-', - }, - lineNumber: 99, - 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: 2', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 2, - editColumn: 1, - insertText: '', - }, - lineNumber: 22, - 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: 97, - 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: 98, - 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: 99, - 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: 1; Actual: 2; Style: 1/1/1', - errorRange: [ - 4, - 3, - ], - fixInfo: null, - lineNumber: 98, - 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: 3; Style: 1/1/1', - errorRange: [ - 4, - 3, - ], - fixInfo: null, - lineNumber: 99, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - { - errorContext: '- one {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 18, - }, - lineNumber: 17, - 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. two {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 18, - 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. two {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 19, - }, - lineNumber: 18, - 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: '- three {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 19, - 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. one {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 22, - }, - lineNumber: 21, - 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: '- two {MD007} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 22, - 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: '- two {MD007} {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 23, - }, - lineNumber: 22, - 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. three {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 23, - 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: `# Lists with Nesting␊ - ␊ - ## Excessive nesting␊ - ␊ - - one␊ - 1. two␊ - 1. three␊ - - four␊ - ␊ - 1. one␊ - - two␊ - - three␊ - 1. four␊ - ␊ - ## Insufficient nesting␊ - ␊ - - one {MD032}␊ - ␊ - 1. two {MD032}␊ - ␊ - - three {MD032}␊ - ␊ - 1. one {MD032}␊ - ␊ - - two {MD007} {MD032}␊ - ␊ - 1. three {MD032}␊ - ␊ - ## Correct nesting, same type␊ - ␊ - - one␊ - - two␊ - - three␊ - - four␊ - - five␊ - - six␊ - - seven␊ - ␊ - 1. one␊ - 1. two␊ - 1. three␊ - 1. four␊ - 1. five␊ - 1. six␊ - 1. seven␊ - ␊ - ## Correct nesting, different types␊ - ␊ - - one␊ - 1. two␊ - 1. three␊ - - four␊ - ␊ - 1. one␊ - - two␊ - - three␊ - 1. four␊ - ␊ - 1. one␊ - - two␊ - - three␊ - ␊ - - one␊ - 1. two␊ - - three␊ - ␊ - - one␊ - - two␊ - 1. three␊ - ␊ - 1. one␊ - 1. two␊ - - three␊ - ␊ - 1. one␊ - - two␊ - 1. three␊ - ␊ - - one␊ - 1. two␊ - 1. three␊ - ␊ - - one␊ - 1. two␊ - - three␊ - 1. four␊ - - five␊ - 1. six␊ - - seven␊ - 1. eight␊ - ␊ - 1. one␊ - - two␊ - 1. three␊ - - four␊ - 1. five␊ - - six␊ - 1. seven␊ - - eight␊ - ␊ - - 1. Item {MD004} {MD007}␊ - - 2. Item {MD004} {MD007} {MD029}␊ - - 3. Item {MD004} {MD007} {MD029}␊ - `, - } - -## lists_without_blank_lines.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '```', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 64, - }, - lineNumber: 64, - 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: '* list {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 10, - 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: 11, - }, - lineNumber: 10, - 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: 12, - 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: 13, - }, - lineNumber: 12, - 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: 14, - 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: 15, - }, - lineNumber: 14, - 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. list {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 16, - 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. list {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 17, - }, - lineNumber: 16, - 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: 21, - }, - lineNumber: 20, - 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. list {MD032}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 24, - 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} {MD031:64}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 64, - }, - lineNumber: 63, - 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} {MD031:72}', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 73, - 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: null, - errorRange: [ - 45, - 1, - ], - fixInfo: { - editColumn: 46, - insertText: `␊ - `, - }, - lineNumber: 98, - 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: `# lists_without_blank_lines␊ - ␊ - * list (on first line)␊ - ␊ - text␊ - ␊ - * list␊ - ␊ - ---␊ - ␊ - * list {MD032}␊ - ␊ - ---␊ - ␊ - + list {MD032}␊ - ␊ - ---␊ - ␊ - - list {MD032}␊ - ␊ - ---␊ - ␊ - 1. list {MD032}␊ - ␊ - ---␊ - ␊ - * list␊ - * list {MD032}␊ - ␊ - ---␊ - ␊ - text␊ - ␊ - 1. list {MD032}␊ - 2. list␊ - ␊ - text␊ - ␊ - * list␊ - * list␊ - * list␊ - ␊ - text␊ - ␊ - * list␊ - with hanging indent␊ - * list␊ - with hanging indent␊ - * list␊ - with hanging indent␊ - ␊ - Note: list without hanging indent violates MD032␊ - ␊ - * list␊ - ␊ - item with blank lines␊ - ␊ - * list␊ - ␊ - item with blank lines␊ - ␊ - text␊ - ␊ - \`\`\`js␊ - /*␊ - * code block␊ - * not a list␊ - */␊ - \`\`\`␊ - ␊ - text␊ - ␊ - * list {MD032} {MD031:64}␊ - ␊ - \`\`\`␊ - code␊ - \`\`\`␊ - ␊ - text␊ - ␊ - \`\`\`␊ - code␊ - \`\`\`␊ - ␊ - * list {MD032} {MD031:72}␊ - ␊ - text␊ - ␊ -

␊ - 1. Not a␊ - 2. list␊ -

␊ - ␊ -

1. Not a list

␊ - ␊ -

␊ - * Not a␊ - * list␊ -

␊ - ␊ -

* Not a list

␊ - ␊ - ␊ - ␊ - * list (on last line without newline) {MD047}␊ - `, - } - -## long-heading-exceptions.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 127', - errorRange: [ - 81, - 47, - ], - fixInfo: null, - lineNumber: 9, - 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: 127', - errorRange: [ - 81, - 47, - ], - fixInfo: null, - lineNumber: 15, - 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: 127', - errorRange: [ - 81, - 47, - ], - fixInfo: null, - lineNumber: 21, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# Heading␊ - ␊ - Text␊ - ␊ - ## Heading heading heading heading heading heading heading heading heading heading heading heading heading heading heading heading␊ - ␊ - 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}␊ - ␊ - ## Heading heading␊ - ␊ - 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}␊ - ␊ - ### Heading heading heading heading heading heading heading heading heading heading heading heading heading heading heading heading heading␊ - ␊ - 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}␊ - ␊ - ␊ - `, - } - -## long-lines-long-reference-definitions-stern.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Long Lines Long Reference Definitions Stern␊ - ␊ - [Link][short-reference-definition]␊ - ␊ - [Link][long-reference-definition]␊ - ␊ - [Link][long-reference-definition-split]␊ - ␊ - ![Image][long-reference-definition-image]␊ - ␊ - [short-reference-definition]: https://example.com/short␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-split]:␊ - https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-image]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/image␊ - ␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - ␊ - ␊ - `, - } - -## long-lines-long-reference-definitions-strict.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Long Lines Long Reference Definitions Strict␊ - ␊ - [Link][short-reference-definition]␊ - ␊ - [Link][long-reference-definition]␊ - ␊ - [Link][long-reference-definition-split]␊ - ␊ - ![Image][long-reference-definition-image]␊ - ␊ - [short-reference-definition]: https://example.com/short␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-split]:␊ - https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-image]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/image␊ - ␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - ␊ - ␊ - `, - } - -## long-lines-long-reference-definitions.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Long Lines Long Reference Definitions␊ - ␊ - [Link][short-reference-definition]␊ - ␊ - [Link][long-reference-definition]␊ - ␊ - [Link][long-reference-definition-split]␊ - ␊ - ![Image][long-reference-definition-image]␊ - ␊ - [short-reference-definition]: https://example.com/short␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-split]:␊ - https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - [long-reference-definition-image]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long/image␊ - ␊ - [long-reference-definition]: https://example.com/long/long/long/long/long/long/long/long/long/long/long/long/long␊ - `, - } - -## long-lines-short-code.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 92', - errorRange: [ - 81, - 12, - ], - fixInfo: null, - lineNumber: 5, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 46', - errorRange: [ - 31, - 16, - ], - fixInfo: null, - lineNumber: 13, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 47', - errorRange: [ - 31, - 17, - ], - fixInfo: null, - lineNumber: 24, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# Long Lines, Short Code␊ - ␊ - 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}␊ - ␊ - Text␊ - ␊ - Code code code code␊ - ␊ - Text␊ - ␊ - Code code code code code code code {MD013}␊ - ␊ - Text␊ - ␊ - \`\`\`text␊ - Code code code code code␊ - \`\`\`␊ - ␊ - Text␊ - ␊ - \`\`\`text␊ - Code code code code code code code code {MD013}␊ - \`\`\`␊ - ␊ - ␊ - `, - } - -## long-lines-short-headings.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 92', - errorRange: [ - 81, - 12, - ], - 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: 30; Actual: 38', - errorRange: [ - 31, - 8, - ], - fixInfo: null, - lineNumber: 9, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 36', - errorRange: [ - 31, - 6, - ], - fixInfo: null, - lineNumber: 13, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 53', - errorRange: [ - 31, - 23, - ], - fixInfo: null, - lineNumber: 17, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# Long Lines, Short Headings␊ - ␊ - Text text text text text text text text text text text text text text text text text {MD013}␊ - ␊ - ## Short heading text text text␊ - ␊ - Text␊ - ␊ - ## Long heading text text text {MD013}␊ - ␊ - Text␊ - ␊ - ## Long heading text text {MD013} ##␊ - ␊ - Text␊ - ␊ - Long heading of text text text text text text {MD013}␊ - -----------------------------------------------------␊ - ␊ - Text␊ - ␊ - ␊ - `, - } - -## long-lines-stern.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 82', - errorRange: [ - 81, - 2, - ], - fixInfo: null, - lineNumber: 5, - 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: 81', - errorRange: [ - 81, - 1, - ], - fixInfo: null, - lineNumber: 7, - 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: 87', - errorRange: [ - 81, - 7, - ], - fixInfo: null, - lineNumber: 13, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 31', - errorRange: [ - 31, - 1, - ], - fixInfo: null, - lineNumber: 17, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 20; Actual: 21', - errorRange: [ - 21, - 1, - ], - fixInfo: null, - lineNumber: 26, - 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: 84', - errorRange: [ - 81, - 4, - ], - fixInfo: null, - lineNumber: 32, - 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: 84', - errorRange: [ - 81, - 4, - ], - fixInfo: null, - lineNumber: 35, - 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: 85', - errorRange: [ - 81, - 5, - ], - fixInfo: null, - lineNumber: 38, - 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: 84', - errorRange: [ - 81, - 4, - ], - fixInfo: null, - lineNumber: 42, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# Long Lines Stern␊ - ␊ - 12345678901234567890123456789012345678901234567890123456789012345678901234567890␊ - ␊ - This line is too long. text text text text text text text text text text text text␊ - ␊ - This line is barely too long. text text text text text text text text text text t␊ - ␊ - This line is just okay. text text text text text text text text text text text t␊ - ␊ - This line is not a problem. text text text text text text text text text text t␊ - ␊ - This line is too long. texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext␊ - ␊ - ThisLineIsOkaytexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext␊ - ␊ - ## This heading is way too long␊ - ␊ - ## This heading is long but ok␊ - ␊ - ## This heading is short + ok␊ - ␊ - ## ThisTooLongHeadingIsOkaytext␊ - ␊ - \`\`\`text␊ - This code is too long␊ - This code is a-okay.␊ - This code is short.␊ - ThisTooLongCodeIsOkay.␊ - \`\`\`␊ - ␊ - * This list item line is too long. text text text text text text text text text text␊ - * This list item line is okay. text text text text text text text text text␊ - This list item line is okay. text text text text text text text text text␊ - This list item line is too long. text text text text text text text text text text␊ - ThisTooLongListItemLineIsOkaytexttexttexttexttexttexttexttexttexttexttexttexttext␊ - ␊ - > This blockquote line is too long. text text text text text text text text text text␊ - > This blockquote line is okay. text text text text text text text text text␊ - > ThisTooLongBlockquoteLineIsOkaytexttexttexttexttexttexttexttexttexttexttexttexttext␊ - >␊ - > > This double blockquote line is too long. text text text text text text text text␊ - > > This double blockquote line is okay. text text text text text text text␊ - > > ThisTooLongDoubleBlockquoteLineIsOkaytexttexttexttexttexttexttexttexttexttexttext␊ - ␊ - ThisLineIsTooLongButIsNotReportedBecauseItLooksLikePartOfAListItemtexttexttexttext␊ - ␊ - {MD013:5}␊ - {MD013:7}␊ - {MD013:13}␊ - {MD013:17}␊ - {MD013:26}␊ - {MD013:32}␊ - {MD013:35}␊ - {MD013:38}␊ - {MD013:42}␊ - ␊ - ␊ - `, - } - -## long-lines-strict.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 82', - errorRange: [ - 81, - 2, - ], - fixInfo: null, - lineNumber: 5, - 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: 86', - errorRange: [ - 81, - 6, - ], - fixInfo: null, - lineNumber: 7, - 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: 81', - errorRange: [ - 81, - 1, - ], - fixInfo: null, - lineNumber: 9, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 30; Actual: 31', - errorRange: [ - 31, - 1, - ], - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 20; Actual: 21', - errorRange: [ - 21, - 1, - ], - fixInfo: null, - lineNumber: 22, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# Long Lines Strict␊ - ␊ - 12345678901234567890123456789012345678901234567890123456789012345678901234567890␊ - ␊ - This line is too long. text text text text text text text text text text text text␊ - ␊ - This line is way too long. text text text text text text text text text text text text␊ - ␊ - This line is barely too long. text text text text text text text text text text t␊ - ␊ - This line is just okay. text text text text text text text text text text text t␊ - ␊ - This line is not a problem. text text text text text text text text text text t␊ - ␊ - ## This heading is way too long␊ - ␊ - ## This heading is long but ok␊ - ␊ - ## This heading is short + ok␊ - ␊ - \`\`\`text␊ - This code is too long␊ - This code is a-okay.␊ - This code is short.␊ - \`\`\`␊ - ␊ - {MD013:5}␊ - {MD013:7}␊ - {MD013:9}␊ - {MD013:15}␊ - {MD013:22}␊ - ␊ - ␊ - `, - } - -## long_lines.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 97', - errorRange: [ - 81, - 17, - ], - 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: 110', - errorRange: [ - 81, - 30, - ], - fixInfo: null, - lineNumber: 11, - 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: 117', - errorRange: [ - 81, - 37, - ], - fixInfo: null, - lineNumber: 14, - 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: 107', - errorRange: [ - 81, - 27, - ], - fixInfo: null, - lineNumber: 17, - 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: 112', - errorRange: [ - 81, - 32, - ], - fixInfo: null, - lineNumber: 19, - 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: 104', - errorRange: [ - 81, - 24, - ], - 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: null, - errorDetail: 'Expected: 80; Actual: 109', - errorRange: [ - 81, - 29, - ], - fixInfo: null, - lineNumber: 29, - 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: 96', - errorRange: [ - 81, - 16, - ], - fixInfo: null, - lineNumber: 64, - 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: 96', - errorRange: [ - 81, - 16, - ], - fixInfo: null, - lineNumber: 68, - 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: 96', - errorRange: [ - 81, - 16, - ], - fixInfo: null, - lineNumber: 69, - 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: 105', - errorRange: [ - 81, - 25, - ], - fixInfo: null, - lineNumber: 72, - 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: 105', - errorRange: [ - 81, - 25, - ], - fixInfo: null, - lineNumber: 74, - 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: 113', - errorRange: [ - 81, - 33, - ], - fixInfo: null, - lineNumber: 80, - 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: 116', - errorRange: [ - 81, - 36, - ], - fixInfo: null, - lineNumber: 82, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: indented; Actual: fenced', - errorRange: null, - fixInfo: null, - lineNumber: 13, - 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: asterisk; Actual: underscore', - errorRange: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '*', - }, - lineNumber: 35, - 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: [ - 114, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 114, - insertText: '*', - }, - lineNumber: 35, - 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, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '*', - }, - lineNumber: 41, - 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: [ - 129, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 129, - insertText: '*', - }, - lineNumber: 41, - 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: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: '*', - }, - lineNumber: 43, - 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: [ - 127, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 127, - insertText: '*', - }, - lineNumber: 43, - 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: 39, - 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: [ - 110, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 110, - insertText: '**', - }, - lineNumber: 39, - ruleDescription: 'Strong style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md', - ruleNames: [ - 'MD050', - 'strong-style', - ], - }, - { - errorContext: '[Link to broken label][notlabel]', - errorDetail: 'Missing link or image reference definition: "notlabel"', - errorRange: [ - 1, - 32, - ], - fixInfo: null, - lineNumber: 27, - 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', - ], - }, - ], - fixed: `# Long Lines␊ - ␊ - This is a very very very very very very very very very very very very very very long line {MD013}␊ - ␊ - This line however, while very long, doesn't have whitespace after the 80th columnwhichallowsforURLsandotherlongthings.␊ - ␊ - [This long line is comprised entirely of a link](https://example.com "This is the long link's title")␊ - ␊ - > [This long line is comprised entirely of a link](https://example.com "This is the long link's title")␊ - ␊ - [This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013}␊ - ␊ - \`\`\`markdown␊ - [This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013} {MD046:13}␊ - \`\`\`␊ - ␊ - This [long line is comprised mostly of a link](https://example.com "This is the long link's title") {MD013}␊ - ␊ - [This long line is comprised mostly of a link](https://example.com "This is the long link's title") text {MD013}␊ - ␊ - This long line includes a simple [reference][label] link and is long enough to violate the rule. {MD013}␊ - ␊ - [This long line is comprised entirely of a reference link and is long enough to violate the rule][label]␊ - ␊ - [label]: https://example.org "Title for a link reference that is itself long enough to violate the rule"␊ - ␊ - [Link to broken label][notlabel] {MD052}␊ - ␊ - [notlabel\\]: notlink "Invalid syntax for a link label because the right bracket is backslash-escaped {MD013}"␊ - ␊ - [](https://example.com "This long line is comprised entirely of a link with empty text and a non-empty title")␊ - ␊ - *[This long line is comprised of an emphasized link](https://example.com "This is the long link's title")*␊ - ␊ - *[This long line is comprised of an emphasized link {MD049}](https://example.com "This is the long link's title")*␊ - ␊ - **[This long line is comprised of a bolded link](https://example.com "This is the long link's title")**␊ - ␊ - **[This long line is comprised of a bolded link {MD050}](https://example.com "This is the long link's title")**␊ - ␊ - ***[This long line is comprised of an emphasized and bolded link {MD049}](https://example.com "This is the long link's title")***␊ - ␊ - ***[This long line is comprised of an emphasized and bolded link {MD049}](https://example.com "This is the long link's title")***␊ - ␊ - *[](https://example.com "This long line is comprised of an emphasized link with empty text and a non-empty title")*␊ - ␊ - **[](https://example.com "This long line is comprised of a bolded link with empty text and a non-empty title")**␊ - ␊ - ![Alternate text for long line image example](https://example.com "Title text for long line image example")␊ - ␊ - *![Alternate text for long line image example](https://example.com "Title text for long line image example")*␊ - ␊ - **![Alternate text for long line image example](https://example.com "Title text for long line image example")**␊ - ␊ - ![Reference style for long line image which is itself an example of a long line with content][image]␊ - ␊ - *![Reference style for long line image which is itself an example of a long line with content][image]*␊ - ␊ - **![Reference style for long line image which is itself an example of a long line with content][image]**␊ - ␊ - [image]: https://example.com "Title text for long line image example using reference style for image details"␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - Long lines inside HTML comments should also ␊ - ␊ - ␊ - ␊ - https://example.com/long-line-comprised-entirely-of-a-bare-link-long-line-comprised-entirely-of-a-bare-link␊ - ␊ - Long {MD013}␊ - ␊ - Long https://example.com/long-line-comprised-mostly-of-a-bare-link-long-line-comprised-mostly-of-a-bare-link {MD013}␊ - ␊ - ␊ - `, - } - -## long_lines_100.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 100; Actual: 111', - errorRange: [ - 101, - 11, - ], - 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: `# long_lines_100␊ - ␊ - This is a very very very very very very very very long line over 80 chars but less than 100␊ - ␊ - This is a very very very very very very very very very very long line over 80 chars, and also over 100. {MD013}␊ - ␊ - This is a very very very very very very very very very long line that is exactly 100 characters long␊ - ␊ - This line however, while very long, doesn't have whitespace after the 100th columnwhichallowsforURLsandotherlongthings.␊ - ␊ - ␊ - `, - } - -## long_lines_code-default.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 128', - errorRange: [ - 81, - 48, - ], - fixInfo: null, - lineNumber: 5, - 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: 139', - errorRange: [ - 81, - 59, - ], - fixInfo: null, - lineNumber: 11, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 16, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 17, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 18, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 19, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 20, - 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: 128', - errorRange: [ - 81, - 48, - ], - fixInfo: null, - lineNumber: 22, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 26, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 27, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 28, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 29, - 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: 111', - errorRange: [ - 81, - 31, - ], - fixInfo: null, - lineNumber: 30, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# long_lines_code-default␊ - ␊ - This is a short line.␊ - ␊ - This is a very very very very very very very very very very very very very very very very very very very very long line. {MD013}␊ - ␊ - This is a short line.␊ - ␊ - \`\`\`text␊ - Here is a short line in a code block.␊ - Here is a very very very very very very very very very very very very very very very very very very very long line in a code block. {MD013}␊ - \`\`\`␊ - ␊ - This is a short line.␊ - ␊ - | First Heading | Second Heading | Third Heading | Fourth Heading | Fifth Heading | Sixth Heading | {MD013}␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- | {MD013}␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | {MD013}␊ - | ============== | ============== | ============== | ============== | ============== | ============== | {MD013}␊ - | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | {MD013}␊ - ␊ - This is a very very very very very very very very very very very very very very very very very very very very long line. {MD013}␊ - ␊ - Another line.␊ - ␊ - | First Heading | Second Heading | Third Heading | Fourth Heading | Fifth Heading | Sixth Heading | {MD013}␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- | {MD013}␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | {MD013}␊ - | ============== | ============== | ============== | ============== | ============== | ============== | {MD013}␊ - | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | {MD013}␊ - `, - } - -## long_lines_code.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 80; Actual: 128', - errorRange: [ - 81, - 48, - ], - fixInfo: null, - lineNumber: 5, - 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: 128', - errorRange: [ - 81, - 48, - ], - fixInfo: null, - lineNumber: 33, - ruleDescription: 'Line length', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', - ruleNames: [ - 'MD013', - 'line-length', - ], - }, - ], - fixed: `# long_lines_code␊ - ␊ - This is a short line.␊ - ␊ - This is a very very very very very very very very very very very very very very very very very very very very long line. {MD013}␊ - ␊ - This is a short line.␊ - ␊ - \`\`\`text␊ - Here is a short line in a code block.␊ - Here is a very very very very very very very very very very very very very very very very very very very long line in a code block.␊ - \`\`\`␊ - ␊ - \`\`\`text␊ - test␊ - test␊ - ␊ - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut␊ - \`\`\`␊ - ␊ - This is a short line.␊ - ␊ - | First Heading | Second Heading | Third Heading | Fourth Heading | Fifth Heading | Sixth Heading |␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | ============== | ============== | ============== | ============== | ============== | ============== |␊ - | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell |␊ - ␊ - This is a very very very very very very very very very very very very very very very very very very very very long line. {MD013}␊ - ␊ - Another line.␊ - ␊ - | First Heading | Second Heading | Third Heading | Fourth Heading | Fifth Heading | Sixth Heading |␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell |␊ - | ============== | ============== | ============== | ============== | ============== | ============== |␊ - | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell | Footer Cell |␊ - ␊ - ␊ - `, - } - -## markdown-extra-footnote.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: '(parenthesized footnote)[x^y]', - errorRange: [ - 15, - 29, - ], - fixInfo: { - deleteCount: 29, - editColumn: 15, - insertText: '[parenthesized footnote](x^y)', - }, - lineNumber: 7, - 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: '(is this)[z]', - errorRange: [ - 5, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 5, - insertText: '[is this](z)', - }, - lineNumber: 9, - ruleDescription: 'Reversed link syntax', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md', - ruleNames: [ - 'MD011', - 'no-reversed-links', - ], - }, - ], - fixed: `# Heading␊ - ␊ - Text with Markdown Extra footnote[^1]␊ - ␊ - Text with (parenthesized footnote)[^2]␊ - ␊ - This is not a [parenthesized footnote](x^y) {MD011}␊ - ␊ - Nor [is this](z) {MD011}␊ - ␊ - [^1]: Footnote␊ - [^2]: Another footnote␊ - `, - } - -## markdown-in-html.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: atx; Actual: atx_closed', - errorRange: null, - fixInfo: null, - lineNumber: 32, - ruleDescription: 'Heading style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md', - ruleNames: [ - 'MD003', - 'heading-style', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: plus; Actual: dash', - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: '+', - }, - lineNumber: 25, - 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: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - insertText: '+', - }, - lineNumber: 26, - 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: 1; Actual: 0', - errorRange: [ - 1, - 2, - ], - fixInfo: null, - lineNumber: 26, - 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: 25, - ruleDescription: 'Unordered list indentation', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md007.md', - ruleNames: [ - 'MD007', - 'ul-indent', - ], - }, - { - errorContext: '## Heading 2b {MD019} {MD022}', - errorDetail: null, - errorRange: [ - 4, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 24, - 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 3b {MD003} {MD021...', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 32, - 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: '...b {MD003} {MD021} {MD022} ###', - errorDetail: null, - errorRange: [ - 41, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 41, - }, - lineNumber: 32, - 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 2b {MD019} {MD022}', - errorDetail: 'Expected: 1; Actual: 0; 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: '### Heading 3b {MD003} {MD021} {MD022} ###', - errorDetail: 'Expected: 1; Actual: 0; Below', - errorRange: null, - fixInfo: { - insertText: `␊ - `, - lineNumber: 33, - }, - lineNumber: 32, - 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: '- Text *text* text * text * te...', - errorDetail: null, - errorRange: null, - fixInfo: { - insertText: `␊ - `, - }, - lineNumber: 25, - 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: 'https://example.com/', - errorDetail: null, - errorRange: [ - 8, - 20, - ], - fixInfo: { - deleteCount: 20, - editColumn: 8, - 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: '* t', - errorDetail: null, - errorRange: [ - 21, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 22, - }, - lineNumber: 25, - 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: 't *', - errorDetail: null, - errorRange: [ - 26, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - lineNumber: 25, - 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: '** t', - errorDetail: null, - errorRange: [ - 35, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 37, - }, - lineNumber: 25, - 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: 't **', - errorDetail: null, - errorRange: [ - 41, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 42, - }, - lineNumber: 25, - 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: '` text `', - errorDetail: null, - errorRange: [ - 63, - 10, - ], - fixInfo: { - deleteCount: 8, - editColumn: 64, - insertText: 'text', - }, - 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: '[ link ]', - errorDetail: null, - errorRange: [ - 30, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 30, - }, - lineNumber: 26, - 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: [ - 35, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 35, - }, - lineNumber: 26, - 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: `# Markdown in HTML␊ - ␊ - Text␊ - ␊ - + Item␊ - ␊ - Text␊ - ␊ -

␊ - ## Heading 2a␊ - - Text *text* text * text * text ** text ** text \`text\` text \` text \` text␊ - - Text https://example.com/ [ link ](https://example.com/)␊ -

␊ - ␊ -

␊ - ### Heading 3a ###␊ - Text␊ -

␊ - ␊ - Text␊ - ␊ -

␊ - ␊ - ## Heading 2b {MD019} {MD022}␊ - ␊ - + Text *text* text *text* text **text** text \`text\` text \`text\` text {MD004} {MD007} {MD032} {MD037} {MD038}␊ - + Text [link](https://example.com/) {MD004} {MD005} {MD034} {MD039}␊ - ␊ -

␊ - ␊ -

␊ - ␊ - ### Heading 3b {MD003} {MD021} {MD022} ###␊ - ␊ - Text␊ - ␊ -

␊ - ␊ - ␊ - `, - } - -## mathjax-scenarios.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Mathjax Scenarios␊ - ␊ - $1 * 2 * 3$␊ - ␊ - $$1 * 2 * 3$$␊ - ␊ - $$1␊ - + 2␊ - + 3$$␊ - ␊ - $$␊ - 1␊ - $$$$␊ - 2␊ - $$␊ - `, - } - -## md003-escaped-trailing-hash.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: atx; Actual: atx_closed', - errorRange: null, - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Heading style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md003.md', - ruleNames: [ - 'MD003', - 'heading-style', - ], - }, - { - errorContext: '...railing hash no space{MD020}##', - errorDetail: null, - errorRange: [ - 46, - 3, - ], - fixInfo: { - deleteCount: 48, - editColumn: 1, - insertText: '### Heading with trailing hash no space{MD020} ##', - }, - lineNumber: 17, - 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: '...with trailing hash {MD020} \\##', - errorDetail: null, - errorRange: [ - 41, - 2, - ], - fixInfo: { - deleteCount: 42, - editColumn: 1, - insertText: '### Heading with trailing hash {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: '...ailing hash no space{MD020}\\##', - errorDetail: null, - errorRange: [ - 48, - 2, - ], - fixInfo: { - deleteCount: 49, - editColumn: 1, - insertText: '### Heading with trailing hash no space{MD020} \\# #', - }, - lineNumber: 21, - 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', - ], - }, - ], - fixed: `# Heading␊ - ␊ - ## Heading with trailing hash \\#␊ - ␊ - ## Heading with trailing hash no space\\#␊ - ␊ - ### Heading with trailing hash \\#\\#␊ - ␊ - ### Heading with trailing hash no space\\#\\#␊ - ␊ - ### Heading with trailing hash #\\#␊ - ␊ - ### Heading with trailing hash no space#\\#␊ - ␊ - ### Heading with trailing hash {MD003} ##␊ - ␊ - ### Heading with trailing hash no space{MD020} ##␊ - ␊ - ### Heading with trailing hash {MD020} \\# #␊ - ␊ - ### Heading with trailing hash no space{MD020} \\# #␊ - `, - } - -## md004-list-items-in-blockquote.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Heading␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - >- Item␊ - >- Item␊ - ␊ - Text␊ - ␊ - > - Item␊ - > - Item␊ - ␊ - Text␊ - ␊ - > > - Item␊ - > > - Item␊ - ␊ - Text␊ - `, - } - -## md022-line-number-out-of-range.md - -> Snapshot 1 - - { - errors: [], - fixed: `--␊ - ␊ - `, - } - -## md033-cannot-read-property-of-undefined.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Element: br', - errorRange: [ - 1, - 5, - ], - 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: i', - errorRange: [ - 11, - 3, - ], - 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: br', - errorRange: [ - 1, - 5, - ], - 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: b', - errorRange: [ - 11, - 3, - ], - 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', - ], - }, - ], - fixed: `# Heading␊ - ␊ - Head | Head␊ - --------|------------␊ -
| {MD033}␊ - ␊ - {MD033} | Head␊ - --------|------------␊ -
| {MD033}␊ - text | text␊ - {MD033} | text␊ - ␊ - ␊ - `, - } - -## md036-emphasis-as-heading.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: 'Emphasis as heading {MD036}', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 7, - 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: 'Emphasis as heading {MD036}', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 17, - 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', - ], - }, - ], - fixed: `# Simplified examples from issue #26␊ - ␊ - * Item␊ - * **Emphasized item**␊ - * Item␊ - ␊ - _Emphasis as heading {MD036}_␊ - ␊ - 1. **Emphasized item**␊ - * Item␊ - * Item␊ - 1. **Emphasized item**␊ - * Item␊ - * **Emphasized item**␊ - * Item␊ - ␊ - **Emphasis as heading {MD036}**␊ - `, - } - -## md040-allowed_languages.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '` scss`', - errorDetail: null, - errorRange: [ - 17, - 7, - ], - fixInfo: { - deleteCount: 5, - editColumn: 18, - insertText: 'scss', - }, - 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: null, - errorDetail: '"html" is not allowed', - errorRange: null, - fixInfo: null, - lineNumber: 5, - 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: '"css" is not allowed', - errorRange: null, - fixInfo: null, - lineNumber: 11, - 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: '"MD" is not allowed', - errorRange: null, - fixInfo: null, - lineNumber: 17, - 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: '"ts" is not allowed', - errorRange: null, - fixInfo: null, - lineNumber: 23, - 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: `# md040-allowed_languages.md␊ - ␊ - Code block with \`html\` not in allowed_languages:␊ - ␊ - \`\`\`html␊ -

markdownlint

{MD040:5}␊ - \`\`\`␊ - ␊ - Code block with \`css\` not in allowed_languages:␊ - ␊ - \`\`\`css␊ - body {} {MD040:11}␊ - \`\`\`␊ - ␊ - Code block with \`MD\` (uppercase) not in allowed_languages:␊ - ␊ - \`\`\`MD␊ - hello md {MD040:17}␊ - \`\`\`␊ - ␊ - Code block with \`ts\` (lowercase) not in allowed_languages:␊ - ␊ - \`\`\`ts␊ - let foo = "bar"; {MD040:23}␊ - \`\`\`␊ - ␊ - Code block with \`js\` in allowed_languages:␊ - ␊ - \`\`\`js␊ - console.log('markdownlint')␊ - \`\`\`␊ - ␊ - Code block with \`js foo\` allowed_languages:␊ - ␊ - \`\`\`js foo␊ - console.log('bar')␊ - \`\`\`␊ - ␊ - Code block with \`scss\` (prefixed by a space) in allowed_languages: {MD038}␊ - ␊ - \`\`\` scss␊ - body {␊ - h1 {␊ - color: red;␊ - }␊ - }␊ - \`\`\`␊ - ␊ - Code block with \`md\` (lowercase) in allowed_languages:␊ - ␊ - \`\`\`md␊ - hello md␊ - \`\`\`␊ - ␊ - Code block with \`TS\` (uppercase) in allowed_languages:␊ - ␊ - \`\`\`TS␊ - body {␊ - h1 {␊ - color: red;␊ - }␊ - }␊ - \`\`\`␊ - ␊ - ␊ - `, - } - -## md040-language_only.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 1', - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 11, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - { - errorContext: null, - errorDetail: 'Info string contains more than language: "```html version=5"', - errorRange: null, - fixInfo: null, - lineNumber: 17, - 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: `# md040-language_only.md␊ - ␊ - Fence code block information with leading whitespace:␊ - ␊ - \`\`\` html␊ -

markdownlint

␊ - \`\`\`␊ - ␊ - Fence code block information with trailing whitespace:␊ - ␊ - \`\`\`css␊ - body {} {MD009:11}␊ - \`\`\`␊ - ␊ - Fence code block information with extra data:␊ - ␊ - \`\`\`html version=5␊ - MarkdownLint {MD040:17}␊ - \`\`\`␊ - ␊ - Fence code block information without whitespaces and extra data:␊ - ␊ - \`\`\`css␊ - a {}␊ - \`\`\`␊ - ␊ - ␊ - `, - } - -## md041-ignore-leading-comments-combined.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 5', - errorRange: [ - 23, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 23, - }, - lineNumber: 9, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `# Heading # ␊ - ␊ - Text text text␊ - ␊ - Embedded tab␊ - ␊ - Text text text␊ - ␊ - Trailing space {MD009}␊ - ␊ - Text text text␊ - ␊ - ␊ - `, - } - -## md041-ignore-leading-comments-violation.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 5', - errorRange: [ - 23, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 23, - }, - lineNumber: 9, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - { - errorContext: 'Text text text {MD041}', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 3, - 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: `␊ - ␊ - Text text text {MD041}␊ - ␊ - Embedded tab␊ - ␊ - Text text text␊ - ␊ - Trailing space {MD009}␊ - ␊ - Text text text␊ - ␊ - ␊ - `, - } - -## md041-ignore-leading-comments.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 5', - errorRange: [ - 23, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 23, - }, - lineNumber: 11, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `␊ - ␊ - # Heading␊ - ␊ - Text text text␊ - ␊ - Embedded tab␊ - ␊ - Text text text␊ - ␊ - Trailing space {MD009}␊ - ␊ - Text text text␊ - ␊ - ␊ - `, - } - -## md041-yaml-title-and-first-line-heading.md - -> Snapshot 1 - - { - errors: [], - fixed: `---␊ - path: "/post"␊ - date: "2012-06-21T10:14:00.000+02:00"␊ - title: "First level heading"␊ - ---␊ - ␊ - ## Second level heading␊ - ␊ - ␊ - `, - } - -## md052-invalid-range-bug.md - -> Snapshot 1 - - { - errors: [], - fixed: `# MD052 Invalid Range Bug␊ - ␊ - * [0, N)␊ - * \`inputs[0][d]\`␊ - * \`inputs[k]\`␊ - `, - } - -## micromark-regressions.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Micromark Regressions␊ - ␊ - ## ␊ - ␊ - * List item␊ - :::Directive␊ - ␊ - Text␊ - `, - } - -## mixed-emphasis-markers.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: asterisk; Actual: underscore', - errorRange: [ - 28, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 28, - insertText: '*', - }, - lineNumber: 3, - 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: [ - 34, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 34, - insertText: '*', - }, - lineNumber: 3, - 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: [ - 16, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 16, - 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: asterisk; Actual: underscore', - errorRange: [ - 21, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - 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: asterisk; Actual: underscore', - errorRange: [ - 28, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 28, - insertText: '*', - }, - lineNumber: 7, - 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: [ - 34, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 34, - insertText: '*', - }, - lineNumber: 7, - 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: [ - 16, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 16, - 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: [ - 47, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 47, - 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: [ - 16, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 16, - 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: asterisk; Actual: underscore', - errorRange: [ - 49, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 49, - 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: [ - 16, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 16, - insertText: '__', - }, - lineNumber: 11, - 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: [ - 50, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 50, - insertText: '__', - }, - lineNumber: 11, - 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: [ - 28, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 28, - insertText: '__', - }, - lineNumber: 15, - 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: [ - 35, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 35, - insertText: '__', - }, - lineNumber: 15, - 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: [ - 29, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 29, - 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: underscore; Actual: asterisk', - errorRange: [ - 36, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 36, - insertText: '__', - }, - lineNumber: 17, - ruleDescription: 'Strong style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md', - ruleNames: [ - 'MD050', - 'strong-style', - ], - }, - ], - fixed: `# Mixed Emphasis Markers␊ - ␊ - This paragraph *uses* both *kinds* of emphasis marker. {MD049}␊ - ␊ - This paragraph *uses* both *kinds* of emphasis marker. {MD049}␊ - ␊ - This paragraph *nests both *kinds* of emphasis* marker. {MD049}␊ - ␊ - This paragraph *nests both __kinds__ of emphasis* marker.␊ - ␊ - This paragraph __nests both __kinds__ of emphasis__ marker. {MD050}␊ - ␊ - This paragraph *nests both *kinds* of emphasis* marker. {MD049}␊ - ␊ - This paragraph *nests both __kinds__ of emphasis* marker. {MD049} {MD050}␊ - ␊ - This paragraph __nests both __kinds__ of emphasis__ marker. {MD050}␊ - ␊ - ␊ - `, - } - -## mixed_heading_types_atx.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: atx; Actual: atx_closed', - 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; 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␊ - ␊ - ## Heading 2 {MD003} ##␊ - ␊ - Heading 3 {MD003}␊ - -----------------␊ - `, - } - -## mixed_heading_types_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}␊ - -----------------␊ - `, - } - -## mixed_heading_types_setext.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: setext; Actual: atx', - errorRange: null, - fixInfo: null, - lineNumber: 4, - 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_closed', - errorRange: null, - fixInfo: null, - lineNumber: 6, - 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} ##␊ - `, - } - -## no-alt-text.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: null, - errorRange: [ - 1, - 14, - ], - fixInfo: null, - lineNumber: 5, - 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: null, - errorRange: [ - 1, - 22, - ], - fixInfo: null, - lineNumber: 9, - 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: null, - errorRange: [ - 30, - 14, - ], - fixInfo: null, - lineNumber: 11, - 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: null, - errorRange: [ - 40, - 12, - ], - fixInfo: null, - lineNumber: 15, - 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: null, - errorRange: [ - 50, - 10, - ], - 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: null, - errorRange: [ - 39, - 14, - ], - fixInfo: null, - lineNumber: 23, - 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: null, - errorRange: null, - fixInfo: null, - lineNumber: 28, - 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: null, - errorRange: [ - 1, - 25, - ], - fixInfo: null, - lineNumber: 37, - 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: null, - errorRange: [ - 33, - 23, - ], - fixInfo: null, - lineNumber: 45, - 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: null, - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 48, - 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: null, - errorRange: [ - 1, - 4, - ], - fixInfo: null, - lineNumber: 52, - 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: null, - errorRange: [ - 37, - 21, - ], - fixInfo: null, - lineNumber: 65, - 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: null, - errorRange: [ - 3, - 23, - ], - fixInfo: null, - lineNumber: 68, - 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', - ], - }, - ], - fixed: `# Images with and without alternate text␊ - ␊ - ![Alternate text](image.jpg)␊ - ␊ - ![](image.jpg) {MD045}␊ - ␊ - ![Alternate text](image.jpg "Title")␊ - ␊ - ![](image.jpg "Title") {MD045}␊ - ␊ - Image without alternate text ![](image.jpg) in a sentence. {MD045}␊ - ␊ - Reference image with alternate text ![Alternate text][notitle]␊ - ␊ - Reference image without alternate text ![][notitle] {MD045}␊ - ␊ - Reference image with alternate text and title ![Alternate text][title]␊ - ␊ - Reference image without alternate text and title ![][title] {MD045}␊ - ␊ - Link to image with alternate text [![Alternate text](image.jpg)](image.jpg)␊ - ␊ - Link to image without alternate text [![](image.jpg)](image.jpg) {MD045}␊ - ␊ - Multi-line image with alternate text ![Alternate text](image.jpg "Title"␊ - )␊ - ␊ - Multi-line image without alternate text ![](image.jpg "Title"␊ - ) {MD045:28}␊ - ␊ - ␊ - ␊ - Image tag with alt attribute set to text␊ - Descriptive text␊ - ␊ - Image tag with alt attribute not set␊ - {MD045}␊ - ␊ - Image tag with alt attribute set to decorative with an empty double-quote string␊ - ␊ - ␊ - Image tag with alt attribute set to decorative with an empty single-quote string␊ - ␊ - ␊ - Image tag with no alt attribute {MD045}␊ - ␊ - Multi-line image tag with no alt text␊ - {MD045:48}␊ - ␊ - Multi-line image tag with alt attribute not set␊ - {MD045:52}␊ - ␊ - Multi-line image tag with alt text␊ - ␊ - ␊ - Uppercase image tag with alt attribute set␊ - Descriptive text␊ - ␊ - Uppercase image tag with no alt set {MD045}␊ - ␊ -

␊ - {MD045}␊ -

␊ - ␊ - ␊ - ␊ - [notitle]: image.jpg␊ - [title]: image.jpg "Title"␊ - `, - } - -## no-multiple-blanks-maximum.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 4', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 16, - 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: 3; Actual: 4', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 21, - 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: 3; Actual: 5', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 22, - 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: 3; Actual: 4', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 27, - 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: 3; Actual: 5', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 28, - 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: 3; Actual: 6', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 29, - 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: 3; Actual: 4', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 36, - ruleDescription: 'Multiple consecutive blank lines', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md', - ruleNames: [ - 'MD012', - 'no-multiple-blanks', - ], - }, - ], - fixed: `# Heading␊ - ␊ - Text␊ - ␊ - Text␊ - ␊ - ␊ - Text␊ - ␊ - ␊ - ␊ - Text␊ - ␊ - ␊ - ␊ - Text {MD012:16}␊ - ␊ - ␊ - ␊ - Text {MD012:21} {MD012:22}␊ - ␊ - ␊ - ␊ - Text {MD012:27} {MD012:28} {MD012:29}␊ - ␊ - Text␊ - ␊ - ␊ - ␊ - Text {MD012:36}␊ - ␊ - ␊ - ␊ - Text␊ - ␊ - ␊ - Text␊ - ␊ - Text␊ - ␊ - ␊ - `, - } - -## no-multiple-blanks.md - -> Snapshot 1 - - { - errors: [ - { - 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: 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: 'Expected: 1; Actual: 3', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 11, - 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: 1; Actual: 2', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 14, - 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: 1; Actual: 3', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 15, - 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: 1; Actual: 4', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 16, - 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: 1; Actual: 2', - errorRange: null, - fixInfo: { - deleteCount: -1, - }, - lineNumber: 21, - ruleDescription: 'Multiple consecutive blank lines', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md012.md', - ruleNames: [ - 'MD012', - 'no-multiple-blanks', - ], - }, - ], - fixed: `# Heading␊ - ␊ - Text␊ - ␊ - Text␊ - ␊ - Text {MD012:7}␊ - ␊ - Text {MD012:10} {MD012:11}␊ - ␊ - Text {MD012:14} {MD012:15} {MD012:16}␊ - ␊ - Text␊ - ␊ - Text {MD012:21}␊ - ␊ - Text␊ - `, - } - -## no-tabs-edge-case-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: 34', - errorRange: [ - 34, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 34, - 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}␊ - ␊ - ␊ - `, - } - -## no_first_line_heading.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: 'This is a file without a top l...', - 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: `This is a file without a top level heading {MD041}␊ - `, - } - -## no_first_line_top_level_heading.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '## Second level 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', - ], - }, - ], - fixed: `## Second level heading {MD041}␊ - `, - } - -## ordered-list-item-prefix-one.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 9, - 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; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 20, - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 21, - 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; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 26, - 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: 4; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 28, - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 34, - 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; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 40, - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 41, - 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: 4; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 45, - 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: 5; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 46, - 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; Style: 1/1/1', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 56, - 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: 3; Style: 1/1/1', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 57, - 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; Style: 1/1/1', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 60, - 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: 4; Style: 1/1/1', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 61, - 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: 0; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 66, - 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; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 68, - 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: 0; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 72, - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 74, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - text␊ - ␊ - 1. Item␊ - ␊ - text␊ - ␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item {MD029}␊ - 1. Item␊ - 4. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item␊ - 3. Item {MD029}␊ - 1. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - text␊ - ␊ - 4. Item {MD029}␊ - 5. Item {MD029}␊ - ␊ - text␊ - ␊ - - Item␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - - Item␊ - 1. Item␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - - Item␊ - 1. Item␊ - 2. Item {MD029}␊ - 4. Item {MD029}␊ - - Item␊ - ␊ - text␊ - ␊ - 0. Item {MD029}␊ - 1. Item␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 0. Item {MD029}␊ - 1. Item␊ - 3. Item {MD029}␊ - ␊ - ␊ - `, - } - -## ordered-list-item-prefix-one_or_ordered.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 9, - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 27, - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 34, - 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: 4; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 45, - 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: 2; Actual: 5; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 46, - 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: 3; Actual: 4; Style: 1/2/3', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 61, - 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: 2; Actual: 3; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 74, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - text␊ - ␊ - 1. Item␊ - ␊ - text␊ - ␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 1. Item {MD029}␊ - 4. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item␊ - 3. Item {MD029}␊ - 1. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - ␊ - text␊ - ␊ - 4. Item {MD029}␊ - 5. Item {MD029}␊ - ␊ - text␊ - ␊ - - Item␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - - Item␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - - Item␊ - 1. Item␊ - 2. Item␊ - 4. Item {MD029}␊ - - Item␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item␊ - 2. Item␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item␊ - 3. Item {MD029}␊ - `, - } - -## ordered-list-item-prefix-ordered.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 9, - 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: 2; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 15, - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 27, - 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: 2; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 33, - 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: 4; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 35, - 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: 4; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 45, - 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: 2; Actual: 5; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 46, - 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: 2; Actual: 1; Style: 1/2/3', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 52, - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 53, - 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: 3; Actual: 4; Style: 1/2/3', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 61, - 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: 2; Actual: 3; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 74, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - text␊ - ␊ - 1. Item␊ - ␊ - text␊ - ␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item {MD029}␊ - 1. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 1. Item {MD029}␊ - 4. Item␊ - ␊ - text␊ - ␊ - 1. Item␊ - 1. Item {MD029}␊ - 3. Item␊ - 1. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - ␊ - text␊ - ␊ - 4. Item {MD029}␊ - 5. Item {MD029}␊ - ␊ - text␊ - ␊ - - Item␊ - 1. Item␊ - 1. Item {MD029}␊ - 1. Item {MD029}␊ - - Item␊ - 1. Item␊ - 2. Item␊ - 3. Item␊ - - Item␊ - 1. Item␊ - 2. Item␊ - 4. Item {MD029}␊ - - Item␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item␊ - 2. Item␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item␊ - 3. Item {MD029}␊ - ␊ - ␊ - `, - } - -## ordered-list-item-prefix-single-alternate.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 9; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 3, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - 9. Item {MD029}␊ - `, - } - -## ordered-list-item-prefix-zero-alternate.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 11, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 12, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 17, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 18, - 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: 0; Actual: 3; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 19, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - text␊ - ␊ - 0. Item␊ - 0. Item␊ - 0. Item␊ - ␊ - text␊ - ␊ - 1. Item {MD029}␊ - 1. Item {MD029}␊ - 1. Item {MD029}␊ - ␊ - text␊ - ␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - ␊ - `, - } - -## ordered-list-item-prefix-zero.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 9, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 19, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 20, - 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: 0; Actual: 3; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 21, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 26, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 28, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 34, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 39, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 40, - 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: 0; Actual: 3; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 41, - 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: 0; Actual: 4; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 45, - 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: 0; Actual: 5; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 46, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 55, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 56, - 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: 0; Actual: 3; Style: 0/0/0', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 57, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 60, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 3, - 3, - ], - fixInfo: null, - lineNumber: 61, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 67, - 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: 0; Actual: 2; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 68, - 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: 0; Actual: 1; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 73, - 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: 0; Actual: 3; Style: 0/0/0', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 74, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# Ordered list examples␊ - ␊ - text␊ - ␊ - 0. Item␊ - ␊ - text␊ - ␊ - 1. Item {MD029}␊ - ␊ - text␊ - ␊ - 0. Item␊ - 0. Item␊ - 0. Item␊ - ␊ - text␊ - ␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item {MD029}␊ - 0. Item␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 0. Item␊ - 0. Item␊ - 2. Item {MD029}␊ - 0. Item␊ - ␊ - text␊ - ␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - text␊ - ␊ - 4. Item {MD029}␊ - 5. Item {MD029}␊ - ␊ - text␊ - ␊ - - Item␊ - 0. Item␊ - 0. Item␊ - 0. Item␊ - - Item␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - 3. Item {MD029}␊ - - Item␊ - 0. Item␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - - Item␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item {MD029}␊ - 2. Item {MD029}␊ - ␊ - text␊ - ␊ - 0. Item␊ - 1. Item {MD029}␊ - 3. Item {MD029}␊ - ␊ - ␊ - `, - } - -## ordered_list_item_prefix-paren.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 4; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# ordered_list_item_prefix-paren␊ - ␊ - Good list:␊ - ␊ - 1) Do this.␊ - 1) Do that.␊ - 1) ???␊ - 1) Profit!␊ - ␊ - Bad list:␊ - ␊ - 1) Do this.␊ - 2) Do nothing. {MD029}␊ - 3) ??? {MD029}␊ - 4) Failed! {MD029}␊ - ␊ - ␊ - `, - } - -## ordered_list_item_prefix.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - 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: 3; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 4; Style: 1/1/1', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# ordered_list_item_prefix␊ - ␊ - Good list:␊ - ␊ - 1. Do this.␊ - 1. Do that.␊ - 1. ???␊ - 1. Profit!␊ - ␊ - Bad list:␊ - ␊ - 1. Do this.␊ - 2. Do nothing. {MD029}␊ - 3. ??? {MD029}␊ - 4. Failed! {MD029}␊ - ␊ - ␊ - `, - } - -## ordered_list_item_prefix_ordered-paren.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 4; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# ordered_list_item_prefix_ordered-paren␊ - ␊ - Good list:␊ - ␊ - 1) Do this.␊ - 2) Do that.␊ - 3) ???␊ - 4) Profit!␊ - ␊ - Bad list:␊ - ␊ - 1) Do this.␊ - 1) Do nothing. {MD029}␊ - 1) ??? {MD029}␊ - 1) Failed! {MD029}␊ - ␊ - ␊ - `, - } - -## ordered_list_item_prefix_ordered.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - 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: 3; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 14, - 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: 4; Actual: 1; Style: 1/2/3', - errorRange: [ - 1, - 3, - ], - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Ordered list item prefix', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md029.md', - ruleNames: [ - 'MD029', - 'ol-prefix', - ], - }, - ], - fixed: `# ordered_list_item_prefix_ordered␊ - ␊ - Good list:␊ - ␊ - 1. Do this.␊ - 2. Do that.␊ - 3. ???␊ - 4. Profit!␊ - ␊ - Bad list:␊ - ␊ - 1. Do this.␊ - 1. Do nothing. {MD029}␊ - 1. ??? {MD029}␊ - 1. Failed! {MD029}␊ - ␊ - ␊ - `, - } - -## pandoc-footnotes.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Pandoc Footnotes␊ - ␊ - > Examples taken from [GitHub issue 599](https://github.com/DavidAnson/markdownlint/issues/599)␊ - ␊ - ## Example with Pandoc Footnotes␊ - ␊ - A sentence with footnotes: [^1] [^2]␊ - A sentence with named footnotes: [^name] [^name2]␊ - A sentence with a link reference: [Pandoc's User Guide][Pandoc1]␊ - ␊ - [^1]: I am a footnote!␊ - [^2]: I reference a [PCW][PCW1] article!␊ - [^name]: I am a footnote with name!␊ - [^name2]: I am also a named footnote! I also reference the [PCW][PCW1] article!␊ - ␊ - [PCW1]: https://www.example.com/article.html␊ - [Pandoc1]: https://pandoc.org/MANUAL.html#extension-footnotes␊ - ␊ - ## Example with Long Pandoc Footnotes␊ - ␊ - A sentence with a long footnotes: [^long] [^longer] [^longest]␊ - ␊ - [^long]: I am a long footnote!␊ - I don't do any harm :)␊ - [^longer]: I am a longer footnote. I do reference the [PCW][PCW2] article.␊ - I do harm. Though, not here: [Pandoc's User Guide][Pandoc2]␊ - [^longest]: I am the longest footnote. I also reference the [PCW][PCW2] article.␊ - ␊ - I am a harmful new block of text: [Another][Another2]␊ - ␊ - > The previous line of text is treated by CommonMark as an indented code block.␊ - > To handle it as a Pandoc footnote, consider the \`markdown-it-footnote\` plugin.␊ - ␊ - [PCW2]: https://www.example.com/article.html␊ - [Pandoc2]: https://pandoc.org/MANUAL.html#extension-footnotes␊ - [Another2]: https://www.example.com/another.html␊ - ␊ - ## GitHub Footnotes␊ - ␊ - Sample footnotes [^3] [^note3]␊ - ␊ - [^3]: A line␊ - A new line␊ - ␊ - [^note3]:␊ - I am a new block of text␊ - With a new line as well␊ - `, - } - -## prettier-tab-width-2-default.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Prettier \`--tab-width=2\` (Default)␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 2. Item␊ - 1. Item␊ - 2. Item␊ - 1. Item␊ - 2. Item␊ - ␊ - Text␊ - `, - } - -## prettier-tab-width-4.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Prettier \`--tab-width=4\`␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - - Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 1. Item␊ - 1. Item␊ - ␊ - Text␊ - ␊ - 1. Item␊ - 2. Item␊ - 1. Item␊ - 2. Item␊ - 1. Item␊ - 2. Item␊ - ␊ - Text␊ - ␊ - ␊ - `, - } - -## proper-names-alternate.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: markdownlint; Actual: Markdownlint', - errorRange: [ - 6, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 6, - insertText: 'markdownlint', - }, - 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: Node.js; Actual: node.JS', - errorRange: [ - 6, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 6, - insertText: 'Node.js', - }, - lineNumber: 5, - 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: .NET; Actual: .net', - errorRange: [ - 6, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 6, - insertText: '.NET', - }, - lineNumber: 7, - 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: .NET; Actual: .net', - errorRange: [ - 13, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 13, - insertText: '.NET', - }, - 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: 11, - 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: Node.js; Actual: node.JS', - errorRange: [ - 7, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 7, - insertText: 'Node.js', - }, - lineNumber: 13, - 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: .NET; Actual: .net', - errorRange: [ - 7, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 7, - insertText: '.NET', - }, - 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: 'Expected: .NET; Actual: .net', - errorRange: [ - 14, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 14, - insertText: '.NET', - }, - lineNumber: 17, - 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: [ - 8, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 8, - insertText: 'markdownlint', - }, - lineNumber: 19, - 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: Node.js; Actual: node.JS', - errorRange: [ - 8, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 8, - insertText: 'Node.js', - }, - lineNumber: 21, - 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: .NET; Actual: .net', - errorRange: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 8, - insertText: '.NET', - }, - lineNumber: 23, - 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: .NET; Actual: .net', - errorRange: [ - 15, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 15, - insertText: '.NET', - }, - lineNumber: 25, - 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: 27, - 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: Node.js; Actual: node.JS', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 1, - insertText: 'Node.js', - }, - lineNumber: 29, - 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: .NET; Actual: .net', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 1, - insertText: '.NET', - }, - lineNumber: 31, - 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: .NET; Actual: .net', - errorRange: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 8, - insertText: '.NET', - }, - lineNumber: 33, - 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: `# Detailed Results Proper Names␊ - ␊ - Text markdownlint text. {MD044}␊ - ␊ - Text Node.js text. {MD044}␊ - ␊ - Text .NET text. {MD044}␊ - ␊ - Text example.NET text. {MD044}␊ - ␊ - Text "markdownlint" text. {MD044}␊ - ␊ - Text "Node.js" text. {MD044}␊ - ␊ - Text ".NET" text. {MD044}␊ - ␊ - Text "example.NET" text. {MD044}␊ - ␊ - Text **markdownlint** text. {MD044}␊ - ␊ - Text **Node.js** text. {MD044}␊ - ␊ - Text **.NET** text. {MD044}␊ - ␊ - Text **example.NET** text. {MD044}␊ - ␊ - markdownlint {MD044}␊ - ␊ - Node.js {MD044}␊ - ␊ - .NET {MD044}␊ - ␊ - example.NET {MD044}␊ - ␊ - ␊ - `, - } - -## proper-names-links.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - 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: JavaScript; Actual: javascript', - errorRange: [ - 14, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 14, - insertText: 'JavaScript', - }, - lineNumber: 25, - 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: JavaScript; Actual: javascript', - errorRange: [ - 14, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 14, - insertText: 'JavaScript', - }, - lineNumber: 27, - 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: JavaScript; Actual: javascript', - errorRange: [ - 14, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 14, - insertText: 'JavaScript', - }, - lineNumber: 29, - 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: JavaScript; Actual: javascript', - errorRange: [ - 6, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 6, - insertText: 'JavaScript', - }, - lineNumber: 34, - 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: `# Proper names in links␊ - ␊ - JavaScript {MD044}␊ - ␊ - Learn about JavaScript here: https://example.com/javascript/about␊ - ␊ - Learn about JavaScript here: ␊ - ␊ - Learn about [JavaScript](https://example.com/javascript/about).␊ - ␊ - Learn about [JavaScript](wiki/javascript/about).␊ - ␊ - Learn about [JavaScript](wiki/javascript).␊ - ␊ - Learn about [JavaScript](javascript/about).␊ - ␊ - Learn about [JavaScript](javascript).␊ - ␊ - Learn about [JavaScript][js].␊ - ␊ - Learn about [JavaScript][example-js].␊ - ␊ - Learn about [JavaScript][javascript].␊ - ␊ - Learn about [JavaScript][js]. {MD044}␊ - ␊ - Learn about [JavaScript][example-js]. {MD044}␊ - ␊ - Learn about [JavaScript]. {MD044}␊ - ␊ - [js]: https://example.com/javascript/about␊ - [example-js]: javascript␊ - [javascript]: https://example.com/js␊ - [JavaScript]: https://example.com/js {MD044}␊ - ␊ - ␊ - `, - } - -## proper-names-no-code.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: markdownlint; Actual: Markdownlint', - errorRange: [ - 1, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 1, - insertText: 'markdownlint', - }, - 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: JavaScript; Actual: Javascript', - errorRange: [ - 11, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 11, - insertText: 'JavaScript', - }, - 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: Node.js; Actual: node.js', - errorRange: [ - 7, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 7, - insertText: 'Node.js', - }, - lineNumber: 24, - 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: JavaScript; Actual: javascript', - errorRange: [ - 6, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 6, - insertText: 'JavaScript', - }, - lineNumber: 25, - 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: JavaScript; Actual: javascript', - errorRange: [ - 6, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 6, - insertText: 'JavaScript', - }, - lineNumber: 42, - 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: JavaScript; Actual: javascript', - errorRange: [ - 24, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 24, - insertText: 'JavaScript', - }, - lineNumber: 43, - 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: indented; Actual: fenced', - errorRange: null, - fixInfo: null, - lineNumber: 18, - ruleDescription: 'Code block style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md', - ruleNames: [ - 'MD046', - 'code-block-style', - ], - }, - ], - fixed: `# markdownlint test file␊ - ␊ - markdownlint is a tool {MD044}␊ - ␊ - JavaScript is a language␊ - ␊ - JavaScript is not Java␊ - ␊ - Nor is it JavaScript. {MD044}␊ - ␊ - Code in \`javascript\`␊ - ␊ - Execute \`via the node.js engine\`␊ - ␊ - javascript is code␊ - node.js is runtime␊ - ␊ - \`\`\`js␊ - javascript is code {MD046:-1}␊ - node.js is runtime␊ - \`\`\`␊ - ␊ - A short paragraph␊ - about Node.js and {MD044}␊ - also JavaScript. {MD044}␊ - ␊ - \`javascript\`␊ - ␊ - \`code␊ - javascript\`␊ - ␊ - \`code␊ - javascript␊ - code\`␊ - ␊ - \`javascript␊ - code\`␊ - ␊ - text JavaScript text \`javascript\` text JavaScript text␊ - text \`javascript\` text JavaScript text \`javascript\` text␊ - ␊ - text JavaScript text \`javascript\` text {MD044}␊ - text \`javascript\` text JavaScript text {MD044}␊ - ␊ - ␊ - `, - } - -## proper-names-no-html.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: JavaScript; Actual: javascript', - errorRange: [ - 10, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 10, - insertText: 'JavaScript', - }, - lineNumber: 5, - 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: JavaScript; Actual: javascript', - errorRange: [ - 11, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 11, - insertText: 'JavaScript', - }, - lineNumber: 7, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - 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: JavaScript; Actual: javascript', - errorRange: [ - 7, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 7, - insertText: 'JavaScript', - }, - lineNumber: 21, - 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: JavaScript; Actual: javascript', - errorRange: [ - 6, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 6, - insertText: 'JavaScript', - }, - lineNumber: 23, - 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: JavaScript; Actual: javascript', - errorRange: [ - 3, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 3, - insertText: 'JavaScript', - }, - lineNumber: 40, - 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: JavaScript; Actual: javascript', - errorRange: [ - 3, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 3, - insertText: 'JavaScript', - }, - lineNumber: 42, - 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: `# Proper Names No HTML␊ - ␊ - Okay text JavaScript.␊ - ␊ - Bad text JavaScript. {MD044}␊ - ␊ - Bad code \`JavaScript\`. {MD044}␊ - ␊ - Description␊ - ␊ - ␊ - ␊ -
␊ - ␊ - ␊ - ␊ - ␊ - ␊ - JavaScript {MD044}␊ - ␊ -
JavaScript
{MD044}␊ - ␊ - ␊ - ␊ - ␊ - ␊ -
␊ - ␊ -
␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - `, - } - -## proper-names-non-word-boundaries.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: .NET; Actual: .net', - errorRange: [ - 6, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 6, - insertText: '.NET', - }, - 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: NET.; Actual: net.', - errorRange: [ - 6, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 6, - insertText: 'NET.', - }, - lineNumber: 11, - 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: .NET.; Actual: .net.', - errorRange: [ - 6, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 6, - insertText: '.NET.', - }, - lineNumber: 13, - 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: `# Proper Names Non-Word Boundaries␊ - ␊ - Text .NET text.␊ - ␊ - Text NET. text.␊ - ␊ - Text .NET. text.␊ - ␊ - Text .NET text. {MD044}␊ - ␊ - Text NET. text. {MD044}␊ - ␊ - Text .NET. text. {MD044}␊ - ␊ - ␊ - `, - } - -## proper-names-projects.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: GitHub; Actual: github', - errorRange: [ - 5, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 5, - insertText: 'GitHub', - }, - lineNumber: 5, - 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: Vue; Actual: vue', - errorRange: [ - 5, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 5, - insertText: 'Vue', - }, - lineNumber: 21, - 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: Vue; Actual: vue', - errorRange: [ - 4, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 4, - insertText: 'Vue', - }, - lineNumber: 23, - 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: Vuex; Actual: vuex', - errorRange: [ - 5, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 5, - insertText: 'Vuex', - }, - lineNumber: 29, - 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: vue-router; Actual: Vue-router', - errorRange: [ - 5, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 5, - insertText: 'vue-router', - }, - lineNumber: 33, - 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: npm; Actual: Npm', - errorRange: [ - 9, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 9, - insertText: 'npm', - }, - lineNumber: 46, - 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: npm; Actual: NPM', - errorRange: [ - 4, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 4, - insertText: 'npm', - }, - lineNumber: 47, - 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: asterisk; Actual: underscore', - errorRange: [ - 13, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 13, - insertText: '*', - }, - lineNumber: 43, - 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: [ - 17, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 17, - insertText: '*', - }, - lineNumber: 43, - 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: [ - 23, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - insertText: '*', - }, - lineNumber: 43, - 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: [ - 34, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 34, - insertText: '*', - }, - lineNumber: 43, - ruleDescription: 'Emphasis style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md', - ruleNames: [ - 'MD049', - 'emphasis-style', - ], - }, - ], - fixed: `# Proper Names of Projects (code_blocks:false)␊ - ␊ - The site GitHub␊ - ␊ - Not GitHub {MD044}␊ - ␊ - Link to [GitHub](https://github.com/)␊ - ␊ - Link to [github.com](https://github.com/)␊ - ␊ - Link to [github.com](https://github.com/about)␊ - ␊ - Link to [github.com/about](https://github.com/about)␊ - ␊ - The domain name of GitHub is github.com␊ - ␊ - The project Vue␊ - ␊ - AKA Vue.js␊ - ␊ - Not Vue {MD044}␊ - ␊ - Or Vue.js {MD044}␊ - ␊ - The file \`vue.js\` (code block)␊ - ␊ - The library Vuex␊ - ␊ - Not Vuex {MD044}␊ - ␊ - The library vue-router␊ - ␊ - Not vue-router {MD044}␊ - ␊ - But vue-router-extra is different␊ - ␊ - As is extra-vue-router␊ - ␊ - Quoted "Vue" and "vue-router"␊ - ␊ - Emphasized *Vue* and *vue-router*␊ - ␊ - Underscored *Vue* and *vue-router* {MD049}␊ - ␊ - Call it npm␊ - But not npm {MD044}␊ - Or npm {MD044}␊ - ␊ - ␊ - `, - } - -## proper-names-substrings.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Proper Names as Substrings␊ - ␊ - The proper case is: @aws-control-tower␊ - ␊ - Similarly, aws-vault and AWS and @aws-control-tower are all correct.␊ - ␊ - ␊ - `, - } - -## proper-names-urls.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: HTTPS; Actual: https', - errorRange: [ - 6, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 6, - insertText: 'HTTPS', - }, - 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: EXAMPLE; Actual: example', - errorRange: [ - 6, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 6, - insertText: 'EXAMPLE', - }, - lineNumber: 4, - 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: COM; Actual: com', - errorRange: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 6, - insertText: 'COM', - }, - lineNumber: 5, - 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: DIRECTORY; Actual: directory', - errorRange: [ - 6, - 9, - ], - fixInfo: { - deleteCount: 9, - editColumn: 6, - insertText: 'DIRECTORY', - }, - lineNumber: 6, - 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: FILE; Actual: file', - errorRange: [ - 6, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 6, - insertText: 'FILE', - }, - lineNumber: 7, - 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: FILE; Actual: file', - errorRange: [ - 29, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 29, - insertText: 'FILE', - }, - lineNumber: 55, - 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: `# Proper Names in URLs␊ - ␊ - Text HTTPS text {MD044}␊ - Text EXAMPLE text {MD044}␊ - Text COM text {MD044}␊ - Text DIRECTORY text {MD044}␊ - Text FILE text {MD044}␊ - Text HTTPS EXAMPLE COM DIRECTORY FILE text␊ - ␊ - > The following lines are deliberately duplicated␊ - ␊ - Text https://example.com/directory/file text␊ - ␊ - Text https://example.com/directory/file text␊ - ␊ - Text text␊ - ␊ - Text text␊ - ␊ - Text [https://example.com/directory/file](https://example.com/directory/file) text␊ - ␊ - Text [https://example.com/directory/file](https://example.com/directory/file) text␊ - ␊ - Text \`https://example.com/directory/file\` text␊ - Text \`https://example.com/directory/file\` text␊ - ␊ - \`\`\`text␊ - Text https://example.com/directory/file text␊ - Text https://example.com/directory/file text␊ - \`\`\`␊ - ␊ - Text https://example.com/directory/file text␊ - Text https://example.com/directory/file text␊ - ␊ - Text https://example.com/directory/text.file text␊ - Text https://example.com/directory/text.file text␊ - ␊ - Text https://example.com/directory/text%20text.file text␊ - Text https://example.com/directory/text%20text.file text␊ - ␊ - Text text␊ - Text text␊ - ␊ - Text text␊ - Text text␊ - ␊ - Text [https://example.com/directory/text.file](https://example.com/directory/text.file) text␊ - Text [https://example.com/directory/text.file](https://example.com/directory/text.file) text␊ - ␊ - Text [https://example.com/directory/text%20text.file](https://example.com/directory/text%20text.file) text␊ - Text [https://example.com/directory/text%20text.file](https://example.com/directory/text%20text.file) text␊ - ␊ - {MD044:+2}␊ - ␊ - ␊ - `, - } - -## proper-names.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: 'https://github.com/DavidAnson/...', - errorDetail: null, - errorRange: [ - 17, - 42, - ], - fixInfo: { - deleteCount: 42, - editColumn: 17, - insertText: '', - }, - lineNumber: 69, - 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: markdownlint; Actual: Markdownlint', - errorRange: [ - 1, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 1, - insertText: 'markdownlint', - }, - 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: markdownlint; Actual: Markdownlint', - errorRange: [ - 9, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 9, - insertText: 'markdownlint', - }, - lineNumber: 5, - 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: [ - 13, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 13, - insertText: 'markdownlint', - }, - lineNumber: 7, - 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: JavaScript; Actual: Javascript', - errorRange: [ - 11, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 11, - insertText: 'JavaScript', - }, - lineNumber: 13, - 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: npm; Actual: NPM', - errorRange: [ - 22, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 22, - insertText: 'npm', - }, - lineNumber: 19, - 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: npm; Actual: NPM', - errorRange: [ - 27, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 27, - insertText: 'npm', - }, - lineNumber: 27, - 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: GitHub; Actual: Github', - errorRange: [ - 19, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 19, - insertText: 'GitHub', - }, - lineNumber: 29, - 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: Internet Explorer; Actual: internet explorer', - errorRange: [ - 8, - 17, - ], - fixInfo: { - deleteCount: 17, - editColumn: 8, - insertText: 'Internet Explorer', - }, - lineNumber: 35, - 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: Node.js; Actual: node.js', - errorRange: [ - 4, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 4, - insertText: 'Node.js', - }, - lineNumber: 37, - 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: JavaScript; Actual: javascript', - errorRange: [ - 10, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 10, - insertText: 'JavaScript', - }, - lineNumber: 39, - 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: Node.js; Actual: node.js', - errorRange: [ - 18, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 18, - insertText: 'Node.js', - }, - lineNumber: 41, - 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: JavaScript; Actual: javascript', - errorRange: [ - 9, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 9, - insertText: 'JavaScript', - }, - lineNumber: 43, - 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: npm; Actual: NPM', - errorRange: [ - 7, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 7, - insertText: 'npm', - }, - lineNumber: 45, - 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: 47, - 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: JavaScript; Actual: javascript', - errorRange: [ - 5, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 5, - insertText: 'JavaScript', - }, - lineNumber: 49, - 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: Node.js; Actual: node.js', - errorRange: [ - 5, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 5, - insertText: 'Node.js', - }, - lineNumber: 50, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 53, - 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: Node.js; Actual: node.js', - errorRange: [ - 1, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 1, - insertText: 'Node.js', - }, - lineNumber: 54, - 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: GitHub; Actual: github', - errorRange: [ - 21, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 21, - insertText: 'GitHub', - }, - lineNumber: 57, - 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: GitHub; Actual: github', - errorRange: [ - 12, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 12, - insertText: 'GitHub', - }, - lineNumber: 59, - 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: GitHub; Actual: github', - errorRange: [ - 10, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 10, - insertText: 'GitHub', - }, - lineNumber: 63, - 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: Node.js; Actual: node.js', - errorRange: [ - 7, - 7, - ], - fixInfo: { - deleteCount: 7, - editColumn: 7, - insertText: 'Node.js', - }, - lineNumber: 72, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 73, - 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: JavaScript; Actual: javascript', - errorRange: [ - 10, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 10, - insertText: 'JavaScript', - }, - lineNumber: 75, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 78, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 81, - 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: JavaScript; Actual: javascript', - errorRange: [ - 2, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 2, - insertText: 'JavaScript', - }, - lineNumber: 84, - 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: multiplecase; Actual: MULTIPLECASE', - errorRange: [ - 18, - 12, - ], - fixInfo: { - deleteCount: 12, - editColumn: 18, - insertText: 'multiplecase', - }, - lineNumber: 89, - 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: JavaScript; Actual: javascript', - errorRange: [ - 15, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 15, - insertText: 'JavaScript', - }, - lineNumber: 92, - 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: JavaScript; Actual: javascript', - errorRange: [ - 20, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 20, - insertText: 'JavaScript', - }, - lineNumber: 94, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 96, - 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: JavaScript; Actual: javascript', - errorRange: [ - 24, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 24, - insertText: 'JavaScript', - }, - lineNumber: 99, - 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: JavaScript; Actual: javascript', - errorRange: [ - 6, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 6, - insertText: 'JavaScript', - }, - lineNumber: 101, - 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: JavaScript; Actual: javascript', - errorRange: [ - 1, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 1, - insertText: 'JavaScript', - }, - lineNumber: 104, - 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: HTTPS; Actual: https', - errorRange: [ - 10, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 10, - insertText: 'HTTPS', - }, - lineNumber: 107, - 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: HTTPS; Actual: https', - errorRange: [ - 15, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 15, - insertText: 'HTTPS', - }, - lineNumber: 109, - 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: HTTPS; Actual: https', - errorRange: [ - 12, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 12, - insertText: 'HTTPS', - }, - lineNumber: 112, - 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: JavaScript; Actual: javascript', - errorRange: [ - 3, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 3, - insertText: 'JavaScript', - }, - lineNumber: 116, - 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: HTTPS; Actual: https', - errorRange: [ - 12, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 12, - insertText: 'HTTPS', - }, - lineNumber: 117, - 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: JavaScript; Actual: javascript', - errorRange: [ - 3, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 3, - insertText: 'JavaScript', - }, - lineNumber: 118, - 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: indented; Actual: fenced', - errorRange: null, - fixInfo: null, - lineNumber: 52, - ruleDescription: 'Code block style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md046.md', - ruleNames: [ - 'MD046', - 'code-block-style', - ], - }, - ], - fixed: `# markdownlint test file␊ - ␊ - markdownlint is a tool {MD044}␊ - ␊ - Quoted "markdownlint" {MD044}␊ - ␊ - Emphasized *markdownlint* {MD044}␊ - ␊ - JavaScript is a language␊ - ␊ - JavaScript is not Java␊ - ␊ - Nor is it JavaScript. {MD044}␊ - ␊ - markdownlint runs on Node.js via npm␊ - ␊ - Node is an environment␊ - ␊ - Install into it with npm {MD044}␊ - ␊ - Node.JSX is not a real thing␊ - ␊ - Nor is nodesjs or NPMI␊ - ␊ - npm can npm stand npm for npm many npm things␊ - ␊ - Writing npm is right, but npm is wrong {MD044}␊ - ␊ - Get excited about GitHub! {MD044}␊ - ␊ - Share code on GitHub via Git␊ - ␊ - Internet Explorer is a web browser␊ - ␊ - OTOH, "Internet Explorer" is a job {MD044}␊ - ␊ - ## Node.js instructions {MD044}␊ - ␊ - Code in \`JavaScript\` {MD044}␊ - ␊ - Execute \`via the Node.js engine\` {MD044}␊ - ␊ - HTML JavaScript {MD044}␊ - ␊ - * Use npm {MD044}␊ - ␊ - > Run markdownlint on your README {MD044}␊ - ␊ - JavaScript is code {MD044}␊ - Node.js is runtime {MD044}␊ - ␊ - \`\`\`javascript␊ - JavaScript is code {MD044} {MD046:-1}␊ - Node.js is runtime {MD044}␊ - \`\`\`␊ - ␊ - Upload the code (to GitHub) {MD044}␊ - ␊ - Image of ![GitHub](https://github.com/). {MD044}␊ - ␊ - Image of ![GitHub](https://github.com/).␊ - ␊ - Link to [GitHub](https://github.com/). {MD044}␊ - ␊ - Link to [GitHub](https://github.com/).␊ - ␊ - Link to [markdownlint](https://github.com/DavidAnson/MARKDOWNLINT).␊ - ␊ - Bare URL exempt {MD034}␊ - ␊ - A short paragraph␊ - about Node.js and {MD044}␊ - JavaScript. {MD044}␊ - ␊ - {MD044} \`JavaScript\`␊ - ␊ - \`code␊ - JavaScript\` {MD044}␊ - ␊ - \`code␊ - JavaScript {MD044}␊ - code\`␊ - ␊ - \`JavaScript {MD044}␊ - code\`␊ - ␊ - Text referencing multiplecase name.␊ - Text referencing MultipleCase name.␊ - Text referencing multiplecase name. {MD044}␊ - Text referencing mULTIPLEcASE name.␊ - ␊ - Description␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ - ␊ -
␊ - ␊ - ␊ - ␊ - ␊ - ␊ - {MD044:-14} {MD044:-12} {MD044:-9} {MD044:-4}␊ - ␊ - ␊ - `, - } - -## reference-links-and-images-shortcuts.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: 'https://example.com/footnote', - errorDetail: null, - errorRange: [ - 7, - 28, - ], - fixInfo: { - deleteCount: 28, - editColumn: 7, - 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', - ], - }, - { - errorContext: '[missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 20, - 9, - ], - fixInfo: null, - lineNumber: 9, - 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: '[missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 10, - 9, - ], - fixInfo: null, - lineNumber: 31, - 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: '[missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 26, - 9, - ], - fixInfo: null, - lineNumber: 33, - 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: '![missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 10, - 10, - ], - fixInfo: null, - lineNumber: 67, - 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: '![missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 26, - 10, - ], - fixInfo: null, - lineNumber: 69, - 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: '[^2]', - errorDetail: 'Missing link or image reference definition: "^2"', - errorRange: [ - 8, - 4, - ], - fixInfo: null, - lineNumber: 85, - 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', - ], - }, - ], - fixed: `# Reference Links and Images (Shortcuts)␊ - ␊ - ## Shortcut Handling␊ - ␊ - Validates the shortcut: [shortcut]␊ - ␊ - [shortcut]: https://example.com/shortcut␊ - ␊ - Missing reference: [missing] {MD052}␊ - ␊ - ## Valid Links␊ - ␊ - Full reference link: [text][label]␊ - ␊ - Collapsed reference link: [label][]␊ - ␊ - Shortcut reference link: [label]␊ - ␊ - Same line: [text][label] [label][] [label]␊ - ␊ - Mixed case: [TEXT][LABEL] [LABEL][] [LABEL]␊ - ␊ - With nested brackets: [t\\[ex\\]t][label]␊ - ␊ - Shortcut inline code span: [\`code\`]␊ - ␊ - Shortcut ending in colon: [colon]:␊ - ␊ - ## Invalid Links␊ - ␊ - Missing: [missing] {MD052}␊ - ␊ - > Missing in blockquote: [missing] {MD052}␊ - ␊ - ## Non-Links␊ - ␊ - Code span: \`[code]\`␊ - ␊ - Escaped left: \\[escaped]␊ - ␊ - Escaped right: [escaped\\]␊ - ␊ - Escaped both: \\[escaped\\]␊ - ␊ - Unmatched [ in text␊ - ␊ - Unmatched ] in text␊ - ␊ - ## Valid Images␊ - ␊ - Full style: ![text][image0]␊ - ␊ - Collapsed style: ![image1][]␊ - ␊ - Shortcut style: ![image2]␊ - ␊ - Image in link: [![text][image3]](link) [![image4][]](link) [![image5]](link)␊ - ␊ - Image in shortcut link: [![text][image6]][unique6] [![image7][]][unique7] [![image8]][unique8]␊ - ␊ - Wrapped in brackets: \\[![text][unique9]\\]␊ - ␊ - Embedded \\[in ![text][unique10] brackets\\]␊ - ␊ - ## Invalid Images␊ - ␊ - Missing: ![missing] {MD052}␊ - ␊ - > Missing in blockquote: ![missing] {MD052}␊ - ␊ - ## Non-Images␊ - ␊ - Escaped left: !\\[escaped]␊ - ␊ - Escaped right: ![escaped\\]␊ - ␊ - Escaped both: !\\[escaped\\]␊ - ␊ - ## Valid Footnotes␊ - ␊ - Footnote[^1]␊ - ␊ - ## Invalid Footnotes␊ - ␊ - Missing[^2] {MD052}␊ - ␊ - ## Valid Labels␊ - ␊ - [label]: https://example.com/label␊ - [image0]: https://example.com/image0␊ - [image1]: https://example.com/image1␊ - [image2]: https://example.com/image2␊ - [image3]: https://example.com/image3␊ - [image4]: https://example.com/image4␊ - [image5]: https://example.com/image5␊ - [image6]: https://example.com/image6␊ - [image7]: https://example.com/image7␊ - [image8]: https://example.com/image8␊ - [\`code\`]: https://example.com/code␊ - [colon]: https://example.com/colon␊ - [unique6]: https://example.com/unique6␊ - [unique7]: https://example.com/unique7␊ - [unique8]: https://example.com/unique8␊ - [unique9]: https://example.com/unique9␊ - [unique10]: https://example.com/unique10␊ - [^1]: {MD034}␊ - ␊ - ␊ - `, - } - -## reference-links-and-images.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: 'https://example.com/footnote', - errorDetail: null, - errorRange: [ - 7, - 28, - ], - fixInfo: { - deleteCount: 28, - editColumn: 7, - insertText: '', - }, - lineNumber: 186, - ruleDescription: 'Bare URL used', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md034.md', - ruleNames: [ - 'MD034', - 'no-bare-urls', - ], - }, - { - errorContext: '[text][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 16, - 15, - ], - fixInfo: null, - lineNumber: 72, - 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: '[text][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 36, - 15, - ], - fixInfo: null, - lineNumber: 74, - 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: '[text][missing', - errorDetail: 'Missing link or image reference definition: "missing label"', - errorRange: [ - 35, - 14, - ], - fixInfo: null, - lineNumber: 76, - 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: '[text][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 32, - 15, - ], - fixInfo: null, - lineNumber: 79, - 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: '![text][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 13, - 16, - ], - fixInfo: null, - lineNumber: 125, - 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: '![text][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 17, - 16, - ], - fixInfo: null, - lineNumber: 127, - 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: '[![text][image]][missing]', - errorDetail: 'Missing link or image reference definition: "missing"', - errorRange: [ - 21, - 25, - ], - fixInfo: null, - lineNumber: 222, - 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: '[hidden][]', - errorDetail: 'Missing link or image reference definition: "hidden"', - errorRange: [ - 19, - 10, - ], - fixInfo: null, - lineNumber: 236, - 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: '[label]: {MD053}', - errorDetail: 'Duplicate link or image reference definition: "label"', - errorRange: [ - 1, - 16, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 198, - 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: '[unused]: {MD053}', - errorDetail: 'Unused link or image reference definition: "unused"', - errorRange: [ - 1, - 17, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 200, - 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: '[^3]: {MD053}', - errorDetail: 'Unused link or image reference definition: "^3"', - errorRange: [ - 1, - 13, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 202, - 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: '[Duplicate unused multi-line l...', - errorDetail: 'Unused link or image reference definition: "duplicate unused multi-line label {md053}"', - errorRange: [ - 1, - 44, - ], - fixInfo: null, - lineNumber: 206, - 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: '[Duplicate unused multi-line l...', - errorDetail: 'Duplicate link or image reference definition: "duplicate unused multi-line label {md053}"', - errorRange: [ - 1, - 44, - ], - fixInfo: null, - lineNumber: 209, - 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: `# Reference Links and Images␊ - ␊ - ## Valid Links␊ - ␊ - Full reference link: [text][label]␊ - ␊ - Collapsed reference link: [label][]␊ - ␊ - Shortcut reference link: [label]␊ - ␊ - Same line: [text][label] [label][] [label]␊ - ␊ - Mixed case: [TEXT][LABEL] [LABEL][] [LABEL]␊ - ␊ - With spaces: [text][label with spaces] [text][ label with spaces ]␊ - ␊ - With nested brackets: [t[ex]t][label]␊ - ␊ - With inline content: [*text*][label]␊ - ␊ - With inline code span: [\`code\`][label]␊ - ␊ - Shortcut inline code span: [\`code\`]␊ - ␊ - Multi-line full text: [multi␊ - line][multi line full text]␊ - ␊ - Multi-line full label: [text][multi␊ - line full label]␊ - ␊ - Multi-line collapsed label: [multi␊ - line collapsed label][]␊ - ␊ - Multi-line shortcut label: [multi line␊ - shortcut label]␊ - ␊ - > Multi-line full text: [multi␊ - > line][blockquote multi line full text]␊ - >␊ - > Multi-line full label: [text][blockquote multi␊ - > line full label]␊ - >␊ - > Multi-line collapsed label: [blockquote multi␊ - > line collapsed label][]␊ - >␊ - > Multi-line shortcut label: [blockquote multi line␊ - > shortcut label]␊ - >␊ - > > Multi-line shortcut label: [blockquote blockquote␊ - > > multi line shortcut label]␊ - ␊ - Dedicated line:␊ - [text][label]␊ - ␊ - Dedicated line with trailing colon:␊ - [text][label]:␊ - ␊ - Shortcut ending in colon: [colon]:␊ - ␊ - Use of multi-line label: [multi-line-label][]␊ - ␊ - Use of link in label: [link-in-label][]␊ - ␊ - Standard link: [text](https://example.com/standard)␊ - ␊ - Wrapped in brackets: [[text][unique0]] [[unique1][]] [[unique2]]␊ - ␊ - [Embedded [text][unique3] in [unique4][] brackets [unique5]]␊ - ␊ - ## Invalid Links␊ - ␊ - Missing label: [text][missing] {MD052}␊ - ␊ - Mixed valid/invalid: [text][label] [text][missing] {MD052}␊ - ␊ - Missing multi-line label {MD052}: [text][missing␊ - label]␊ - ␊ - > Missing label in blockquote: [text][missing] {MD052}␊ - ␊ - ## Non-Links␊ - ␊ - Space: [text] [wrong]␊ - ␊ - Empty: [text][ ]␊ - ␊ - Code span: \`[wrong]\`␊ - ␊ - Code span: \`[wrong][]\`␊ - ␊ - Code span: \`[text][wrong]\`␊ - ␊ - Code span: \`[[wrong]]\`␊ - ␊ - Code span: \`[[wrong][]]\`␊ - ␊ - Code span: \`[[text][wrong]]\`␊ - ␊ - Escaped left text: \\[text][wrong]␊ - ␊ - Escaped right text: [text\\][wrong]␊ - ␊ - Escaped left label: [text]\\[wrong]␊ - ␊ - Escaped right label: [text][wrong\\]␊ - ␊ - ## Valid Images␊ - ␊ - Full style: ![text][image0]␊ - ␊ - Collapsed style: ![image1][]␊ - ␊ - Shortcut style: ![image2]␊ - ␊ - Image in link: [![text][image3]](link) [![image4][]](link) [![image5]](link)␊ - ␊ - Image in shortcut link: [![text][image6]][unique6] [![image7][]][unique7] [![image8]][unique8]␊ - ␊ - Wrapped in brackets: [![text][unique9]]␊ - ␊ - Embedded [in ![text][unique10] brackets]␊ - ␊ - ## Invalid Images␊ - ␊ - Image only: ![text][missing] {MD052}␊ - ␊ - Image in link: [![text][missing]][label] {MD052}␊ - ␊ - ## Non-Images␊ - ␊ - Escaped left text: !\\[text][wrong]␊ - ␊ - Escaped right text: ![text\\][wrong]␊ - ␊ - Escaped left label: ![text]\\[wrong]␊ - ␊ - Escaped right label: ![text][wrong\\]␊ - ␊ - ## Valid Footnotes␊ - ␊ - Footnote[^1]␊ - ␊ - ## Invalid Footnotes␊ - ␊ - Missing[^2]␊ - ␊ - ## Valid Labels␊ - ␊ - [label]: https://example.com/label␊ - [ label with spaces ]: https://example.com/label-with-spaces␊ - [image]:https://example.com/image␊ - [image0]: https://example.com/image0␊ - [image1]: https://example.com/image1␊ - [image2]: https://example.com/image2␊ - [image3]: https://example.com/image3␊ - [image4]: https://example.com/image4␊ - [image5]: https://example.com/image5␊ - [image6]: https://example.com/image6␊ - [image7]: https://example.com/image7␊ - [image8]: https://example.com/image8␊ - [\`code\`]: https://example.com/code␊ - [multi line full text]: https://example.com/multi-line-full-text␊ - [multi line full label]: https://example.com/multi-line-full-label␊ - [multi line collapsed label]: https://example.com/multi-line-collapsed-label␊ - [multi line shortcut label]: https://example.com/multi-line-shortcut-label␊ - [blockquote multi line full text]: https://example.com/blockquote-multi-line-full-text␊ - [blockquote multi line full label]: https://example.com/blockquote-multi-line-full-label␊ - [blockquote multi line collapsed label]: https://example.com/blockquote-multi-line-collapsed-label␊ - [blockquote multi line shortcut label]: https://example.com/blockquote-multi-line-shortcut-label␊ - [blockquote blockquote multi line shortcut label]: https://example.com/blockquote-blockquote-multi-line-shortcut-label␊ - [colon]: https://example.com/colon␊ - [multi-line-label]:␊ - https://example.com/multi-line-label␊ - [link-in-label]: https://example.com/path?[brackets][]␊ - [unique0]: https://example.com/unique0␊ - [unique1]: https://example.com/unique1␊ - [unique2]: https://example.com/unique2␊ - [unique3]: https://example.com/unique3␊ - [unique4]: https://example.com/unique4␊ - [unique5]: https://example.com/unique5␊ - [unique6]: https://example.com/unique6␊ - [unique7]: https://example.com/unique7␊ - [unique8]: https://example.com/unique8␊ - [unique9]: https://example.com/unique9␊ - [unique10]: https://example.com/unique10␊ - [^1]: {MD034}␊ - ␊ - ## Ignored Labels␊ - ␊ - [//]: # (This is a technique for putting comments in Markdown)␊ - ␊ - [//]: <> (Here is another variant)␊ - ␊ - ## Invalid Labels␊ - ␊ - Duplicate/unused:␊ - ␊ - [blank-line-filler-0]: https://example.com␊ - [blank-line-filler-1]: https://example.com␊ - ␊ - [blank-line-filler-0][] [blank-line-filler-1][]␊ - ␊ - [Duplicate unused multi-line label {MD053}]:␊ - https://example.com/duplicate-unused-multi-line-label␊ - ␊ - [Duplicate unused multi-line label {MD053}]:␊ - https://example.com/duplicate-unused-multi-line-label␊ - ␊ - \\[Escaped left]: text␊ - ␊ - [Escaped right\\]: text␊ - ␊ - ## Valid Links and Images after Labels␊ - ␊ - Link and image: [text][label] [![text][image]][label]␊ - ␊ - ## More Invalid Links and Images after Labels␊ - ␊ - Bad link with image [![text][image]][missing] {MD052}␊ - ␊ - ## Shortcut One-Way Handling␊ - ␊ - Validates the label: [shortcut]␊ - ␊ - [shortcut]: https://example.com/shortcut␊ - ␊ - Not flagged due to ambiguity: [ignored]␊ - ␊ - ## Open Bracket Pairs␊ - ␊ - Unmatched [ in text␊ - ␊ - Hidden reference: [hidden][] {MD052}␊ - ␊ - ## Link references inside reference definitions␊ - ␊ - Text with a [^footnote] in it␊ - ␊ - [^footnote]: Footnote with an [embedded-reference][] in it␊ - ␊ - [embedded-reference]: https://example.com/embedded-reference␊ - `, - } - -## reference-links-ignored-definitions-empty.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '[oops]: https://example.com/{M...', - errorDetail: 'Unused link or image reference definition: "oops"', - errorRange: [ - 1, - 35, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 6, - 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: '[//]: <> ({MD053})', - errorDetail: 'Unused link or image reference definition: "//"', - errorRange: [ - 1, - 18, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 7, - 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: `# Reference Links Ignored Definitions (Empty)␊ - ␊ - Used reference link: [label]␊ - ␊ - [label]: https://example.com/label␊ - ␊ - ␊ - `, - } - -## reference-links-ignored-definitions.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '[oops]: https://example.com/{M...', - errorDetail: 'Unused link or image reference definition: "oops"', - errorRange: [ - 1, - 35, - ], - fixInfo: { - deleteCount: -1, - }, - lineNumber: 6, - 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: `# Reference Links Ignored Definitions␊ - ␊ - Used reference link: [label]␊ - ␊ - [label]: https://example.com/label␊ - [okay]: https://example.com/ignored␊ - [yep]: https://example.com/ignored␊ - ␊ - ␊ - `, - } - -## required-headings-all-optional-at-least-one.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - #### four␊ - ␊ - ##### Five␊ - ␊ - ###### SiX␊ - ␊ - ␊ - `, - } - -## required-headings-all-optional.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - #### four␊ - ␊ - ##### Five␊ - ␊ - ###### SiX␊ - ␊ - ␊ - `, - } - -## required-headings-all-present.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ## four␊ - ␊ - ## Five␊ - ␊ - ### SiX␊ - ␊ - ␊ - `, - } - -## required-headings-match-case.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Title␊ - ␊ - ## First Heading␊ - ␊ - ## Second Heading␊ - ␊ - ### Random heading␊ - ␊ - ## Third Heading␊ - ␊ - ␊ - `, - } - -## required-headings-missing-first.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: # One; Actual: ## Two {MD043}', - errorRange: null, - fixInfo: null, - lineNumber: 3, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `text␊ - ␊ - ## Two {MD043}␊ - ␊ - ### Three␊ - ␊ - ␊ - `, - } - -## required-headings-missing-last-zero-or-more.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '### Five', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 30, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ## four␊ - ␊ - ## Five␊ - ␊ - ### SiX␊ - ␊ - #### FOO␊ - ␊ - {MD043:30}␊ - ␊ - ␊ - `, - } - -## required-headings-missing-last.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '### Three', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 17, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - { - errorContext: null, - errorDetail: null, - errorRange: [ - 15, - 1, - ], - fixInfo: { - editColumn: 16, - insertText: `␊ - `, - }, - lineNumber: 17, - 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: `One␊ - ===␊ - ␊ - Two␊ - ---␊ - ␊ - ␊ - ␊ - {MD043} {MD047}␊ - `, - } - -## required-headings-missing-middle-zero-or-more.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '### FOO', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 30, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ## four␊ - ␊ - ## Five␊ - ␊ - ### SiX␊ - ␊ - #### 7␊ - ␊ - {MD043:30}␊ - ␊ - ␊ - `, - } - -## required-headings-missing-middle.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: ## Two; Actual: ### Three {MD001} {MD043}', - errorRange: null, - fixInfo: null, - lineNumber: 3, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `# One #␊ - ␊ - ### Three {MD001} {MD043} ###␊ - ␊ - #### Four ####␊ - ␊ - ␊ - `, - } - -## required-headings-none-one-or-more.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '+', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 15, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `Text␊ - ␊ - Text␊ - ␊ - {MD043:15}␊ - ␊ - ␊ - `, - } - -## required-headings-none-zero-or-more.md - -> Snapshot 1 - - { - errors: [], - fixed: `Text␊ - ␊ - Text␊ - ␊ - Text␊ - ␊ - ␊ - `, - } - -## required-headings-none.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: [None]; Actual: # One {MD043}', - errorRange: null, - fixInfo: null, - lineNumber: 1, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `# One {MD043}␊ - ␊ - ## Two␊ - ␊ - ### Three␊ - ␊ - ␊ - `, - } - -## required-headings-one-or-more.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '#### 7', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 30, - ruleDescription: 'Required heading structure', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', - ruleNames: [ - 'MD043', - 'required-headings', - ], - }, - ], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ## four␊ - ␊ - ## Five␊ - ␊ - ### SiX␊ - ␊ - #### 7␊ - ␊ - {MD043:30}␊ - ␊ - ␊ - `, - } - -## required-headings-optional-first.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### Three␊ - ␊ - #### Four␊ - ␊ - ␊ - `, - } - -## required-headings-optional-last.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### Three␊ - ␊ - #### Four␊ - ␊ - ␊ - `, - } - -## required-headings-optional-middle.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One #␊ - ␊ - ## Two ##␊ - ␊ - ### Three ###␊ - ␊ - #### Four ####␊ - ␊ - ##### Five #####␊ - ␊ - ␊ - `, - } - -## required-headings-optional-redundant.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### Three␊ - ␊ - #### Four␊ - ␊ - ␊ - `, - } - -## required-headings-wrong-match-case.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: ## Second Heading; Actual: ## SECOND HEADING', - 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', - ], - }, - ], - fixed: `# Title␊ - ␊ - ## First Heading␊ - ␊ - ## SECOND HEADING␊ - ␊ - {MD043:5}␊ - ␊ - ### Random heading␊ - ␊ - ## Third Heading␊ - ␊ - ␊ - `, - } - -## required-headings-zero-or-more-last.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ␊ - `, - } - -## required-headings-zero-or-more.md - -> Snapshot 1 - - { - errors: [], - fixed: `# One␊ - ␊ - ## Two␊ - ␊ - ### THREE␊ - ␊ - ## four␊ - ␊ - ## Five␊ - ␊ - ### SiX␊ - ␊ - #### 7␊ - ␊ - ␊ - `, - } - -## reversed-link-issue-with-markdownlint-12.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: '(?<1>\\[^"\'\\]*)["\']', - errorRange: [ - 12, - 18, - ], - fixInfo: { - deleteCount: 18, - editColumn: 12, - insertText: '[?<1>\\[^"\'\\]*]("\')', - }, - 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: 'Expected: 2; Actual: 3; Too many cells, extra data will be missing', - errorRange: [ - 42, - 16, - ], - fixInfo: null, - lineNumber: 5, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - ], - fixed: `# reversed-link-issue-with-markdownlint-12␊ - ␊ - |Pattern|Description|␊ - |-------------|-----------------|␊ - |\`(?:\\["'\\][?<1>\\[^"'\\]*]("')|(?<1>\\S+))\`|{MD011}{MD056}|␊ - ␊ - |Pattern|Description|␊ - |-------------|-----------------|␊ - |\`(?:\\["'\\](?<1>\\[^"'\\]*)["']\\|(?<1>\\S+))\`|...|␊ - `, - } - -## reversed_link.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: '(this website)[https://www.example.com]', - errorRange: [ - 7, - 39, - ], - fixInfo: { - deleteCount: 39, - editColumn: 7, - insertText: '[this website](https://www.example.com)', - }, - 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: '(issues)[https://www.example.com/one]', - errorRange: [ - 5, - 37, - ], - fixInfo: { - deleteCount: 37, - editColumn: 5, - insertText: '[issues](https://www.example.com/one)', - }, - lineNumber: 21, - 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: '(same text)[https://www.example.com/two]', - errorRange: [ - 5, - 40, - ], - fixInfo: { - deleteCount: 40, - editColumn: 5, - insertText: '[same text](https://www.example.com/two)', - }, - lineNumber: 22, - 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: '(issues)[https://www.example.com/three]', - errorRange: [ - 5, - 39, - ], - fixInfo: { - deleteCount: 39, - editColumn: 5, - insertText: '[issues](https://www.example.com/three)', - }, - lineNumber: 24, - 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: '(same line)[https://www.example.com/four]', - errorRange: [ - 52, - 41, - ], - fixInfo: { - deleteCount: 41, - editColumn: 52, - insertText: '[same line](https://www.example.com/four)', - }, - lineNumber: 24, - 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: [ - 1, - 16, - ], - fixInfo: { - deleteCount: 16, - editColumn: 1, - insertText: '[reversed](link)', - }, - lineNumber: 28, - 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: [ - 6, - 16, - ], - fixInfo: { - deleteCount: 16, - editColumn: 6, - insertText: '[reversed](link)', - }, - lineNumber: 35, - 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: '([a-zA-Z]|\\\\.[a-zA-Z.])[a-zA-Z0-9._]', - errorRange: [ - 17, - 36, - ], - fixInfo: { - deleteCount: 36, - editColumn: 17, - insertText: '[[a-zA-Z]|\\\\.[a-zA-Z.]](a-zA-Z0-9._)', - }, - lineNumber: 39, - 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: '([\\/.])[\\w\\-.\\/=]', - errorRange: [ - 12, - 17, - ], - fixInfo: { - deleteCount: 17, - editColumn: 12, - insertText: '[[\\/.]](\\w\\-.\\/=)', - }, - lineNumber: 41, - 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: '(^|\\/)[!.]', - errorRange: [ - 15, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 15, - insertText: '[^|\\/](!.)', - }, - lineNumber: 45, - 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: '(xxx)[xxx]', - errorRange: [ - 4, - 10, - ], - fixInfo: { - deleteCount: 10, - editColumn: 4, - insertText: '[xxx](xxx)', - }, - lineNumber: 57, - 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: [ - 6, - 16, - ], - fixInfo: { - deleteCount: 16, - editColumn: 6, - insertText: '[reversed](link)', - }, - lineNumber: 73, - 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: [ - 28, - 16, - ], - fixInfo: { - deleteCount: 16, - editColumn: 28, - insertText: '[reversed](link)', - }, - lineNumber: 73, - 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: 79, - ruleDescription: 'Reversed link syntax', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md011.md', - ruleNames: [ - 'MD011', - 'no-reversed-links', - ], - }, - ], - fixed: `# reversed_link␊ - ␊ - Go to [this website](https://www.example.com)␊ - ␊ - Go to [this website](https://www.example.com) {MD011}␊ - ␊ - Go to (this)[website](https://www.example.com)␊ - ␊ - However, this shouldn't trigger inside code blocks:␊ - ␊ - myObj.getFiles("test")[0]␊ - ␊ - Nor code fences:␊ - ␊ - \`\`\`js␊ - myObj.getFiles(test)[0];␊ - \`\`\`␊ - ␊ - Nor inline code: \`myobj.getFiles("test")[0]\`␊ - ␊ - Two [issues](https://www.example.com/one) in {MD011}␊ - the [same text](https://www.example.com/two). {MD011}␊ - ␊ - Two [issues](https://www.example.com/three) on the [same line](https://www.example.com/four). {MD011}␊ - ␊ - \`code code␊ - code\`␊ - [reversed](link) {MD011}␊ - ␊ - text␊ - text \`code␊ - code code␊ - code\` text␊ - text␊ - text [reversed](link) text {MD011}␊ - ␊ - ## Escaped JavaScript Content␊ - ␊ - var IDENT_RE = '[[a-zA-Z]|\\\\.[a-zA-Z.]](a-zA-Z0-9._)*'; {MD011}␊ - ␊ - begin: /\\B([[\\/.]](\\w\\-.\\/=)+)+/, {MD011}␊ - ␊ - {begin: '%r\\\\(', end: '\\\\)[a-z]*'}␊ - ␊ - return /(?:(?:[^|\\/](!.))|[*?+()|\\[\\]{}]|[+@]\\()/.test(str); {MD011}␊ - ␊ - ## Escaped Parens␊ - ␊ - (reversed)[link]␊ - ␊ - a ) a ( a )[a]~␊ - ␊ - a
) a ( a )[a]~
␊ - ␊ - ## Backslash Escapes␊ - ␊ - xxx[xxx](xxx) {MD011}␊ - ␊ - xxx\\(xxx)[xxx]␊ - ␊ - xxx(xxx\\)[xxx]␊ - ␊ - xxx(xxx)\\[xxx]␊ - ␊ - xxx(xxx)[xxx\\]␊ - ␊ - ## Consecutive Links␊ - ␊ - text [link](destination) text [link](destination) text␊ - text [link](destination)[link](destination) text␊ - text [link](destination)[link](destination)[link](destination) text␊ - ␊ - text [reversed](link) text [reversed](link) text {MD011}␊ - ␊ - ## Nested Parens␊ - ␊ - Text (text \`func()[index]\`) text␊ - ␊ - Text (text[reversed](link) text {MD011}␊ - ␊ - ## Empty Content␊ - ␊ - Text ()[text] text␊ - ␊ - Text (text()[text] text␊ - ␊ - ␊ - `, - } - -## short-headings.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '#A', - errorDetail: null, - errorRange: [ - 1, - 2, - ], - fixInfo: { - editColumn: 2, - 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: '##G', - 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: '#MM', - errorDetail: null, - errorRange: [ - 1, - 2, - ], - fixInfo: { - editColumn: 2, - insertText: ' ', - }, - lineNumber: 45, - 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: '##SS', - errorDetail: null, - errorRange: [ - 1, - 3, - ], - fixInfo: { - editColumn: 3, - insertText: ' ', - }, - lineNumber: 65, - 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: '# C', - errorDetail: null, - errorRange: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 11, - 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: '## I', - errorDetail: null, - errorRange: [ - 4, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 31, - 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: '# OO', - errorDetail: null, - errorRange: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 51, - 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: '## UU', - errorDetail: null, - errorRange: [ - 4, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 71, - 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: '#D#', - errorDetail: null, - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - insertText: '# D #', - }, - 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: '##J##', - errorDetail: null, - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 5, - editColumn: 1, - insertText: '## J ##', - }, - 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: '#PP#', - errorDetail: null, - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 4, - editColumn: 1, - insertText: '# PP #', - }, - lineNumber: 55, - 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: '##VV##', - errorDetail: null, - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - insertText: '## VV ##', - }, - lineNumber: 75, - 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: '# F #', - errorDetail: null, - errorRange: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 21, - 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: '# F #', - errorDetail: null, - errorRange: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 21, - 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: '## L ##', - errorDetail: null, - errorRange: [ - 4, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 41, - 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: '## L ##', - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 41, - 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: '# RR #', - errorDetail: null, - errorRange: [ - 3, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 61, - 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: '# RR #', - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 61, - 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: '## XX ##', - errorDetail: null, - errorRange: [ - 4, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 81, - 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: '## XX ##', - errorDetail: null, - errorRange: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 81, - 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: `# Short Headings␊ - ␊ - ␊ - ␊ - # A␊ - ␊ - {MD018:5}␊ - ␊ - # B␊ - ␊ - # C␊ - ␊ - {MD019:11}␊ - ␊ - # D #␊ - ␊ - {MD020:15}␊ - ␊ - # E #␊ - ␊ - # F #␊ - ␊ - {MD021:21}␊ - ␊ - ## G␊ - ␊ - {MD018:25}␊ - ␊ - ## H␊ - ␊ - ## I␊ - ␊ - {MD019:31}␊ - ␊ - ## J ##␊ - ␊ - {MD020:35}␊ - ␊ - ## K ##␊ - ␊ - ## L ##␊ - ␊ - {MD021:41}␊ - ␊ - # MM␊ - ␊ - {MD018:45}␊ - ␊ - # NN␊ - ␊ - # OO␊ - ␊ - {MD019:51}␊ - ␊ - # PP #␊ - ␊ - {MD020:55}␊ - ␊ - # QQ #␊ - ␊ - # RR #␊ - ␊ - {MD021:61}␊ - ␊ - ## SS␊ - ␊ - {MD018:65}␊ - ␊ - ## TT␊ - ␊ - ## UU␊ - ␊ - {MD019:71}␊ - ␊ - ## VV ##␊ - ␊ - {MD020:75}␊ - ␊ - ## WW ##␊ - ␊ - ## XX ##␊ - ␊ - {MD021:81}␊ - `, - } - -## simple-table.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Heading␊ - ␊ - | Head |␊ - | ---- |␊ - | Cell |␊ - | ==== |␊ - | Foot |␊ - `, - } - -## spaces-inside-emphasis-markers-multiple-lines.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '* e', - errorDetail: null, - errorRange: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 36, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 40, - 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: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 42, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - 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: '* e', - errorDetail: null, - errorRange: [ - 17, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 18, - }, - lineNumber: 48, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 49, - 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: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - 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: 's *', - 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: '* e', - errorDetail: null, - errorRange: [ - 19, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - 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: '* e', - errorDetail: null, - errorRange: [ - 12, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 13, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 21, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 22, - }, - 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: '* e', - errorDetail: null, - errorRange: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 57, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 10, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: '* e', - errorDetail: null, - errorRange: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 65, - 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: [ - 10, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - lineNumber: 66, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 69, - 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: 69, - 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: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 71, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 72, - 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: '** b', - errorDetail: null, - errorRange: [ - 6, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 74, - 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: 'd **', - errorDetail: null, - errorRange: [ - 4, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 75, - 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: null, - errorDetail: 'Expected: asterisk; Actual: underscore', - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - insertText: '*', - }, - lineNumber: 103, - 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: 103, - ruleDescription: 'Emphasis style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md', - ruleNames: [ - 'MD049', - 'emphasis-style', - ], - }, - ], - fixed: `# Space Inside Emphasis Markers, Multiple Lines␊ - ␊ - Text *emphasis␊ - emphasis* text␊ - ␊ - Text *emphasis* *emphasis␊ - emphasis* *emphasis* text␊ - ␊ - Text *emphasis* text *emphasis␊ - emphasis* text *emphasis* text␊ - ␊ - Text *emphasis* *emphasis␊ - emphasis* *emphasis* *emphasis␊ - emphasis* text *emphasis␊ - emphasis* text *emphasis* text␊ - ␊ - Text text␊ - text *emphasis␊ - emphasis emphasis␊ - emphasis* text␊ - text text␊ - ␊ - Text * asterisk␊ - ␊ - Text * asterisk␊ - ␊ - * Item *emphasis* item␊ - * Item *emphasis* item␊ - * Item *emphasis␊ - emphasis* item␊ - * Item *emphasis* item␊ - ␊ - * Item * asterisk␊ - * Item * asterisk␊ - ␊ - Text *emphasis {MD037}␊ - emphasis* text␊ - ␊ - Text *emphasis␊ - emphasis* text {MD037}␊ - ␊ - Text *emphasis {MD037}␊ - emphasis* text {MD037}␊ - ␊ - Text *emphasis * *emphasis␊ - emphasis* * emphasis* text␊ - ␊ - Text *emphasis* *emphasis {MD037}␊ - emphasis* *emphasis* text {MD037}␊ - ␊ - Text *emphasis* *emphasis {MD037}␊ - emphasis* *emphasis* text {MD037}␊ - ␊ - Text text␊ - text *emphasis {MD037}␊ - emphasis emphasis␊ - emphasis* text {MD037}␊ - text text␊ - ␊ - * Item *emphasis* item␊ - * Item *emphasis {MD037}␊ - emphasis* item␊ - * Item *emphasis␊ - emphasis* item {MD037}␊ - * Item *emphasis {MD037}␊ - emphasis* item {MD037}␊ - * Item *emphasis* item␊ - * Item item item␊ - item *emphasis* item {MD037}␊ - ␊ - Text *emphasis {MD037}␊ - emphasis* text {MD037}␊ - ␊ - Text **bold {MD037}␊ - bold** text {MD037}␊ - ␊ - Emphasis \`inside␊ - of * code *␊ - blocks\` is okay.␊ - ␊ - Emphasis \`* inside\`␊ - code␊ - \`blocks *\` is okay.␊ - ␊ - Emphasis \`inside *\`␊ - code␊ - \`* blocks\` is okay.␊ - ␊ - Emphasis \`inside␊ - _ code _␊ - blocks\` is okay.␊ - ␊ - Emphasis \`_ inside\`␊ - code␊ - \`blocks _\` is okay.␊ - ␊ - Emphasis \`inside _\`␊ - code␊ - \`_ blocks\` is okay.␊ - ␊ - Mixed \`code_span\`␊ - scenarios␊ - are *also* okay. {MD049}␊ - ␊ - Mixed \`code*span\`␊ - scenarios␊ - are *also* okay.␊ - ␊ - This paragraph␊ - contains *a* mix␊ - of \`*\` emphasis␊ - scenarios and *should*␊ - not trigger \`*\` any␊ - violations at *all*.␊ - ␊ - This paragraph␊ - contains \`a * slightly␊ - more complicated␊ - multi-line emphasis␊ - scenario * that␊ - should * not trigger␊ - violations * either\`.␊ - ␊ - ␊ - *text␊ - \`\`\`text␊ - \`\`\`␊ - text *␊ - ␊ - `, - } - -## spaces-inside-link-text.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '[ link ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 3, - 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: 3, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 5, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 5, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 7, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 7, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 9, - 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: [ - 9, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 9, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - 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: '[ __link__ ]', - errorDetail: null, - errorRange: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: '[ link "link" ]', - 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: '[ link "link" ]', - errorDetail: null, - errorRange: [ - 14, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - 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: '[ link `link` ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 15, - 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 `link` ]', - errorDetail: null, - errorRange: [ - 14, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 15, - 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* link ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - 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', - ], - }, - { - errorContext: '[ *link* link ]', - errorDetail: null, - errorRange: [ - 14, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - 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: `# Spaces Inside Link Text␊ - ␊ - [link](https://example.com/) {MD039}␊ - ␊ - ["link"](https://example.com/) {MD039}␊ - ␊ - [\`link\`](https://example.com/) {MD039}␊ - ␊ - [*link*](https://example.com/) {MD039}␊ - ␊ - [__link__](https://example.com/) {MD039}␊ - ␊ - [link "link"](https://example.com/) {MD039}␊ - ␊ - [link \`link\`](https://example.com/) {MD039}␊ - ␊ - [*link* link](https://example.com/) {MD039}␊ - `, - } - -## spaces_after_list_marker.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 11, - 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, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 12, - 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: 3', - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 3, - editColumn: 2, - 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', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 1', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 17, - 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: 3; Actual: 1', - errorRange: [ - 5, - 2, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - insertText: ' ', - }, - lineNumber: 18, - 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: 3; Actual: 2', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 2, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 37, - 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: 3; Actual: 4', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 4, - editColumn: 2, - insertText: ' ', - }, - lineNumber: 41, - 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: 59, - 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: 60, - 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: 61, - 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: 2; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: ' ', - }, - lineNumber: 65, - 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: 2; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: ' ', - }, - lineNumber: 67, - 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: 2; Actual: 1', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - insertText: ' ', - }, - lineNumber: 68, - ruleDescription: 'Spaces after list markers', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md030.md', - ruleNames: [ - 'MD030', - 'list-marker-space', - ], - }, - ], - fixed: `# spaces_after_list_marker␊ - ␊ - Normal list␊ - ␊ - * Foo␊ - * Bar␊ - * Baz␊ - ␊ - List with incorrect spacing␊ - ␊ - * Foo {MD030}␊ - * Bar {MD030}␊ - * Baz {MD030}␊ - ␊ - List with children:␊ - ␊ - * Foo {MD030}␊ - * Bar {MD030}␊ - * Baz␊ - ␊ - List with children and correct spacing:␊ - ␊ - * Foo␊ - * Bar␊ - * Baz (This sublist has no children)␊ - ␊ - List with Multiple paragraphs and correct spacing␊ - ␊ - * Foo␊ - ␊ - Here is the second paragraph␊ - ␊ - * All items in the list need the same indent␊ - ␊ - List with multiple paragraphs and incorrect spacing␊ - ␊ - * Foo {MD030}␊ - ␊ - Here is the second paragraph␊ - ␊ - * Bar {MD030}␊ - ␊ - List with code blocks:␊ - ␊ - * Foo␊ - ␊ - Here is some code␊ - ␊ - * Bar␊ - ␊ - Ordered lists:␊ - ␊ - 1. Foo␊ - 1. Bar␊ - 1. Baz␊ - ␊ - And with incorrect spacing:␊ - ␊ - 1. Foo {MD030}␊ - 1. Bar {MD030}␊ - 1. Baz {MD030}␊ - ␊ - Ordered lists with children:␊ - ␊ - 1. Foo {MD030}␊ - * Hi␊ - 1. Bar {MD030}␊ - 1. Baz {MD030}␊ - ␊ - Ordered lists with children (correct spacing), and with something other than␊ - the first item determining that the entire list has children:␊ - ␊ - 1. Foo␊ - 1. Bar␊ - * Hi␊ - 1. Baz␊ - ␊ - ␊ - `, - } - -## spaces_inside_codespan_elements.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: '` codespan element with space ...', - errorDetail: null, - errorRange: [ - 1, - 42, - ], - fixInfo: { - deleteCount: 40, - editColumn: 2, - insertText: 'codespan element with space inside left', - }, - 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: '...ment with space inside right `', - errorDetail: null, - errorRange: [ - 1, - 43, - ], - fixInfo: { - deleteCount: 41, - editColumn: 2, - insertText: 'codespan element with space inside right', - }, - lineNumber: 7, - 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: '` `', - errorDetail: null, - errorRange: [ - 14, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 15, - insertText: '', - }, - lineNumber: 13, - 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: [ - 6, - 9, - ], - fixInfo: { - deleteCount: 5, - editColumn: 8, - insertText: 'code', - }, - 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: '``code ``', - errorDetail: null, - errorRange: [ - 6, - 9, - ], - fixInfo: { - deleteCount: 5, - editColumn: 8, - insertText: 'code', - }, - 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: '`` code``', - errorDetail: null, - errorRange: [ - 22, - 9, - ], - fixInfo: { - deleteCount: 5, - editColumn: 24, - insertText: 'code', - }, - 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 ``', - errorDetail: null, - errorRange: [ - 22, - 9, - ], - fixInfo: { - deleteCount: 5, - editColumn: 24, - insertText: 'code', - }, - lineNumber: 41, - 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: '``` ` multiple leading spaces...', - errorDetail: null, - errorRange: [ - 1, - 45, - ], - fixInfo: { - deleteCount: 39, - editColumn: 4, - insertText: ' ` multiple leading spaces not allowed', - }, - 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: '...iling spaces not allowed ` ``', - errorDetail: null, - errorRange: [ - 1, - 44, - ], - fixInfo: { - deleteCount: 40, - editColumn: 3, - insertText: 'multiple trailing spaces not allowed ` ', - }, - 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) text `', - errorDetail: null, - errorRange: [ - 19, - 13, - ], - fixInfo: { - deleteCount: 11, - editColumn: 20, - insertText: 'link) text', - }, - lineNumber: 83, - 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) text `', - errorDetail: null, - errorRange: [ - 23, - 13, - ], - fixInfo: { - deleteCount: 11, - editColumn: 24, - insertText: 'link) text', - }, - 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: '` code`', - errorDetail: null, - errorRange: [ - 28, - 7, - ], - fixInfo: { - deleteCount: 5, - editColumn: 29, - insertText: 'code', - }, - 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: '`code `', - errorDetail: null, - errorRange: [ - 28, - 7, - ], - fixInfo: { - deleteCount: 5, - editColumn: 29, - insertText: 'code', - }, - 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', - ], - }, - { - errorContext: '` `', - errorDetail: null, - errorRange: [ - 13, - 6, - ], - fixInfo: { - deleteCount: 4, - editColumn: 14, - insertText: '', - }, - lineNumber: 109, - 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: [ - 36, - 9, - ], - fixInfo: { - deleteCount: 7, - editColumn: 37, - insertText: 'code', - }, - lineNumber: 111, - 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: [ - 37, - 9, - ], - fixInfo: { - deleteCount: 7, - editColumn: 38, - insertText: 'code', - }, - lineNumber: 113, - 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: [ - 30, - 10, - ], - fixInfo: { - deleteCount: 8, - editColumn: 31, - insertText: 'code', - }, - lineNumber: 115, - 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: '``` ` multiple leading {MD038...', - errorDetail: null, - errorRange: [ - 6, - 31, - ], - fixInfo: { - deleteCount: 28, - editColumn: 9, - insertText: ' ` multiple leading {MD038}', - }, - lineNumber: 129, - 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: 'not allowed ` ``', - errorDetail: null, - errorRange: [ - 1, - 17, - ], - fixInfo: { - deleteCount: 15, - editColumn: 1, - insertText: 'not allowed ` ', - }, - lineNumber: 136, - 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](#link`link)', - errorDetail: null, - errorRange: [ - 6, - 18, - ], - fixInfo: null, - lineNumber: 81, - 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](#link`link)', - errorDetail: null, - errorRange: [ - 11, - 18, - ], - fixInfo: null, - lineNumber: 85, - 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(link](#link`link)', - errorDetail: null, - errorRange: [ - 6, - 23, - ], - fixInfo: null, - lineNumber: 87, - 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)link](#link`link)', - errorDetail: null, - errorRange: [ - 6, - 23, - ], - fixInfo: null, - lineNumber: 89, - 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](#link[link`link)', - errorDetail: null, - errorRange: [ - 6, - 23, - ], - fixInfo: null, - lineNumber: 91, - 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](#link]link`link)', - errorDetail: null, - errorRange: [ - 6, - 23, - ], - fixInfo: null, - lineNumber: 93, - ruleDescription: 'Link fragments should be valid', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md051.md', - ruleNames: [ - 'MD051', - 'link-fragments', - ], - }, - ], - fixed: `# spaces_inside_codespan_elements␊ - ␊ - \`normal codespan element\`␊ - ␊ - \`codespan element with space inside left\` {MD038}␊ - ␊ - \`codespan element with space inside right\` {MD038}␊ - ␊ - \` codespan element with spaces inside \` (allowed per spec)␊ - ␊ - empty \`\` codespan element␊ - ␊ - single space \`\` codespan element {MD038}␊ - ␊ - \`,\`, \`.\`␊ - ␊ - \`,\`, \`code\`␊ - ␊ - \`[\`, \`(\`, \`+\`, \`*\`, \`/\`, \`-\`, \`,\`, \`.\`␊ - ␊ - \`code\` code \`anything\`␊ - ␊ - text \`code\` code \`anything\` text␊ - ␊ - text \`code\` text \`anything\` code \`end\`␊ - ␊ - text \`anything\` code \`code\` text \`end\`␊ - ␊ - text \`anything\` text \`anything\` code \`anything\` \`code\`␊ - ␊ - text \`\`code\`\` text \`\`code\`\` text␊ - ␊ - text \`\`code\`\` text {MD038}␊ - ␊ - text \`\`code\`\` text {MD038}␊ - ␊ - text \`\`\`code\`\`\` text \`\`\`code\`\`\` text␊ - ␊ - text \`\`\`code\`\`\` text \`\`code\`\` text {MD038}␊ - ␊ - text \`\`\`code\`\`\` text \`\`code\`\` text {MD038}␊ - ␊ - \`\`embedded \` backtick\`\` text \`code\`␊ - ␊ - \`backslash does not escape \\\` backtick in code span \`␊ - ␊ - escaped \\\` backtick is ignored outside \`code span\`␊ - ␊ - \`code\` then escaped \\\` backtick␊ - ␊ - \`\`code\`\` then escaped \\\` backtick then \`code\`␊ - ␊ - multiple \\\` escaped backticks \\\` in text␊ - ␊ - \\\` escaped backtick \\\` at start of text␊ - ␊ - text and \`\`\\\`code with ignored escaped \\\` backticks\`\`␊ - ␊ - \`\` \` \`\` text \`code\`␊ - ␊ - \` \`\` \` text \`code\`␊ - ␊ - \`\`\` \` leading space allowed for backtick\`\`\` text \`code\`␊ - ␊ - \`\`\` \` multiple leading spaces not allowed\`\`\` text \`code\` {MD038}␊ - ␊ - \`\`trailing space allowed for backtick \` \`\` text \`code\`␊ - ␊ - \`\`multiple trailing spaces not allowed \` \`\` text \`code\` {MD038}␊ - ␊ - \`\` \` leading and trailing space allowed for backtick \` \`\` text \`code\`␊ - ␊ - Text [link](https://example.com/link\`link) text \`code\`.␊ - ␊ - Text [link](https://example.com/link\`\`\`link) text \`\`\`code\`\`\`.␊ - ␊ - Text [link](https://example.com/link\`link\`link\`link) text \`code\`.␊ - ␊ - Text [link](https://example.com/link "title\`title") text \`code\`.␊ - ␊ - Text [link](#link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link] (#link\`link) text\`code\`. {MD038}␊ - ␊ - Text [link[link](#link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link(link](#link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link)link](#link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link](#link[link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link](#link]link\`link) text \`code\`. {MD051}␊ - ␊ - Text [link](#link(link\`link) text\`code\`. {MD038}␊ - ␊ - Text [\`link\`](xref:custom.link\`1) text \`code\`.␊ - ␊ - Text \`\`code [link](#link\`link) code\`\` text \`code\`.␊ - ␊ - No space, start or end: \`code\`␊ - ␊ - Start space, no end space: \`code\` {MD038}␊ - ␊ - No start space, end space: \`code\` {MD038}␊ - ␊ - Single start and end space: \` code \` (explicitly allowed/trimmed by the specification)␊ - ␊ - All spaces: \`\` {MD038}␊ - ␊ - Double start and single end space: \`code\` {MD038}␊ - ␊ - Single start and double end spaces: \`code\` {MD038}␊ - ␊ - Double start and end spaces: \`code\` {MD038}␊ - ␊ - Spaces before and after: \` codecode \`␊ - As above, with an internal space: \` code code \`␊ - As above, practical example with a backtick: \`\` Ctrl + \` \`\`␊ - As above, no internal space: \`\` Ctrl+\` \`\`␊ - Again, 3 characters: \` abc \`␊ - Again, 2 characters: \` ab \`␊ - Again, 1 character: \` a \`␊ - Many internal spaces: \` code code code code code code \`␊ - ␊ - text \`\`\` \` leading space␊ - allowed for backtick\`\`\` text␊ - ␊ - text \`\`\` \` multiple leading {MD038}␊ - spaces not allowed\`\`\` text␊ - ␊ - text \`\`trailing space␊ - allowed for backtick \` \`\` text␊ - ␊ - text \`\`multiple trailing spaces␊ - not allowed \` \`\` text {MD038}␊ - ␊ - text \`\` \` leading and trailing␊ - space allowed for backtick \` \`\` text␊ - ␊ - ␊ - ␊ - Text␊ - \`\`\`␊ - Code␊ - \`\`\`␊ - ␊ - Text␊ - \`\`\`␊ - Code␊ - \`\`\`␊ - ␊ - Text␊ - \`\`\`␊ - Code␊ - \`\`\`␊ - ␊ - Text␊ - \`\`\`␊ - Code␊ - \`\`\`␊ - Text␊ - ␊ - Text␊ - \`\`\`␊ - Code␊ - \`\`\`␊ - Text␊ - `, - } - -## spaces_inside_emphasis_markers.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Element: b', - errorRange: [ - 10, - 3, - ], - fixInfo: null, - lineNumber: 380, - 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: 382, - 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: [ - 10, - 39, - ], - fixInfo: null, - lineNumber: 386, - 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: [ - 10, - 41, - ], - fixInfo: null, - lineNumber: 388, - 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: [ - 10, - 24, - ], - fixInfo: null, - lineNumber: 390, - ruleDescription: 'Inline HTML', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md', - ruleNames: [ - 'MD033', - 'no-inline-html', - ], - }, - { - errorContext: '* e', - errorDetail: null, - errorRange: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 17, - 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: 17, - 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: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - 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: 'g **', - errorDetail: null, - errorRange: [ - 16, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 17, - }, - 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: '*** s', - errorDetail: null, - errorRange: [ - 8, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: 's ***', - errorDetail: null, - errorRange: [ - 30, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 31, - }, - 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: '_ e', - errorDetail: null, - errorRange: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - 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: 's _', - errorDetail: null, - errorRange: [ - 17, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 18, - }, - 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: '__ s', - errorDetail: null, - errorRange: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 25, - 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: 'g __', - errorDetail: null, - errorRange: [ - 16, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 17, - }, - lineNumber: 25, - 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: [ - 8, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: 's ___', - errorDetail: null, - errorRange: [ - 30, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 31, - }, - 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: '* b', - errorDetail: null, - errorRange: [ - 25, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 26, - }, - lineNumber: 29, - 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: [ - 41, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 42, - }, - lineNumber: 29, - 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: '** b', - errorDetail: null, - errorRange: [ - 25, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - 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: 'g **', - errorDetail: null, - errorRange: [ - 40, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 41, - }, - 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: '*** b', - errorDetail: null, - errorRange: [ - 40, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 43, - }, - 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: [ - 69, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 70, - }, - 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: '_ b', - errorDetail: null, - errorRange: [ - 25, - 3, - ], - 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: 's _', - errorDetail: null, - errorRange: [ - 41, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 42, - }, - 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: '__ b', - errorDetail: null, - errorRange: [ - 25, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - lineNumber: 37, - 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: 'g __', - errorDetail: null, - errorRange: [ - 40, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 41, - }, - lineNumber: 37, - 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: '___ b', - errorDetail: null, - errorRange: [ - 40, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 43, - }, - 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: 's ___', - errorDetail: null, - errorRange: [ - 69, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 70, - }, - 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: '* b', - errorDetail: null, - errorRange: [ - 35, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 36, - }, - lineNumber: 41, - 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: [ - 51, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 52, - }, - lineNumber: 41, - 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: '_ b', - errorDetail: null, - errorRange: [ - 30, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 31, - }, - 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: 's _', - errorDetail: null, - errorRange: [ - 46, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 47, - }, - 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: '* b', - errorDetail: null, - errorRange: [ - 10, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 26, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 26, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - lineNumber: 45, - 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: '* b', - errorDetail: null, - errorRange: [ - 11, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 12, - }, - 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: [ - 13, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 49, - 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: '* w', - errorDetail: null, - errorRange: [ - 24, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 25, - }, - 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: '** S', - errorDetail: null, - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 57, - 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: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 59, - 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: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - 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: '__ S', - errorDetail: null, - errorRange: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - 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: '___ S', - errorDetail: null, - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 65, - 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: [ - 9, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - 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: 'g **', - errorDetail: null, - errorRange: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 69, - 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: [ - 22, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - }, - lineNumber: 71, - 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: [ - 9, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - 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: 'g __', - errorDetail: null, - errorRange: [ - 8, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 75, - 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: [ - 22, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - }, - 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: '* e', - errorDetail: null, - errorRange: [ - 20, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - 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: '** s', - errorDetail: null, - errorRange: [ - 20, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 22, - }, - 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: '*** s', - errorDetail: null, - errorRange: [ - 20, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - }, - 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: '_ e', - errorDetail: null, - errorRange: [ - 20, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - 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: '__ s', - errorDetail: null, - errorRange: [ - 20, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 22, - }, - 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: '___ s', - errorDetail: null, - errorRange: [ - 20, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - }, - 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: 's *', - errorDetail: null, - errorRange: [ - 29, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 30, - }, - lineNumber: 91, - 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: 'g **', - errorDetail: null, - errorRange: [ - 28, - 4, - ], - 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: 's ***', - errorDetail: null, - errorRange: [ - 42, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 43, - }, - 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: 's _', - errorDetail: null, - errorRange: [ - 29, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 30, - }, - 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: 'g __', - errorDetail: null, - errorRange: [ - 28, - 4, - ], - 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: 's ___', - errorDetail: null, - errorRange: [ - 42, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 43, - }, - 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: 'e **', - errorDetail: null, - errorRange: [ - 10, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - 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: [ - 25, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 26, - }, - 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: 't **', - errorDetail: null, - errorRange: [ - 42, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 43, - }, - 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: '** a', - errorDetail: null, - errorRange: [ - 39, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 41, - }, - 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: 't **', - errorDetail: null, - errorRange: [ - 43, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 44, - }, - 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: '* a', - errorDetail: null, - errorRange: [ - 9, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 107, - 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: [ - 22, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 23, - }, - lineNumber: 107, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 111, - 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: 'm *', - errorDetail: null, - errorRange: [ - 12, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 13, - }, - lineNumber: 112, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 113, - 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: 'm *', - errorDetail: null, - errorRange: [ - 13, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 113, - 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: [ - 7, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 116, - 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: [ - 13, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - 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: '* t', - errorDetail: null, - errorRange: [ - 14, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 15, - }, - lineNumber: 118, - 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: [ - 18, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 19, - }, - lineNumber: 118, - 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: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 127, - 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: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 133, - 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: [ - 14, - 5, - ], - fixInfo: { - deleteCount: 1, - editColumn: 15, - }, - lineNumber: 135, - 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: [ - 19, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 137, - 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: 'g **', - errorDetail: null, - errorRange: [ - 18, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 19, - }, - lineNumber: 139, - 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: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 145, - 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: [ - 12, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 13, - }, - lineNumber: 147, - 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: [ - 1, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 3, - }, - lineNumber: 149, - 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: [ - 15, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 16, - }, - lineNumber: 155, - 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: [ - 18, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 19, - }, - lineNumber: 161, - 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: [ - 8, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 9, - }, - lineNumber: 163, - 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: [ - 6, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 167, - 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: [ - 10, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - lineNumber: 169, - 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: [ - 12, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 171, - 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: 'g **', - errorDetail: null, - errorRange: [ - 19, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 173, - 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: '* t', - errorDetail: null, - errorRange: [ - 16, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 17, - }, - lineNumber: 353, - 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: 't *', - errorDetail: null, - errorRange: [ - 20, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - lineNumber: 354, - 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: '_ t', - errorDetail: null, - errorRange: [ - 16, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 17, - }, - lineNumber: 356, - 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: 't _', - errorDetail: null, - errorRange: [ - 20, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - lineNumber: 357, - 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: [ - 20, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - lineNumber: 380, - 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: 'L *', - errorDetail: null, - errorRange: [ - 25, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 26, - }, - lineNumber: 380, - 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: [ - 34, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 35, - }, - lineNumber: 390, - 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: 'L *', - errorDetail: null, - errorRange: [ - 39, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 40, - }, - lineNumber: 390, - 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: `# Heading␊ - ␊ - ␊ - ␊ - Line with *Normal emphasis*␊ - ␊ - Line with **Normal strong**␊ - ␊ - Line with ***Normal strong and emphasis***␊ - ␊ - Line with _Normal emphasis_␊ - ␊ - Line with __Normal strong__␊ - ␊ - Line with ___Normal strong and emphasis___␊ - ␊ - Broken *emphasis* with spaces in {MD037}␊ - ␊ - Broken **strong** with spaces in {MD037}␊ - ␊ - Broken ***strong and emphasis*** with spaces in {MD037}␊ - ␊ - Broken _emphasis_ with spaces in {MD037}␊ - ␊ - Broken __strong__ with spaces in {MD037}␊ - ␊ - Broken ___strong and emphasis___ with spaces in {MD037}␊ - ␊ - Mixed *ok emphasis* and *broken emphasis* {MD037}␊ - ␊ - Mixed **ok strong** and **broken strong** {MD037}␊ - ␊ - Mixed ***ok strong and emphasis*** and ***broken strong and emphasis*** {MD037}␊ - ␊ - Mixed _ok emphasis_ and _broken emphasis_ {MD037}␊ - ␊ - Mixed __ok strong__ and __broken strong__ {MD037}␊ - ␊ - Mixed ___ok strong and emphasis___ and ___broken strong and emphasis___ {MD037}␊ - ␊ - Mixed *ok emphasis* **ok strong** *broken emphasis* {MD037}␊ - ␊ - Multiple *broken emphasis* _broken emphasis_ {MD037}␊ - ␊ - One-sided *broken emphasis* {MD037}␊ - ␊ - One-sided *broken emphasis* {MD037}␊ - ␊ - Will _flag on_words with underscores before them. {MD037}␊ - ␊ - The same goes for words*with asterisks* after them. {MD037}␊ - ␊ - But not with escaped\\* asterisks\\* \\_and \\_underscores.␊ - ␊ - * Emphasis* with left space is recognized as a list␊ - ␊ - **Strong** with left space {MD037}␊ - ␊ - ***Strong and emphasis*** with left space {MD037}␊ - ␊ - _Emphasis_ with left space {MD037}␊ - ␊ - __Strong__ with left space {MD037}␊ - ␊ - ___Strong and emphasis___ with left space {MD037}␊ - ␊ - *Emphasis* with right space {MD037}␊ - ␊ - **Strong** with right space {MD037}␊ - ␊ - ***Strong and emphasis*** with right space {MD037}␊ - ␊ - _Emphasis_ with right space {MD037}␊ - ␊ - __Strong__ with right space {MD037}␊ - ␊ - ___Strong and emphasis___ with right space {MD037}␊ - ␊ - {MD037} Left space *emphasis*␊ - ␊ - {MD037} Left space **strong**␊ - ␊ - {MD037} Left space ***strong and emphasis***␊ - ␊ - {MD037} Left space _emphasis_␊ - ␊ - {MD037} Left space __strong__␊ - ␊ - {MD037} Left space ___strong and emphasis___␊ - ␊ - {MD037} Right space *emphasis*␊ - ␊ - {MD037} Right space **strong**␊ - ␊ - {MD037} Right space ***strong and emphasis***␊ - ␊ - {MD037} Right space _emphasis_␊ - ␊ - {MD037} Right space __strong__␊ - ␊ - {MD037} Right space ___strong and emphasis___␊ - ␊ - **Multiple** spaces **in** emphasis **at** once. {MD037}␊ - ␊ - **Multiple ** spaces ** in** emphasis **at** once. {MD037}␊ - ␊ - This is *an ambiguous* scenario {MD037}␊ - ␊ - * List item *with emphasis* on the␊ - first and *second lines*.␊ - * List *item* {MD037}␊ - * List *item* {MD037}␊ - * List *item* {MD037}␊ - * List item with␊ - *hanging* emphasis␊ - and *some* lines {MD037}␊ - with *space* problems {MD037}␊ - throughout *the* content {MD037}␊ - ␊ - Uncommon scenarios from the CommonMark specification (and some variations):␊ - ***strong emph***␊ - ***strong** in emph*␊ - ***emph* in strong**␊ - **in strong *emph***␊ - *in emph **strong***␊ - ␊ - ***strong emph*** {MD037}␊ - ␊ - *** strong** in emph* {possible MD037}␊ - ␊ - *** emph* in strong** {possible MD037}␊ - ␊ - **in strong *emph*** {MD037}␊ - ␊ - ***strong emph*** {MD037}␊ - ␊ - ***strong** in emph* {MD037}␊ - ␊ - ***emph* in strong** {MD037}␊ - ␊ - **in strong *emph *** {possible MD037}␊ - ␊ - *in emph **strong *** {possible MD037}␊ - ␊ - ***strong emph*** {MD037}␊ - ␊ - ** *strong**in emph* {MD037}␊ - ␊ - ***emph* in strong** {MD037}␊ - ␊ - **in strong * emph*** (internal spaces are not detected)␊ - ␊ - *in emph ** strong*** (internal spaces are not detected)␊ - ␊ - ***strong emph*** {MD037}␊ - ␊ - ***strong ** in emph* (internal spaces are not detected)␊ - ␊ - ***emph * in strong** (internal spaces are not detected)␊ - ␊ - **in strong *emph*** {MD037}␊ - ␊ - *in emph**strong* ** {MD037}␊ - ␊ - Text *emph***strong** text␊ - ␊ - Text *emph***strong** text {MD037}␊ - ␊ - Text *emph***strong** text {MD037}␊ - ␊ - Text *emph***strong** text {MD037}␊ - ␊ - Text *emph***strong** text {MD037}␊ - ␊ - \`\`\`markdown␊ - Violations * are * allowed in code blocks where emphasis does not apply.␊ - \`\`\`␊ - ␊ - Emphasis \`inside * code * blocks\` is okay.␊ - ␊ - Emphasis \`* inside\` code \`blocks *\` is okay.␊ - ␊ - Emphasis \`inside *\` code \`* blocks\` is okay.␊ - ␊ - Emphasis \`inside _ code _ blocks\` is okay.␊ - ␊ - Emphasis \`_ inside\` code \`blocks _\` is okay.␊ - ␊ - Emphasis \`inside _\` code \`_ blocks\` is okay.␊ - ␊ - Mixed \`code_span\` scenarios are _also_ okay.␊ - ␊ - Mixed \`code*span\` scenarios are *also* okay.␊ - ␊ - Mixed \`code*span\` scenarios are _also_ okay.␊ - ␊ - Mixed \`code_span\` scenarios are *also* okay.␊ - ␊ - [Link](under_score) followed by _underscore_␊ - ␊ - [Link](un_der_score) followed by _underscore_␊ - ␊ - [Link](un_der_sco_re) followed by _underscore_␊ - ␊ - [Link](star*star) followed by *star*␊ - ␊ - * [Link](star*star) followed by *star*␊ - ␊ - Text [Link](under_score) text _underscore_ text [Link](st*ar) text *star* text␊ - ␊ - [Link [link] link](under_score) followed by _underscore_␊ - ␊ - **under_score** text *under_score*␊ - ␊ - *under_score* text **under_score**␊ - ␊ - __star*star__ text _star*star_␊ - ␊ - _star*star_ text __star*star__␊ - ␊ - *_emphasis* text *emphasis*␊ - ␊ - *emphasis_* text *emphasis*␊ - ␊ - *emphasis* text *_emphasis*␊ - ␊ - *emphasis* text *emphasis_*␊ - ␊ - text \\\\*emphasis* text *emphasis* text␊ - ␊ - text *emphasis\\\\* text *emphasis* text␊ - ␊ - text *emphasis* text \\\\*emphasis* text␊ - ␊ - text *emphasis* text *emphasis\\\\* text␊ - ␊ - text *star*_underscore_ text **star**_underscore_ text␊ - ␊ - text **star**_underscore_ text *star*_underscore_ text␊ - ␊ - text **star**_underscore_ text **star**_underscore_ text␊ - ␊ - text *star*_underscore_ text *star*__underscore__ text␊ - ␊ - text *star*__underscore__ text *star*_underscore_ text␊ - ␊ - text *star*__underscore__ text *star*__underscore__ text␊ - ␊ - text _underscore_*star* text __underscore__*star* text␊ - ␊ - text __underscore__*star* text _underscore_*star* text␊ - ␊ - text __underscore__*star* text __underscore__*star* text␊ - ␊ - text _underscore_*star* text _underscore_**star** text␊ - ␊ - text _underscore_**star** text _underscore_*star* text␊ - ␊ - text _underscore_**star** text _underscore_**star** text␊ - ␊ - > * List with *emphasis* in blockquote␊ - >␊ - > > * List with *emphasis* in blockquote␊ - ␊ - \`* text *\`␊ - ␊ - \`** text **\`␊ - ␊ - \`*** text ***\`␊ - ␊ - \`**** text ****\`␊ - ␊ - \`***** text *****\`␊ - ␊ - \`****** text ******\`␊ - ␊ - \`******* text *******\`␊ - ␊ - under_score␊ - _underscore_␊ - ␊ - st*ar␊ - *star*␊ - ␊ - under_score␊ - *star*␊ - ␊ - st*ar␊ - _underscore_␊ - ␊ - *star*␊ - _underscore_␊ - ␊ - _underscore_␊ - *star*␊ - ␊ - _underscore␊ - _*star*␊ - ␊ - *star␊ - *_underscore_␊ - ␊ - [reference_link]␊ - _first_ and _second_␊ - ␊ - [reference_link]␊ - *first* and *second*␊ - ␊ - [reference*link]␊ - _first_ and _second_␊ - ␊ - [reference*link]␊ - *first* and *second*␊ - ␊ - text [reference_link] under _ score text␊ - ␊ - text [reference*link] star * star text␊ - ␊ - [reference_link]: https://example.com␊ - [reference*link]: https://example.com␊ - ␊ - ***text␊ - *text*␊ - ***␊ - ␊ - *** text␊ - *text*␊ - ***␊ - ␊ - *** text␊ - \\*text\\*␊ - ***␊ - ␊ - *** text␊ - **text**␊ - ***␊ - ␊ - | Table | Table |␊ - | ----- | ----- |␊ - | star | x * y |␊ - | under | x _ y |␊ - ␊ - | Table | Table |␊ - | ----- | ----- |␊ - | star | x * y |␊ - | star | x * y |␊ - | under | x _ y |␊ - | under | x _ y |␊ - ␊ - | Table | Table |␊ - | ----- | ------------------------- |␊ - | star | text *text* text |␊ - | star | text *text* text {MD037} |␊ - | star | text *text* text {MD037} |␊ - | under | text _text_ text |␊ - | under | text _text_ text {MD037} |␊ - | under | text _text_ text {MD037} |␊ - ␊ - | Table | Table |␊ - | ----- | ----- |␊ - | x * y | x * y |␊ - | x** y | x** y |␊ - | x _ y | x _ y |␊ - | x__ y | x__ y |␊ - ␊ - \`\`\`yaml /* autogenerated */␊ - # YAML...␊ - \`\`\`␊ - ␊ - new_value from *old_value* and *older_value*.␊ - ␊ - :ballot_box_with_check: _Emoji syntax_␊ - ␊ - some_snake_case_function() is _called_␊ - ␊ - _~/.ssh/id_rsa_ and _emphasis_␊ - ␊ - Partial *em*phasis of a *wo*rd.␊ - ␊ - Emphasis inside *HTML* content {MD033} {MD037}␊ - ␊ -

{MD033}␊ - Emphasis inside * HTML * content␊ -

␊ - ␊ - Emphasis

{MD033}␊ - ␊ - Emphasis inside * attribute * content {MD033}␊ - ␊ - Emphasis

*HTML*

{MD033} {MD037}␊ - ␊ - Embedded underscore is okay:␊ - Text _emphas_i_s_ text _emphasis_␊ - `, - } - -## spaces_inside_link_text.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 1', - errorRange: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 60, - 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: [ - 34, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 34, - }, - 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: 1', - errorRange: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 69, - 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: [ - 38, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 38, - }, - lineNumber: 74, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - { - errorContext: '[ ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - 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', - ], - }, - { - errorContext: '[ ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - 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', - ], - }, - { - errorContext: '[foo ]', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - 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: '[ foo]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 21, - 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: '[ foo ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 23, - 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: '[ foo ]', - errorDetail: null, - errorRange: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 23, - 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: '[ "foo" ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 25, - 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: '[ "foo" ]', - errorDetail: null, - errorRange: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 25, - 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: '[ `foo` ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 27, - 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: '[ `foo` ]', - errorDetail: null, - errorRange: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 27, - 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: '[ *foo* ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 29, - 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: '[ *foo* ]', - errorDetail: null, - errorRange: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 29, - 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: '[ __foo__ ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 31, - 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: '[ __foo__ ]', - errorDetail: null, - errorRange: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 31, - 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: [ - 27, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 27, - }, - lineNumber: 37, - 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: [ - 28, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 28, - }, - lineNumber: 41, - 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: [ - 28, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 28, - }, - lineNumber: 43, - 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: '[error ]', - errorDetail: null, - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - }, - lineNumber: 49, - 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 with leading space]', - errorDetail: null, - errorRange: [ - 14, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 51, - 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 with trailing space ]', - errorDetail: null, - errorRange: [ - 38, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 38, - }, - lineNumber: 53, - 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 with leading and traili...', - errorDetail: null, - errorRange: [ - 14, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 14, - }, - lineNumber: 55, - 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: '...h leading and trailing space ]', - errorDetail: null, - errorRange: [ - 51, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 51, - }, - lineNumber: 55, - 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 with leading space]', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 58, - 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 with leading space]', - errorDetail: null, - errorRange: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - 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: '[link with trailing space ]', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 63, - 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 with trailing space ]', - errorDetail: null, - errorRange: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - }, - lineNumber: 67, - 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 with leading and traili...', - errorDetail: null, - errorRange: [ - 10, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 10, - }, - lineNumber: 69, - 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: '...h leading and trailing space ]', - errorDetail: null, - errorRange: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - }, - 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: '[ link with leading and traili...', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 74, - 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: '...h leading and trailing space ]', - errorDetail: null, - errorRange: null, - fixInfo: null, - lineNumber: 74, - 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: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 81, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 83, - 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: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 85, - 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: 85, - 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: '[ref ]', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 89, - 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: '[ ref]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 91, - 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: '[ ref ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 93, - 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: '[ ref ]', - errorDetail: null, - errorRange: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 93, - 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: '[ref ]', - errorDetail: null, - errorRange: [ - 5, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 5, - }, - lineNumber: 97, - 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: '[ ref]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 99, - 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: '[ ref ]', - errorDetail: null, - errorRange: [ - 2, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 2, - }, - lineNumber: 101, - 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: '[ ref ]', - errorDetail: null, - errorRange: [ - 6, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 6, - }, - lineNumber: 101, - 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: `# Spaces Inside Link Text␊ - ␊ - [](http://bar/)␊ - ␊ - [foo](https://bar/)␊ - ␊ - ["foo"](https://bar/)␊ - ␊ - [\`foo\`](https://bar/)␊ - ␊ - [*foo*](https://bar/)␊ - ␊ - [__foo__](https://bar/)␊ - ␊ - [foo "bar"](https://baz/)␊ - ␊ - [](https://bar/) {MD039}␊ - ␊ - [foo](https://bar/) {MD039}␊ - ␊ - [foo](https://bar/) {MD039}␊ - ␊ - [foo](https://bar/) {MD039}␊ - ␊ - ["foo"](https://bar/) {MD039}␊ - ␊ - [\`foo\`](https://bar/) {MD039}␊ - ␊ - [*foo*](https://bar/) {MD039}␊ - ␊ - [__foo__](https://bar/) {MD039}␊ - ␊ - The following shouldn't break anything:␊ - [![Screenshot.png](/images/Screenshot.png)](/images/Screenshot.png)␊ - ␊ - function CodeButNotCode(input) {␊ - return input.replace(/[-]([a-z])/g, "one"); // {MD039}␊ - }␊ - ␊ - function MoreCodeButNotCode(input) {␊ - input = input.replace(/[-]([a-z])/g, "two"); // {MD039}␊ - input = input.toLowerCase();␊ - input = input.replace(/[-]([a-z])/g, "three"); // {MD039}␊ - return input;␊ - }␊ - ␊ - [Links](ending) ␊ - [with](spaces) ␊ - [error]({MD039})␊ - ␊ - Non-wrapped [link with leading space](https://example.com) {MD039}␊ - ␊ - Non-wrapped [link with trailing space](https://example.com) {MD039}␊ - ␊ - Non-wrapped [link with leading and trailing space](https://example.com) {MD039}␊ - ␊ - Wrapped [␊ - link with leading space](https://example.com) {MD039}␊ - ␊ - Wrapped [␊ - link with leading space](https://example.com) {MD009:-1} {MD039:-1}␊ - ␊ - Wrapped [link with trailing space␊ - ](https://example.com) {MD009:-1} {MD039:-1}␊ - ␊ - Wrapped [link with trailing space␊ - ](https://example.com) {MD039}␊ - ␊ - Wrapped [␊ - link with leading and trailing space␊ - ](https://example.com) {MD009:-2} {MD039:-2} {MD039}␊ - ␊ - Wrapped [␊ - link with leading and trailing space␊ - ](https://example.com) {MD009:-1} {MD039:-1}␊ - ␊ - [][ref]␊ - ␊ - [link][ref]␊ - ␊ - [link][ref] {MD039}␊ - ␊ - [link][ref] {MD039}␊ - ␊ - [link][ref] {MD039}␊ - ␊ - [ref]␊ - ␊ - [ref] {MD039}␊ - ␊ - [ref] {MD039}␊ - ␊ - [ref] {MD039}␊ - ␊ - [ref][]␊ - ␊ - [ref][] {MD039}␊ - ␊ - [ref][] {MD039}␊ - ␊ - [ref][] {MD039}␊ - ␊ - [ref]: https://example.com␊ - ␊ - Not a link, just [ text in ] brackets␊ - ␊ - Images are ![ not links ](image.jpg)␊ - `, - } - -## strong_style_asterisk.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: asterisk; Actual: underscore', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 1, - insertText: '**', - }, - lineNumber: 9, - 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: 9, - 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: [ - 6, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 6, - insertText: '**', - }, - lineNumber: 11, - 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: [ - 10, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 10, - insertText: '**', - }, - lineNumber: 11, - 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: [ - 9, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 9, - insertText: '**', - }, - lineNumber: 13, - 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: 13, - ruleDescription: 'Strong style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md', - ruleNames: [ - 'MD050', - 'strong-style', - ], - }, - ], - fixed: `# Strong style asterisk␊ - ␊ - **This** is fine␊ - ␊ - This **is** fine␊ - ␊ - This is **fine**␊ - ␊ - **This** is not␊ - ␊ - This **is** not␊ - ␊ - This is **not**␊ - ␊ - {MD050:-2} {MD050:-4} {MD050:-6}␊ - ␊ - Internal emphasis is preserved:␊ - apple**banana**cherry, apple**banana**, **banana**cherry␊ - apple__banana__cherry, apple__banana__, __banana__cherry␊ - ␊ - ␊ - `, - } - -## strong_style_underscore.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: underscore; Actual: asterisk', - errorRange: [ - 1, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 1, - insertText: '__', - }, - lineNumber: 9, - 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: [ - 7, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 7, - insertText: '__', - }, - lineNumber: 9, - 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: [ - 6, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 6, - insertText: '__', - }, - lineNumber: 11, - 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: [ - 10, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 10, - insertText: '__', - }, - lineNumber: 11, - 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: 13, - 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: 13, - ruleDescription: 'Strong style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md050.md', - ruleNames: [ - 'MD050', - 'strong-style', - ], - }, - ], - fixed: `# Strong style underscore␊ - ␊ - __This__ is fine␊ - ␊ - This __is__ fine␊ - ␊ - This is __fine__␊ - ␊ - __This__ is not␊ - ␊ - This __is__ not␊ - ␊ - This is __not__␊ - ␊ - {MD050:-2} {MD050:-4} {MD050:-6}␊ - ␊ - Internal emphasis is preserved:␊ - apple**banana**cherry, apple**banana**, **banana**cherry␊ - apple__banana__cherry, apple__banana__, __banana__cherry␊ - ␊ - ␊ - `, - } - -## sublist-bullet-style.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: plus; Actual: dash', - errorRange: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '+', - }, - lineNumber: 7, - 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: 20, - 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: 21, - 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: [ - 7, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 7, - insertText: '-', - }, - lineNumber: 23, - 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: 27, - 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: 31, - 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: 32, - 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: 33, - 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: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - insertText: '-', - }, - lineNumber: 49, - 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: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - insertText: '-', - }, - lineNumber: 50, - 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: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - insertText: '-', - }, - lineNumber: 58, - ruleDescription: 'Unordered list style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md004.md', - ruleNames: [ - 'MD004', - 'ul-style', - ], - }, - ], - fixed: `# sublist-bullet-style␊ - ␊ - 1. item␊ - 1. item␊ - + item␊ - 1. item␊ - + item {MD004}␊ - ␊ - - item␊ - * item␊ - + item␊ - - item␊ - + item␊ - * item␊ - - item␊ - * item␊ - + item␊ - - item␊ - ␊ - - item {MD004}␊ - * item {MD004}␊ - + item␊ - - item {MD004}␊ - ␊ - - item␊ - * item␊ - + item {MD004}␊ - - item␊ - * item␊ - ␊ - - item {MD004}␊ - * item {MD004}␊ - + item {MD004}␊ - ␊ - - item␊ - 1. item␊ - + item␊ - 1. item␊ - * item␊ - ␊ - 1. item␊ - * item␊ - ␊ - - item␊ - * item␊ - + item␊ - - item␊ - * item␊ - - item {MD004}␊ - - item {MD004}␊ - ␊ - - item␊ - * item␊ - + item␊ - - item␊ - * item␊ - - item␊ - - item {MD004}␊ - ␊ - ␊ - `, - } - -## table-column-count.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 1', - errorRange: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 30, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 31, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 73, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 74, - 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: [ - 11, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - lineNumber: 75, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 111, - 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: [ - 20, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 20, - }, - lineNumber: 112, - 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: [ - 29, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 29, - }, - lineNumber: 113, - 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: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 25, - 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: [ - 13, - 1, - ], - fixInfo: null, - lineNumber: 25, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 67, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 67, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 68, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 68, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 69, - 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: [ - 5, - 1, - ], - fixInfo: null, - lineNumber: 69, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 105, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 105, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 106, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 106, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 107, - 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: [ - 22, - 1, - ], - fixInfo: null, - lineNumber: 107, - 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: [ - 9, - 1, - ], - fixInfo: null, - lineNumber: 53, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 9, - 1, - ], - fixInfo: null, - lineNumber: 55, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 9, - 1, - ], - fixInfo: null, - lineNumber: 61, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 2; Too few cells, row will be missing data', - errorRange: [ - 18, - 1, - ], - fixInfo: null, - lineNumber: 62, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 5, - 1, - ], - fixInfo: null, - lineNumber: 69, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 11, - 1, - ], - fixInfo: null, - lineNumber: 75, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Too many cells, extra data will be missing', - errorRange: [ - 9, - 9, - ], - fixInfo: null, - lineNumber: 84, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 4; Too many cells, extra data will be missing', - errorRange: [ - 18, - 15, - ], - fixInfo: null, - lineNumber: 91, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 3; Too many cells, extra data will be missing', - errorRange: [ - 18, - 8, - ], - fixInfo: null, - lineNumber: 92, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 4; Too many cells, extra data will be missing', - errorRange: [ - 27, - 8, - ], - fixInfo: null, - lineNumber: 99, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 5; Too many cells, extra data will be missing', - errorRange: [ - 27, - 15, - ], - fixInfo: null, - lineNumber: 101, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 3; Too many cells, extra data will be missing', - errorRange: [ - 17, - 6, - ], - fixInfo: null, - lineNumber: 107, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 3; Too many cells, extra data will be missing', - errorRange: [ - 19, - 11, - ], - fixInfo: null, - lineNumber: 113, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Too many cells, extra data will be missing', - errorRange: [ - 9, - 8, - ], - fixInfo: null, - lineNumber: 121, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 1; Actual: 2; Too many cells, extra data will be missing', - errorRange: [ - 9, - 8, - ], - fixInfo: null, - lineNumber: 123, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 3; Too many cells, extra data will be missing', - errorRange: [ - 18, - 8, - ], - fixInfo: null, - lineNumber: 129, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 2; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 9, - 1, - ], - fixInfo: null, - lineNumber: 130, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 4; Too many cells, extra data will be missing', - errorRange: [ - 27, - 8, - ], - fixInfo: null, - lineNumber: 138, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - { - errorContext: null, - errorDetail: 'Expected: 3; Actual: 1; Too few cells, row will be missing data', - errorRange: [ - 9, - 1, - ], - fixInfo: null, - lineNumber: 139, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - ], - fixed: `# Table Column Count␊ - ␊ - ## Expected␊ - ␊ - | Table |␊ - |-------|␊ - | Cell |␊ - | Cell |␊ - | Cell |␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - | Table | Header | Header |␊ - |-------|--------|--------|␊ - | Cell | Cell | Cell |␊ - | Cell | Cell | Cell |␊ - | Cell | Cell | Cell |␊ - ␊ - Table | Header␊ - -------|--------␊ - Cell | Cell␊ - ␊ - {MD055:-4} {MD055:-3} {MD055:-2}␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell |␊ - ␊ - {MD009:-4} {MD009:-3} {MD009:-2}␊ - ␊ - ## Blank␊ - ␊ - | Table |␊ - |-------|␊ - | |␊ - | Cell |␊ - ␊ - | Table | Header | Header |␊ - |-------|--------|--------|␊ - | | Cell | Cell |␊ - | Cell | | Cell |␊ - | Cell | Cell | |␊ - | | | |␊ - ␊ - ## Too Few␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell |␊ - | Cell | Cell |␊ - | Cell |␊ - ␊ - {MD056:-4} {MD056:-2}␊ - ␊ - | Table | Header | Header |␊ - |-------|--------|--------|␊ - | Cell |␊ - | Cell | Cell |␊ - | Cell | Cell | Cell |␊ - ␊ - {MD056:-4} {MD056:-3}␊ - ␊ - Table | Header␊ - -------|--------␊ - Cell␊ - ␊ - {MD055:-4} {MD055:-3} {MD055:-2} {MD056:-2}␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell |␊ - ␊ - {MD009:-4} {MD009:-3} {MD009:-2} {MD056:-2}␊ - ␊ - ## Too Many␊ - ␊ - | Table |␊ - |-------|␊ - | Cell |␊ - | Cell | Cell |␊ - | Cell |␊ - ␊ - {MD056:-3}␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell | Cell | Cell |␊ - | Cell | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - {MD056:-4} {MD056:-3}␊ - ␊ - | Table | Header | Header |␊ - |-------|--------|--------|␊ - | Cell | Cell | Cell | Cell |␊ - | Cell | Cell | Cell |␊ - | Cell | Cell | Cell | Cell | Cell |␊ - ␊ - {MD056:-4} {MD056:-2}␊ - ␊ - Table | Header␊ - -------|--------␊ - Cell | Cell | Cell␊ - ␊ - {MD055:-4} {MD055:-3} {MD055:-2} {MD056:-2}␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell | Cell |␊ - ␊ - {MD009:-4} {MD009:-3} {MD009:-2} {MD056:-2}␊ - ␊ - ## Mixed␊ - ␊ - | Table |␊ - |-------|␊ - | Cell | Cell |␊ - | Cell |␊ - | Cell | Cell |␊ - ␊ - {MD056:-4} {MD056:-2}␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell | Cell |␊ - | Cell |␊ - | Cell | Cell |␊ - ␊ - {MD056:-4} {MD056:-3}␊ - ␊ - | Table | Header | Header |␊ - |-------|--------|--------|␊ - | Cell | Cell | Cell |␊ - | Cell | Cell | Cell | Cell |␊ - | Cell |␊ - ␊ - {MD056:-3} {MD056:-2}␊ - `, - } - -## table-content-with-issues.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: '(link)[https://example.com]', - errorRange: [ - 3, - 27, - ], - fixInfo: { - deleteCount: 27, - editColumn: 3, - insertText: '[link](https://example.com)', - }, - lineNumber: 6, - 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: 'Element: hr', - errorRange: [ - 3, - 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: 'https://example.com', - errorDetail: null, - errorRange: [ - 3, - 19, - ], - fixInfo: { - deleteCount: 19, - editColumn: 3, - 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: '* e', - errorDetail: null, - errorRange: [ - 3, - 3, - ], - fixInfo: { - deleteCount: 1, - editColumn: 4, - }, - lineNumber: 9, - 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: 'g __', - errorDetail: null, - errorRange: [ - 10, - 4, - ], - fixInfo: { - deleteCount: 1, - editColumn: 11, - }, - lineNumber: 10, - 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: '` code`', - errorDetail: null, - errorRange: [ - 4, - 7, - ], - fixInfo: { - deleteCount: 5, - editColumn: 5, - insertText: 'code', - }, - 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: '[link ]', - errorDetail: null, - errorRange: [ - 8, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 8, - }, - lineNumber: 12, - 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: [ - 3, - 8, - ], - 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', - ], - }, - ], - fixed: `# Table Content With Issues␊ - ␊ - | Content | Issue |␊ - |------------------------------|---------|␊ - | Text | N/A |␊ - | [link](https://example.com) | {MD011} |␊ - |
| {MD033} |␊ - | | {MD034} |␊ - | *emphasis* | {MD037} |␊ - | __strong__ | {MD037} |␊ - | \`code\` | {MD038} |␊ - | [link](https://example.com) | {MD039} |␊ - | [link]() | {MD042} |␊ - `, - } - -## table-issue-with-markdown-it-12.md - -> Snapshot 1 - - { - errors: [], - fixed: `# table-issue-with-markdown-it-12␊ - ␊ - | \`CLIEngine\` | \`ESLint\` |␊ - | :------------------------------------------- | :--------------------------------- |␊ - | \`executeOnFiles(patterns)\` | \`lintFiles(patterns)\` |␊ - ␊ - ␊ - `, - } - -## table-pipe-style-explicit-both.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: 11, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: [ - 12, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 14, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Explicit Both␊ - ␊ - ## Style: both␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - ␊ - ␊ - `, - } - -## table-pipe-style-explicit-leading.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 5, - 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_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 6, - 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_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 7, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 25, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Explicit Leading␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - ␊ - ␊ - `, - } - -## table-pipe-style-explicit-none.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 5, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 5, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 6, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 6, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 7, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 7, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Explicit None␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - ␊ - ␊ - `, - } - -## table-pipe-style-explicit-trailing.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 5, - 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: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 6, - 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: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 7, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 12, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 14, - 1, - ], - fixInfo: null, - lineNumber: 19, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Explicit Trailing␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - ␊ - ␊ - `, - } - -## table-pipe-style-implicit-both.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: 11, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: [ - 12, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 14, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Implicit Both␊ - ␊ - ## Style: both␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - `, - } - -## table-pipe-style-implicit-leading.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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_only; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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_only; Actual: no_leading_or_trailing; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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_only; Actual: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 25, - 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_only; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Implicit Leading␊ - ␊ - ## Style: leading␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - `, - } - -## table-pipe-style-implicit-none.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: no_leading_or_trailing; Actual: leading_and_trailing; Unexpected trailing pipe', - errorRange: [ - 19, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Implicit None␊ - ␊ - ## Style: none␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - ␊ - ## Style: trailing {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - `, - } - -## table-pipe-style-implicit-trailing.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 12, - 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: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 13, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 18, - 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: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe', - errorRange: [ - 12, - 1, - ], - fixInfo: null, - lineNumber: 19, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 24, - 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: trailing_only; Actual: leading_only; Unexpected leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 25, - 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: trailing_only; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 14, - 1, - ], - fixInfo: null, - lineNumber: 25, - ruleDescription: 'Table pipe style', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md', - ruleNames: [ - 'MD055', - 'table-pipe-style', - ], - }, - ], - fixed: `# Table Pipe Style Implicit Trailing␊ - ␊ - ## Style: trailing␊ - ␊ - Table | Heading |␊ - ----- | ------- |␊ - Cell | Cell |␊ - ␊ - ## Style: both {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading |␊ - | ----- | ------- |␊ - | Cell | Cell |␊ - ␊ - ## Style: none {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - Table | Heading␊ - ----- | -------␊ - Cell | Cell␊ - ␊ - ## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}␊ - ␊ - | Table | Heading␊ - | ----- | -------␊ - | Cell | Cell␊ - `, - } - -## table-pipe-style.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 1', - errorRange: [ - 21, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - lineNumber: 148, - 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: [ - 21, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 21, - }, - lineNumber: 150, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - { - errorContext: '> {MD055} | {MD027} |', - errorDetail: null, - errorRange: [ - 3, - 2, - ], - fixInfo: { - deleteCount: 2, - editColumn: 3, - }, - lineNumber: 132, - 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: 'Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 11, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 14, - 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 leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 17, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 23, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 28, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 33, - 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: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 33, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 39, - 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: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 39, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 40, - 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: [ - 18, - 1, - ], - fixInfo: null, - lineNumber: 40, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 41, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 41, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 45, - 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: [ - 17, - 1, - ], - fixInfo: null, - lineNumber: 45, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 46, - 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: [ - 18, - 1, - ], - fixInfo: null, - lineNumber: 46, - 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 leading pipe', - errorRange: [ - 2, - 1, - ], - fixInfo: null, - lineNumber: 47, - 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: [ - 15, - 1, - ], - fixInfo: null, - lineNumber: 47, - 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 leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 53, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 53, - 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 leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 57, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 57, - 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 leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 64, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 64, - 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 leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 71, - 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: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 71, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 77, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 81, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 88, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 16, - 1, - ], - fixInfo: null, - lineNumber: 95, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 101, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 105, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 112, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 3, - 1, - ], - fixInfo: null, - lineNumber: 119, - 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 leading pipe', - errorRange: [ - 1, - 1, - ], - fixInfo: null, - lineNumber: 126, - 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: [ - 20, - 1, - ], - fixInfo: null, - lineNumber: 126, - 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: leading_only; Missing trailing pipe', - errorRange: [ - 21, - 1, - ], - fixInfo: null, - lineNumber: 130, - 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: trailing_only; Missing leading pipe', - errorRange: [ - 5, - 1, - ], - fixInfo: null, - lineNumber: 132, - 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: [ - 20, - 1, - ], - fixInfo: null, - lineNumber: 126, - ruleDescription: 'Table column count', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md056.md', - ruleNames: [ - 'MD056', - 'table-column-count', - ], - }, - ], - fixed: `# Table Pipe Style␊ - ␊ - ␊ - ␊ - ## Missing in Header Row␊ - ␊ - | Table | {MD055}␊ - |-------|---------|␊ - ␊ - Table | {MD055} |␊ - |-------|---------|␊ - ␊ - Table | {MD055}␊ - |-------|---------|␊ - ␊ - ## Missing in Separator Row␊ - ␊ - | Table | Header |␊ - |-------|--------␊ - ␊ - {MD055:-2}␊ - ␊ - | Table | Header |␊ - -------|--------|␊ - ␊ - {MD055:-2}␊ - ␊ - | Table | Header |␊ - -------|--------␊ - ␊ - {MD055:-2}␊ - ␊ - ## Missing Leading and Trailing␊ - ␊ - {MD055} | Header␊ - ---------|--------␊ - {MD055} | Cell␊ - ␊ - {MD055:-3}␊ - ␊ - {MD055} | Header␊ - --------:|:------:␊ - {MD055} | Cell␊ - ␊ - {MD055:-3}␊ - ␊ - | Table | Header |␊ - |--------:|:-------|␊ - {MD055} | Cell␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - {MD055} | Cell␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - {MD055} | Cell␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - {MD055} | Cell␊ - ␊ - ## Missing Trailing␊ - ␊ - | Table | Header |␊ - |--------:|:-------|␊ - | {MD055} | Cell␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | {MD055} | Cell␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - | {MD055} | Cell␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - | {MD055} | Cell␊ - ␊ - ## Missing Leading␊ - ␊ - | Table | Header |␊ - |--------:|:-------|␊ - {MD055} | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - {MD055} | Cell |␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - {MD055} | Cell |␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |---------|--------|␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - {MD055} | Cell |␊ - ␊ - ## Followed by Text␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell |␊ - {MD055} {MD056} Text␊ - ␊ - ## Table inside Blockquote␊ - ␊ - > | Table | {MD055}␊ - > |---------|---------|␊ - > {MD055} | {MD027} |␊ - ␊ - ## Well-Formed␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell |␊ - ␊ - | Table | Header |␊ - |-------|--------|␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - | Cell | Cell |␊ - ␊ - ## Leading and Trailing Spaces␊ - ␊ - | Table | {MD009} |␊ - |-------|---------|␊ - | Cell | {MD009} |␊ - `, - } - -## texmath-content-in-lists.md - -> Snapshot 1 - - { - errors: [], - fixed: `# texmath-content-in-lists␊ - ␊ - Text␊ - ␊ - - Item␊ - $$␊ - e = mc^2␊ - $$␊ - ␊ - Text␊ - ␊ - - Item␊ - ␊ - $$␊ - e = mc^2␊ - $$␊ - ␊ - Text␊ - ␊ - - Item␊ - ␊ - $$␊ - e = mc^2␊ - e = mc^2␊ - $$␊ - ␊ - Text␊ - ␊ - - Item␊ - ␊ - $$␊ - $$␊ - ␊ - Text␊ - ␊ - - Item␊ - ␊ - - Item␊ - ␊ - $$␊ - e = mc^2␊ - $$␊ - ␊ - - Item␊ - ␊ - Text␊ - ␊ - - $$␊ - e = mc^2␊ - $$␊ - ␊ - Text␊ - ␊ - - $e = mc^2$␊ - ␊ - Text␊ - ␊ - - Item␊ - - $e = mc^2$␊ - ␊ - Text␊ - ␊ - - Item␊ - - $e = mc^2$␊ - - Item␊ - ␊ - Text␊ - `, - } - -## texmath-content.md - -> Snapshot 1 - - { - errors: [], - fixed: `# texmath-content␊ - ␊ - ## Inline␊ - ␊ - text $ x * y * z $ text␊ - ␊ - text $$ x * y * z $$ text␊ - ␊ - ## Block␊ - ␊ - $$␊ - x * y * z␊ - $$␊ - ␊ - text␊ - ␊ - $$␊ - x * y = x * y␊ - $$␊ - `, - } - -## token-map-spans.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Token Map Spans␊ - ␊ - Text *emphasis* text __strong__ text \`code\` text [link](https://example.com).␊ - ␊ - Paragraph with *emphasis␊ - spanning lines* and __strong␊ - spanning lines__ and \`code␊ - spanning lines\` and [link␊ - spanning lines](https://example.com).␊ - ␊ - > Blockquote␊ - > [link](https://example.com)␊ - > > Nested␊ - > > blockquote␊ - > > [link](https://example.com)␊ - ␊ - Heading␊ - -------␊ - ␊ - \`\`\`lang␊ - Fenced␊ - code␊ - \`\`\`␊ - ␊ - Indented␊ - code␊ - ␊ - 1. List␊ - 2. List␊ - - Sub-list␊ - - Sub-list␊ - 3. List␊ - ␊ - | Table | Column 1 | Column 2 | Column 3 | Column 4 |␊ - |-------|------------|------------|----------|----------------------------|␊ - | Text | *emphasis* | __strong__ | \`code\` | [link](https://example.com) |␊ - | Text | *emphasis* | __strong__ | \`code\` | [link](https://example.com) |␊ - ␊ - ␊ - `, - } - -## trailing-spaces-in-lists-allowed-strict.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 16, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 18, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - lineNumber: 35, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - lineNumber: 37, - 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: 5', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 1, - }, - lineNumber: 50, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 57, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 60, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 61, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `# Heading␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - {MD009:16}␊ - {MD009:18}␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - 1. text␊ - - text␊ - ␊ - text␊ - - text␊ - ␊ - text␊ - - text␊ - text␊ - ␊ - - text␊ - text␊ - ␊ - {MD009:35}␊ - {MD009:37}␊ - {MD009:50}␊ - ␊ - 1. text␊ - text␊ - ␊ - ␊ - 1. text␊ - ␊ - ␊ - {MD009:57}␊ - {MD009:58}␊ - {MD009:60}␊ - {MD009:61}␊ - ␊ - ␊ - `, - } - -## trailing-spaces-in-lists-allowed.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 16, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 18, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - lineNumber: 35, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - lineNumber: 37, - 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: 5', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 1, - }, - lineNumber: 50, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 57, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 60, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 61, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `# Heading␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - {MD009:16}␊ - {MD009:18}␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - 1. text␊ - - text␊ - ␊ - text␊ - - text␊ - ␊ - text␊ - - text␊ - text␊ - ␊ - - text␊ - text␊ - ␊ - {MD009:35}␊ - {MD009:37}␊ - {MD009:50}␊ - ␊ - 1. text␊ - text␊ - ␊ - ␊ - 1. text␊ - ␊ - ␊ - {MD009:57}␊ - {MD009:58}␊ - {MD009:60}␊ - {MD009:61}␊ - ␊ - ␊ - `, - } - -## trailing-spaces-in-lists-default.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 16, - 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: 3', - errorRange: [ - 1, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 1, - }, - lineNumber: 18, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - 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: 6', - errorRange: [ - 1, - 6, - ], - fixInfo: { - deleteCount: 6, - editColumn: 1, - }, - lineNumber: 38, - 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: 5', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 1, - }, - lineNumber: 44, - 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: 5', - errorRange: [ - 1, - 5, - ], - fixInfo: { - deleteCount: 5, - editColumn: 1, - }, - lineNumber: 51, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `# Heading␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - {MD009:9}␊ - {MD009:16}␊ - {MD009:18}␊ - ␊ - 1. text␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - ␊ - text␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - text␊ - ␊ - 1. text␊ - ␊ - 1. text␊ - - text␊ - ␊ - text␊ - - text␊ - ␊ - text␊ - - text␊ - text␊ - ␊ - - text␊ - text␊ - ␊ - {MD009:29}␊ - {MD009:36}␊ - {MD009:38}␊ - {MD009:44}␊ - {MD009:51}␊ - `, - } - -## trailing_spaces_br.md - -> Snapshot 1 - - { - errors: [ - { - errorContext: null, - errorDetail: 'Expected: 0 or 2; Actual: 1', - errorRange: [ - 46, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 46, - }, - lineNumber: 3, - 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: 3', - errorRange: [ - 44, - 3, - ], - fixInfo: { - deleteCount: 3, - editColumn: 44, - }, - lineNumber: 5, - 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: [ - 43, - 4, - ], - fixInfo: { - deleteCount: 4, - editColumn: 43, - }, - lineNumber: 6, - 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: [ - 1, - 1, - ], - fixInfo: { - deleteCount: 1, - editColumn: 1, - }, - lineNumber: 7, - ruleDescription: 'Trailing spaces', - ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md009.md', - ruleNames: [ - 'MD009', - 'no-trailing-spaces', - ], - }, - ], - fixed: `# trailing_spaces_br␊ - ␊ - This line has a single trailing space {MD009}␊ - This line has two trailing spaces and should be allowed ␊ - This line has three trailing spaces {MD009}␊ - This line has four trailing spaces {MD009}␊ - ␊ - {MD009:7}␊ - `, - } - -## unclosed-html-comment-in-code-span.md - -> Snapshot 1 - - { - errors: [], - fixed: `# Heading␊ - ␊ - \`␊ - `, - } diff --git a/test/snapshots/markdownlint-test-scenarios.js.snap b/test/snapshots/markdownlint-test-scenarios.js.snap deleted file mode 100644 index 5f1f8fc45..000000000 Binary files a/test/snapshots/markdownlint-test-scenarios.js.snap and /dev/null differ