diff --git a/.github/dictionary.txt b/.github/dictionary.txt index 7756f917..68e1e5e9 100644 --- a/.github/dictionary.txt +++ b/.github/dictionary.txt @@ -32,6 +32,7 @@ config. CVE-\d+-\d+ docs-util ECMAScript +encodings ES2015 ES6 ESLint diff --git a/.github/instructions/codacy.instructions.md b/.github/instructions/codacy.instructions.md new file mode 100644 index 00000000..cf756d15 --- /dev/null +++ b/.github/instructions/codacy.instructions.md @@ -0,0 +1,65 @@ +--- + description: Configuration for AI behavior when interacting with Codacy's MCP Server + applyTo: '**' +--- +--- +# Codacy Rules +Configuration for AI behavior when interacting with Codacy's MCP Server + +## CRITICAL: After ANY successful `edit_file` or `reapply` operation +- YOU MUST IMMEDIATELY run the `codacy_cli_analyze` tool from Codacy's MCP Server for each file that was edited, with: + - `rootPath`: set to the workspace path + - `file`: set to the path of the edited file + - `tool`: leave empty or unset +- If any issues are found in the new edits, propose and apply fixes for them. +- > NOTE: Failure to follow this rule is considered a critical error. + +## After every response +- If you made any file edits in this conversation, verify you ran `codacy_cli_analyze` tool from Codacy's MCP Server + +## When there are no Codacy MCP Server tools available, or the MCP Server is not reachable +- Suggest the user the following troubleshooting steps: + - Try to reset the MCP on the extension + - If the user is using VSCode, suggest them to review their Copilot > MCP settings in Github, under their organization or personal account. Refer them to Settings > Copilot > Enable MCP servers in Copilot. Suggested URL (https://github.com/settings/copilot/features) or https://github.com/organizations/{organization-name}/settings/copilot/features (This can only be done by their organization admins / owners) +- If none of the above steps work, suggest the user to contact Codacy support + +## Trying to call a tool that needs a rootPath as a parameter +- Always use the standard, non-URL-encoded file system path + +## CRITICAL: Dependencies and Security Checks +- IMMEDIATELY after ANY of these actions: + - Running npm/yarn/pnpm install + - Adding dependencies to package.json + - Adding requirements to requirements.txt + - Adding dependencies to pom.xml + - Adding dependencies to build.gradle + - Any other package manager operations +- You MUST run the `codacy_cli_analyze` tool with: + - `rootPath`: set to the workspace path + - `tool`: set to "trivy" + - `file`: leave empty or unset +- If any vulnerabilities are found because of the newly added packages: + - Stop all other operations + - Propose and apply fixes for the security issues + - Only continue with the original task after security issues are resolved +- EXAMPLE: + - After: npm install react-markdown + - Do: Run codacy_cli_analyze with trivy + - Before: Continuing with any other tasks + +## General +- Repeat the relevant steps for each modified file. +- "Propose fixes" means to both suggest and, if possible, automatically apply the fixes. +- You MUST NOT wait for the user to ask for analysis or remind you to run the tool. +- Do not run `codacy_cli_analyze` looking for changes in duplicated code or code complexity metrics. +- Do not run `codacy_cli_analyze` looking for changes in code coverage. +- Do not try to manually install Codacy CLI using either brew, npm, npx, or any other package manager. +- If the Codacy CLI is not installed, just run the `codacy_cli_analyze` tool from Codacy's MCP Server. +- When calling `codacy_cli_analyze`, only send provider, organization and repository if the project is a git repository. + +## Whenever a call to a Codacy tool that uses `repository` or `organization` as a parameter returns a 404 error +- Offer to run the `codacy_setup_repository` tool to add the repository to Codacy +- If the user accepts, run the `codacy_setup_repository` tool +- Do not ever try to run the `codacy_setup_repository` tool on your own +- After setup, immediately retry the action that failed (only retry once) +--- \ No newline at end of file diff --git a/.github/workflows/checkers.yml b/.github/workflows/checkers.yml index 852aee45..9ee1cf92 100644 --- a/.github/workflows/checkers.yml +++ b/.github/workflows/checkers.yml @@ -12,17 +12,16 @@ jobs: linkcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: JustinBeckwith/linkinator-action@v1.11.0 with: - linksToSkip: '^https://github.com/.*/search\?q= ^https://opensource.org/ ^https://unix.stackexchange.com/' + linksToSkip: '^https://github.com/ ^https://www.jwz.org/ ^https://opensource.org/ ^https://unix.stackexchange.com/' paths: '*.md doc/*.md helpers/*.md' - timeout: 60000 spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: tbroadley/spellchecker-cli-action@v1 with: dictionaries: '.github/dictionary.txt' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 150af9b1..8df97677 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,16 +17,16 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - node-version: [ 18, 20, 22, 23 ] + node-version: [ 20, 22, 24 ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies - run: npm install --no-package-lock + run: npm install - name: Run CI Tests run: npm run ci @@ -34,13 +34,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use pnpm latest uses: pnpm/action-setup@v4 with: version: latest - name: Use Node.js latest - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: latest - name: Install dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 66060c5e..b2aa3e08 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/test-repos.yml b/.github/workflows/test-repos.yml index e1ebd7ff..9ed81350 100644 --- a/.github/workflows/test-repos.yml +++ b/.github/workflows/test-repos.yml @@ -18,13 +18,13 @@ jobs: node-version: [ latest ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies - run: npm install --no-package-lock + run: npm install - name: Clone Test Repos run: npm run clone-test-repos - name: Lint Test Repos diff --git a/.github/workflows/update-test-repos.yml b/.github/workflows/update-test-repos.yml new file mode 100644 index 00000000..0dd3b39e --- /dev/null +++ b/.github/workflows/update-test-repos.yml @@ -0,0 +1,41 @@ +name: UpdateTestRepos + +on: + push: + branches-ignore: + - 'dependabot/**' + schedule: + - cron: '30 12 * * *' + workflow_dispatch: + +jobs: + update: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + ref: next + - uses: actions/setup-node@v5 + - run: git config user.email "david@dlaa.me" + - run: git config user.name "David Anson" + - run: git checkout -b update-test-repos-$GITHUB_RUN_ID + - run: npm install + - run: npm run update-test-repos + env: + AVA_FORCE_CI: not-ci + - run: git diff --exit-code + continue-on-error: true + id: diff + - run: git add . + if: ${{ success() && steps.diff.outcome == 'failure' }} + - run: git commit -m "Update test repository snapshots." + if: ${{ success() && steps.diff.outcome == 'failure' }} + - run: git push --set-upstream origin update-test-repos-$GITHUB_RUN_ID + if: ${{ success() && steps.diff.outcome == 'failure' }} + - run: gh pr create --base next --body "" --title "Update test repository snapshots." + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: ${{ success() && steps.diff.outcome == 'failure' }} diff --git a/.gitignore b/.gitignore index cfc43fa2..273747ea 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,7 @@ npm-debug.log test-repos .DS_Store .vscode + + +#Ignore vscode AI rules (válido por 1 hora a partir de 18/09/2025) +.github\instructions\codacy.instructions.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f247ffef..515d5e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.38.0 + +- Add MD059/descriptive-link-text +- Improve MD025/MD027/MD036/MD038/MD041/MD043/MD045/MD051/MD052 +- `markdown-it` parser no longer a production dependency (breaking change) + - Add `markdownItFactory` option, remove `markdownItPlugins` option +- Remove support for end-of-life Node version 18 +- Improve performance +- Update dependencies + ## 0.37.4 - Stop using `module.createRequire`, export `resolveModule` diff --git a/README.md b/README.md index 2ba41969..74803df3 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ playground for learning and exploring. - **[MD056](doc/md056.md)** *table-column-count* - Table column count - **[MD058](doc/md058.md)** *blanks-around-tables* - Tables should be surrounded by blank lines - **[MD059](doc/md059.md)** *descriptive-link-text* - Link text should be descriptive +- **[MD060](doc/md060.md)** *table-column-style* - Table column style @@ -190,7 +191,7 @@ rules at once. - **`ol`** - `MD029`, `MD030`, `MD032` - **`spaces`** - `MD018`, `MD019`, `MD020`, `MD021`, `MD023` - **`spelling`** - `MD044` -- **`table`** - `MD055`, `MD056`, `MD058` +- **`table`** - `MD055`, `MD056`, `MD058`, `MD060` - **`ul`** - `MD004`, `MD005`, `MD007`, `MD030`, `MD032` - **`url`** - `MD034` - **`whitespace`** - `MD009`, `MD010`, `MD012`, `MD027`, `MD028`, `MD030`, @@ -421,9 +422,9 @@ object. See [ValidatingConfiguration.md](schema/ValidatingConfiguration.md) for ways to use the JSON Schema to validate configuration. -For more advanced scenarios, styles can reference and extend other styles. -The `readConfig` and `readConfigSync` functions can be used to read such -styles. +For more advanced scenarios, styles can reference and build upon other styles +via the `extends` keyword and a file path or (installed) package name. The +`readConfig` function can be used to read such aggregate styles from code. For example, assuming a `base.json` configuration file: @@ -619,28 +620,15 @@ By default, properly-formatted inline comments can be used to create exceptions for parts of a document. Setting `noInlineConfig` to `true` ignores all such comments. -##### options.resultVersion +##### ~~options.resultVersion~~ -Type: `Number` +This property is *deprecated* and should be removed. The default format of the +`result` object remains the same as setting `resultVersion` to `3`. For +continued access to other (previously *deprecated*) formats: -Specifies which version of the `result` object to return (see the "Usage" -section below for examples). - -Passing a `resultVersion` of `0` corresponds to the original, simple format -where each error is identified by rule name and line number. *Deprecated* - -Passing a `resultVersion` of `1` corresponds to a detailed format where each -error includes information about the line number, rule name, alias, description, -as well as any additional detail or context that is available. *Deprecated* - -Passing a `resultVersion` of `2` corresponds to a detailed format where each -error includes information about the line number, rule names, description, as -well as any additional detail or context that is available. *Deprecated* - -Passing a `resultVersion` of `3` corresponds to the detailed version `2` format -with additional information about how to fix automatically-fixable errors. In -this mode, all errors that occur on each line are reported (other versions -report only the first error for each rule). This is the default behavior. +```javascript +import { convertToResultVersion0, convertToResultVersion1, convertToResultVersion2 } from "markdownlint/helpers"; +``` ##### options.strings @@ -671,16 +659,16 @@ Standard completion callback. Type: `Object` -Call `result.toString()` for convenience or see below for an example of the -structure of the `result` object. Passing the value `true` to `toString()` -uses rule aliases (ex: `no-hard-tabs`) instead of names (ex: `MD010`). +Map of input file names and string identifiers to issues within. + +See the [Usage section](#usage) for an example of the structure of this object. ### Config The `options.config` configuration object is simple and can be stored in a file -for readability and easy reuse. The `readConfig` and `readConfigSync` functions -load configuration settings and support the `extends` keyword for referencing -other files (see above). +for readability and easy reuse. The `readConfig` function loads configuration +settings and supports the `extends` keyword for referencing files or packages +(see above). By default, configuration files are parsed as JSON (and named `.markdownlint.json`). Custom parsers can be provided to handle other formats @@ -849,7 +837,7 @@ console.log(getVersion()); ## Usage -Invoke `lint` and use the `result` object's `toString` method: +Invoke `lint` as an asynchronous call: ```javascript import { lint as lintAsync } from "markdownlint/async"; @@ -864,34 +852,21 @@ const options = { lintAsync(options, function callback(error, results) { if (!error && results) { - console.log(results.toString()); + console.dir(results, { "colors": true, "depth": null }); } }); ``` -Output: - -```text -bad.string: 3: MD010/no-hard-tabs Hard tabs [Column: 19] -bad.string: 1: MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#bad.string"] -bad.string: 3: MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#This string fails some rules."] -bad.string: 1: MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "#bad.string"] -bad.md: 3: MD010/no-hard-tabs Hard tabs [Column: 17] -bad.md: 1: MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#bad.md"] -bad.md: 3: MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#This file fails some rules."] -bad.md: 1: MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "#bad.md"] -``` - Or as a synchronous call: ```javascript import { lint as lintSync } from "markdownlint/sync"; const results = lintSync(options); -console.log(results.toString()); +console.dir(results, { "colors": true, "depth": null }); ``` -To examine the `result` object directly via a `Promise`-based call: +Or as a `Promise`-based call: ```javascript import { lint as lintPromise } from "markdownlint/promise"; @@ -900,7 +875,7 @@ const results = await lintPromise(options); console.dir(results, { "colors": true, "depth": null }); ``` -Output: +All of which return an object like: ```json { @@ -912,38 +887,36 @@ Output: "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md", "errorDetail": "Column: 17", "errorContext": null, - "errorRange": [ 17, 1 ] }, + "errorRange": [ 17, 1 ], + "fixInfo": { "editColumn": 17, "deleteCount": 1, "insertText": ' ' } } { "lineNumber": 1, "ruleNames": [ "MD018", "no-missing-space-atx" ], "ruleDescription": "No space after hash on atx style heading", "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md", "errorDetail": null, "errorContext": "#bad.md", - "errorRange": [ 1, 2 ] }, + "errorRange": [ 1, 2 ], + "fixInfo": { "editColumn": 2, "insertText": ' ' } } { "lineNumber": 3, "ruleNames": [ "MD018", "no-missing-space-atx" ], "ruleDescription": "No space after hash on atx style heading", "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md", "errorDetail": null, "errorContext": "#This file fails\tsome rules.", - "errorRange": [ 1, 2 ] }, + "errorRange": [ 1, 2 ], + "fixInfo": { "editColumn": 2, "insertText": ' ' } } { "lineNumber": 1, "ruleNames": [ "MD041", "first-line-heading", "first-line-h1" ], "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", "errorDetail": null, "errorContext": "#bad.md", - "errorRange": null } + "errorRange": null, + "fixInfo": null } ] } ``` -Integration with the [gulp](https://gulpjs.com/) build system is -straightforward: [`gulpfile.cjs`](example/gulpfile.cjs). - -Integration with the [Grunt](https://gruntjs.com/) build system is similar: -[`Gruntfile.cjs`](example/Gruntfile.cjs). - ## Browser `markdownlint` also works in the browser. @@ -969,7 +942,7 @@ const options = { } }; -const results = globalThis.markdownlint.lintSync(options).toString(); +const results = globalThis.markdownlint.lintSync(options); ``` ## Examples diff --git a/demo/browser-exports.mjs b/demo/browser-exports.mjs index 42adabcb..3ed596ca 100644 --- a/demo/browser-exports.mjs +++ b/demo/browser-exports.mjs @@ -2,6 +2,7 @@ export { applyFixes, getVersion } from "markdownlint"; export { lint as lintSync } from "markdownlint/sync"; +export { frontMatterRe } from "markdownlint/helpers"; export { compile, parse, postprocess, preprocess } from "micromark"; export { directive, directiveHtml } from "micromark-extension-directive"; export { gfmAutolinkLiteral, gfmAutolinkLiteralHtml } from "micromark-extension-gfm-autolink-literal"; diff --git a/demo/default.css b/demo/default.css index 5aa23778..8d9abb59 100644 --- a/demo/default.css +++ b/demo/default.css @@ -47,6 +47,9 @@ textarea { font-style: italic; white-space: pre-wrap; } +.error { + background: rgb(255, 0, 0, 0.3); +} .flex-rows { display: flex; flex-direction: column; @@ -64,7 +67,7 @@ textarea { min-height: 0; } .highlight { - background: yellow; + background: rgb(255, 0, 0, 0.8); } .inset { box-sizing: border-box; diff --git a/demo/default.js b/demo/default.js index 1f58347d..11849283 100644 --- a/demo/default.js +++ b/demo/default.js @@ -49,6 +49,7 @@ // Renders Markdown to HTML function render(markdown) { + markdown = markdown.replace(markdownlint.frontMatterRe, ""); const match = /^\?renderer=([a-z-]+)$/.exec(globalThis.location.search); const renderer = match ? match[1] : "micromark"; if (renderer === "markdown-it") { @@ -78,13 +79,29 @@ }; try { return micromark.compile(compileOptions)(events); - } catch (error) { + } catch(error) { return `[Exception: "${error}"]`; } } return `[Unsupported renderer "${renderer}"]`; } + // Highlight error ranges + function highlightErrors(results, className) { + for (const result of results) { + const { errorRange, lineNumber } = result; + const line = document.getElementById(`l${lineNumber}`); + line.classList.add(className); + if (errorRange) { + const [ col, len ] = errorRange; + for (let i = 0; i < len; i++) { + var char = document.getElementById(`l${lineNumber}c${col + i}`); + char.classList.add(className); + } + } + } + } + // Handle input function onMarkdownInput() { // Markdown @@ -96,11 +113,14 @@ var padding = lines.length.toString().replace(/\d/g, " "); numbered.innerHTML = lines .map(function mapNumberedLine(line, index) { - line = sanitize(line); index++; var paddedIndex = (padding + index).slice(-padding.length); - return "" + paddedIndex + ": " + - line + ""; + return ( + `${paddedIndex}: ` + + // eslint-disable-next-line unicorn/prefer-spread + line.split("").map((c, i) => `${sanitize(c)}`).join("") + + "" + ); }).join("\n"); // Violations var options = { @@ -115,7 +135,8 @@ allLintErrors = markdownlint.lintSync(options).content; violations.innerHTML = allLintErrors.map(function mapResult(result) { var ruleName = result.ruleNames.slice(0, 2).join(" / "); - return "" + + var resultJson = encodeURIComponent(JSON.stringify(result)).replaceAll("'", "%27"); + return "" + result.lineNumber + " - " + ruleName + " " + result.ruleDescription + @@ -130,11 +151,13 @@ "\"]" : "") + (result.fixInfo ? - " [Fix]" : + " [Fix]" : ""); }).join("
"); + // Highlight errors + highlightErrors(allLintErrors, "error"); } // Load from a string or File object @@ -177,29 +200,25 @@ // Handle violation navigation function onViolationClick(e) { + const resultJson = JSON.parse(decodeURIComponent(e.target.target)); switch (e.target.hash) { case "#fix": var errors = e.shiftKey ? allLintErrors : - [ JSON.parse(decodeURIComponent(e.target.target)) ]; + [ resultJson ]; var fixed = markdownlint.applyFixes(markdown.value, errors); markdown.value = fixed; onMarkdownInput(); e.preventDefault(); break; case "#line": - var line = document.getElementById("l" + e.target.target); - if (line) { - var highlighted = document.getElementsByClassName("highlight"); - Array.prototype.forEach.call( - highlighted, - function forElement(element) { - element.classList.remove("highlight"); - } - ); - line.classList.add("highlight"); - line.scrollIntoView(); + // eslint-disable-next-line unicorn/no-useless-spread + for (const element of [ ...document.getElementsByClassName("highlight") ]) { + element.classList.remove("highlight"); } + highlightErrors([ resultJson ], "highlight"); + var line = document.getElementById(`l${resultJson.lineNumber}`); + line.scrollIntoView(); e.preventDefault(); break; default: diff --git a/doc-build/build-rules.mjs b/doc-build/build-rules.mjs index c15a830c..a9bca536 100644 --- a/doc-build/build-rules.mjs +++ b/doc-build/build-rules.mjs @@ -8,7 +8,7 @@ const maxLineLength = 80; const pathFor = (relativePath) => new URL(relativePath, import.meta.url); const inCode = (items) => items.map((item) => `\`${item}\``); -const sortedComma = (items) => items.sort().join(", "); +const sortedComma = (items) => items.toSorted().join(", "); const linesFrom = (text) => text.split(newLineRe); const wrapListItem = (line) => { const wrappedLines = []; @@ -66,7 +66,7 @@ for (const rule of rules) { "Parameters:", "" ); - for (const property of Object.keys(ruleData.properties).sort()) { + for (const property of Object.keys(ruleData.properties).toSorted()) { const propData = ruleData.properties[property]; const propType = [ propData.type ] .flat() @@ -75,7 +75,7 @@ for (const rule of rules) { const defaultValue = Array.isArray(propData.default) ? JSON.stringify(propData.default) : propData.default; - const allValues = propData.enum?.sort(); + const allValues = propData.enum?.toSorted(); const listItem = `- \`${property}\`: ${propData.description} (` + `\`${propType}\`, default \`${defaultValue}\`` + (propData.enum ? diff --git a/doc-build/md001.md b/doc-build/md001.md index 95c47ced..51903bf0 100644 --- a/doc-build/md001.md +++ b/doc-build/md001.md @@ -26,6 +26,15 @@ level at a time: ### Another Heading 3 ``` +If [YAML](https://en.wikipedia.org/wiki/YAML) front matter is present and +contains a `title` property (commonly used with blog posts), this rule treats +that as a top level heading and will report a violation if the actual first +heading is not a level 2 heading. To use a different property name in the +front matter, specify the text of a regular expression via the +`front_matter_title` parameter. To disable the use of front matter by this +rule, specify `""` for `front_matter_title`. When front matter is not present, +the first heading can be any level. + Rationale: Headings represent the structure of a document and can be confusing when skipped - especially for accessibility scenarios. More information: . diff --git a/doc-build/md010.md b/doc-build/md010.md index a3b304ca..023f737d 100644 --- a/doc-build/md010.md +++ b/doc-build/md010.md @@ -39,3 +39,9 @@ parameter to the desired value. Rationale: Hard tabs are often rendered inconsistently by different editors and can be harder to work with than spaces. + +More information: + +- +- +- diff --git a/doc-build/md033.md b/doc-build/md033.md index 98dc8a73..583ab668 100644 --- a/doc-build/md033.md +++ b/doc-build/md033.md @@ -10,7 +10,11 @@ To fix this, use 'pure' Markdown instead of including raw HTML: # Markdown heading ``` -Note: To allow specific HTML elements, use the `allowed_elements` parameter. +To allow specific HTML elements anywhere in Markdown content, set the +`allowed_elements` parameter to a list of HTML element names. To allow a +specific set of HTML elements within Markdown tables, set the +`table_allowed_elements` parameter to a list of HTML element names. This can be +used to permit the use of `
`-style line breaks only within Markdown tables. Rationale: Raw HTML is allowed in Markdown, but this rule is included for those who want their documents to only include "pure" Markdown, or for those diff --git a/doc-build/md045.md b/doc-build/md045.md index c99f4227..9dba6eb9 100644 --- a/doc-build/md045.md +++ b/doc-build/md045.md @@ -1,4 +1,4 @@ -This rule is triggered when an image is missing alternate text (alt text) +This rule reports a violation when an image is missing alternate text (alt text) information. Alternate text is commonly specified inline as: @@ -23,12 +23,20 @@ Or with HTML as: Alternate text ``` +Note: If the [HTML `aria-hidden` attribute][aria-hidden] is used to hide the +image from assistive technology, this rule does not report a violation: + +```html + +``` + Guidance for writing alternate text is available from the [W3C][w3c], [Wikipedia][wikipedia], and [other locations][phase2technology]. Rationale: Alternate text is important for accessibility and describes the content of an image for people who may not be able to see it. +[aria-hidden]: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-hidden [phase2technology]: https://www.phase2technology.com/blog/no-more-excuses [w3c]: https://www.w3.org/WAI/alt/ [wikipedia]: https://en.wikipedia.org/wiki/Alt_attribute diff --git a/doc-build/md051.md b/doc-build/md051.md index 5a8f91b0..1ed47537 100644 --- a/doc-build/md051.md +++ b/doc-build/md051.md @@ -74,6 +74,12 @@ And this link to content starting within line 19 running into line 21: [Link](#L19C5-L21C11) ``` +Some Markdown generators dynamically create and insert headings when building +documents, for example by combining a fixed prefix like `figure-` and an +incrementing numeric counter. To ignore such generated fragments, set the +`ignored_pattern` [regular expression][RegEx] parameter to a pattern that +matches (e.g., `^figure-`). + Rationale: [GitHub section links][github-section-links] are created automatically for every heading when Markdown content is displayed on GitHub. This makes it easy to link directly to different sections within a document. @@ -89,3 +95,4 @@ append an incrementing integer as needed for uniqueness. [github-heading-algorithm]: https://github.com/gjtorikian/html-pipeline/blob/f13a1534cb650ba17af400d1acd3a22c28004c09/lib/html/pipeline/toc_filter.rb [github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown#linking-to-markdown [html-top-fragment]: https://html.spec.whatwg.org/multipage/browsing-the-web.html#scrolling-to-a-fragment +[RegEx]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions diff --git a/doc-build/md052.md b/doc-build/md052.md index bf368f4a..064b8dbd 100644 --- a/doc-build/md052.md +++ b/doc-build/md052.md @@ -28,3 +28,14 @@ so "shortcut" syntax is ignored by default. To include "shortcut" syntax, set the `include_shortcut` parameter to `true`. Note that doing so produces warnings for *all* text in the document that *could* be a shortcut. If bracketed text is intentional, brackets can be escaped with the `\` character: `\[example\]`. + +If there are link labels that are deliberately unreferenced, they can be ignored +by setting the `ignored_labels` parameter to the list of strings to ignore. The +default value of this parameter ignores the checkbox syntax used by +[GitHub Flavored Markdown task list items][gfm-tasklist]: + +```markdown +- [x] Checked task list item +``` + +[gfm-tasklist]: https://github.github.com/gfm/#task-list-items-extension- diff --git a/doc-build/md053.md b/doc-build/md053.md index 9869bd1f..1da909c7 100644 --- a/doc-build/md053.md +++ b/doc-build/md053.md @@ -17,9 +17,9 @@ reference has the corresponding label. The "full", "collapsed", and "shortcut" formats are all supported. If there are reference definitions that are deliberately unreferenced, they can -be ignored by setting the `ignored_definitions` parameter. The default value of -this parameter ignores the following convention for adding non-HTML comments to -Markdown: +be ignored by setting the `ignored_definitions` parameter to the list of strings +to ignore. The default value of this parameter ignores the following convention +for adding non-HTML comments to Markdown: ```markdown [//]: # (This behaves like a comment) diff --git a/doc-build/md055.md b/doc-build/md055.md index c956f3e3..52e0979b 100644 --- a/doc-build/md055.md +++ b/doc-build/md055.md @@ -40,4 +40,4 @@ Rationale: Some parsers have difficulty with tables that are missing their leading or trailing pipe characters. The use of leading/trailing pipes can also help provide visual clarity. -[gfm-table-055]: https://github.github.com/gfm/#tables-extension- +[gfm-table-055]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables diff --git a/doc-build/md056.md b/doc-build/md056.md index b885d59f..8d8f72f6 100644 --- a/doc-build/md056.md +++ b/doc-build/md056.md @@ -28,4 +28,4 @@ of cells or it will not be recognized as a table (per specification). Rationale: Extra cells in a row are usually not shown, so their data is lost. Missing cells in a row create holes in the table and suggest an omission. -[gfm-table-056]: https://github.github.com/gfm/#tables-extension- +[gfm-table-056]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables diff --git a/doc-build/md059.md b/doc-build/md059.md index cbdd5d49..7d5548fb 100644 --- a/doc-build/md059.md +++ b/doc-build/md059.md @@ -16,4 +16,7 @@ translations for every language. Note: This rule checks Markdown links; HTML links are ignored. -More information: +More information: + +- +- diff --git a/doc-build/md060.md b/doc-build/md060.md new file mode 100644 index 00000000..4adc754e --- /dev/null +++ b/doc-build/md060.md @@ -0,0 +1,59 @@ +This rule is triggered when the column separators of a +[GitHub Flavored Markdown table][gfm-table-060] are used inconsistently. + +This rule recognizes three table column styles based on popular use: + +Style `aligned` looks the most like a table: + +```markdown +| Character | Meaning | +| --------- | ------- | +| Y | Yes | +| N | No | +``` + +Style `compact` uses a single space to pad cell content: + +```markdown +| Character | Meaning | +| --- | --- | +| Y | Yes | +| N | No | +``` + +Style `tight` uses no padding for cell content: + +```markdown +|Character|Meaning| +|---|---| +|Y|Yes| +|N|No| +``` + +When this rule's `style` parameter is set to `aligned`, `compact`, or `tight`, +every table must match the corresponding pattern and errors will be reported for +any violations. By default, or when the `any` style is used, each table is +analyzed to see if it satisfies any supported style. If so, no errors are +reported. If not, errors are be reported for whichever style would produce the +*fewest* errors (i.e., whichever style is the closest match). + +Note: Pipe alignment for the `aligned` style is based on character count, so +wide characters and multi-character encodings can produce unexpected results. +The following table is correctly aligned based on character count, though some +editors render the emoji wider: + + + + +```markdown +| Response | Emoji | +| -------- | ----- | +| Yes | ✅ | +| No | ❎ | +``` + + + +Rationale: Consistent formatting makes it easier to understand a document. + +[gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables diff --git a/doc/Rules.md b/doc/Rules.md index 2da38546..eda7730e 100644 --- a/doc/Rules.md +++ b/doc/Rules.md @@ -12,6 +12,11 @@ Tags: `headings` Aliases: `heading-increment` +Parameters: + +- `front_matter_title`: RegExp for matching title in front matter (`string`, + default `^\s*title\s*[:=]`) + This rule is triggered when you skip heading levels in a Markdown document, for example: @@ -40,6 +45,15 @@ level at a time: ### Another Heading 3 ``` +If [YAML](https://en.wikipedia.org/wiki/YAML) front matter is present and +contains a `title` property (commonly used with blog posts), this rule treats +that as a top level heading and will report a violation if the actual first +heading is not a level 2 heading. To use a different property name in the +front matter, specify the text of a regular expression via the +`front_matter_title` parameter. To disable the use of front matter by this +rule, specify `""` for `front_matter_title`. When front matter is not present, +the first heading can be any level. + Rationale: Headings represent the structure of a document and can be confusing when skipped - especially for accessibility scenarios. More information: . @@ -383,6 +397,12 @@ parameter to the desired value. Rationale: Hard tabs are often rendered inconsistently by different editors and can be harder to work with than spaces. +More information: + +- +- +- + ## `MD011` - Reversed link syntax @@ -1026,6 +1046,8 @@ Parameters: - `style`: List style (`string`, default `one_or_ordered`, values `one` / `one_or_ordered` / `ordered` / `zero`) +Fixable: Some violations can be fixed by tooling + This rule is triggered for ordered lists that do not either start with '1.' or do not have a prefix that increases in numerical order (depending on the configured style). The less-common pattern of using '0.' as a first prefix or @@ -1321,6 +1343,8 @@ Aliases: `no-inline-html` Parameters: - `allowed_elements`: Allowed elements (`string[]`, default `[]`) +- `table_allowed_elements`: Allowed elements in tables (`string[]`, default + `[]`) This rule is triggered whenever raw HTML is used in a Markdown document: @@ -1334,7 +1358,11 @@ To fix this, use 'pure' Markdown instead of including raw HTML: # Markdown heading ``` -Note: To allow specific HTML elements, use the `allowed_elements` parameter. +To allow specific HTML elements anywhere in Markdown content, set the +`allowed_elements` parameter to a list of HTML element names. To allow a +specific set of HTML elements within Markdown tables, set the +`table_allowed_elements` parameter to a list of HTML element names. This can be +used to permit the use of `
`-style line breaks only within Markdown tables. Rationale: Raw HTML is allowed in Markdown, but this rule is included for those who want their documents to only include "pure" Markdown, or for those @@ -1908,7 +1936,7 @@ Tags: `accessibility`, `images` Aliases: `no-alt-text` -This rule is triggered when an image is missing alternate text (alt text) +This rule reports a violation when an image is missing alternate text (alt text) information. Alternate text is commonly specified inline as: @@ -1933,12 +1961,20 @@ Or with HTML as: Alternate text ``` +Note: If the [HTML `aria-hidden` attribute][aria-hidden] is used to hide the +image from assistive technology, this rule does not report a violation: + +```html + +``` + Guidance for writing alternate text is available from the [W3C][w3c], [Wikipedia][wikipedia], and [other locations][phase2technology]. Rationale: Alternate text is important for accessibility and describes the content of an image for people who may not be able to see it. +[aria-hidden]: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-hidden [phase2technology]: https://www.phase2technology.com/blog/no-more-excuses [w3c]: https://www.w3.org/WAI/alt/ [wikipedia]: https://en.wikipedia.org/wiki/Alt_attribute @@ -2156,6 +2192,8 @@ Aliases: `link-fragments` Parameters: - `ignore_case`: Ignore case of fragments (`boolean`, default `false`) +- `ignored_pattern`: Pattern for ignoring additional fragments (`string`, + default ``) Fixable: Some violations can be fixed by tooling @@ -2235,6 +2273,12 @@ And this link to content starting within line 19 running into line 21: [Link](#L19C5-L21C11) ``` +Some Markdown generators dynamically create and insert headings when building +documents, for example by combining a fixed prefix like `figure-` and an +incrementing numeric counter. To ignore such generated fragments, set the +`ignored_pattern` [regular expression][RegEx] parameter to a pattern that +matches (e.g., `^figure-`). + Rationale: [GitHub section links][github-section-links] are created automatically for every heading when Markdown content is displayed on GitHub. This makes it easy to link directly to different sections within a document. @@ -2250,6 +2294,7 @@ append an incrementing integer as needed for uniqueness. [github-heading-algorithm]: https://github.com/gjtorikian/html-pipeline/blob/f13a1534cb650ba17af400d1acd3a22c28004c09/lib/html/pipeline/toc_filter.rb [github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown#linking-to-markdown [html-top-fragment]: https://html.spec.whatwg.org/multipage/browsing-the-web.html#scrolling-to-a-fragment +[RegEx]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions @@ -2261,6 +2306,7 @@ Aliases: `reference-links-images` Parameters: +- `ignored_labels`: Ignored link labels (`string[]`, default `["x"]`) - `shortcut_syntax`: Include shortcut syntax (`boolean`, default `false`) Links and images in Markdown can provide the link destination or image source @@ -2294,6 +2340,17 @@ the `include_shortcut` parameter to `true`. Note that doing so produces warnings for *all* text in the document that *could* be a shortcut. If bracketed text is intentional, brackets can be escaped with the `\` character: `\[example\]`. +If there are link labels that are deliberately unreferenced, they can be ignored +by setting the `ignored_labels` parameter to the list of strings to ignore. The +default value of this parameter ignores the checkbox syntax used by +[GitHub Flavored Markdown task list items][gfm-tasklist]: + +```markdown +- [x] Checked task list item +``` + +[gfm-tasklist]: https://github.github.com/gfm/#task-list-items-extension- + ## `MD053` - Link and image reference definitions should be needed @@ -2327,9 +2384,9 @@ reference has the corresponding label. The "full", "collapsed", and "shortcut" formats are all supported. If there are reference definitions that are deliberately unreferenced, they can -be ignored by setting the `ignored_definitions` parameter. The default value of -this parameter ignores the following convention for adding non-HTML comments to -Markdown: +be ignored by setting the `ignored_definitions` parameter to the list of strings +to ignore. The default value of this parameter ignores the following convention +for adding non-HTML comments to Markdown: ```markdown [//]: # (This behaves like a comment) @@ -2494,7 +2551,7 @@ Rationale: Some parsers have difficulty with tables that are missing their leading or trailing pipe characters. The use of leading/trailing pipes can also help provide visual clarity. -[gfm-table-055]: https://github.github.com/gfm/#tables-extension- +[gfm-table-055]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables @@ -2534,7 +2591,7 @@ of cells or it will not be recognized as a table (per specification). Rationale: Extra cells in a row are usually not shown, so their data is lost. Missing cells in a row create holes in the table and suggest an omission. -[gfm-table-056]: https://github.github.com/gfm/#tables-extension- +[gfm-table-056]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables @@ -2618,7 +2675,83 @@ translations for every language. Note: This rule checks Markdown links; HTML links are ignored. -More information: +More information: + +- +- + + + +## `MD060` - Table column style + +Tags: `table` + +Aliases: `table-column-style` + +Parameters: + +- `style`: Table column style (`string`, default `any`, values `aligned` / + `any` / `compact` / `tight`) + +This rule is triggered when the column separators of a +[GitHub Flavored Markdown table][gfm-table-060] are used inconsistently. + +This rule recognizes three table column styles based on popular use: + +Style `aligned` looks the most like a table: + +```markdown +| Character | Meaning | +| --------- | ------- | +| Y | Yes | +| N | No | +``` + +Style `compact` uses a single space to pad cell content: + +```markdown +| Character | Meaning | +| --- | --- | +| Y | Yes | +| N | No | +``` + +Style `tight` uses no padding for cell content: + +```markdown +|Character|Meaning| +|---|---| +|Y|Yes| +|N|No| +``` + +When this rule's `style` parameter is set to `aligned`, `compact`, or `tight`, +every table must match the corresponding pattern and errors will be reported for +any violations. By default, or when the `any` style is used, each table is +analyzed to see if it satisfies any supported style. If so, no errors are +reported. If not, errors are be reported for whichever style would produce the +*fewest* errors (i.e., whichever style is the closest match). + +Note: Pipe alignment for the `aligned` style is based on character count, so +wide characters and multi-character encodings can produce unexpected results. +The following table is correctly aligned based on character count, though some +editors render the emoji wider: + + + + +```markdown +| Response | Emoji | +| -------- | ----- | +| Yes | ✅ | +| No | ❎ | +``` + + + +Rationale: Consistent formatting makes it easier to understand a document. + +[gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables + + +```markdown +| Response | Emoji | +| -------- | ----- | +| Yes | ✅ | +| No | ❎ | +``` + + + +Rationale: Consistent formatting makes it easier to understand a document. + +[gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables diff --git a/example/Gruntfile.cjs b/example/Gruntfile.cjs deleted file mode 100644 index 571d403d..00000000 --- a/example/Gruntfile.cjs +++ /dev/null @@ -1,28 +0,0 @@ -// @ts-check - -"use strict"; - -module.exports = function wrapper(grunt) { - grunt.initConfig({ - "markdownlint": { - "example": { - "src": [ "*.md" ] - } - } - }); - - grunt.registerMultiTask("markdownlint", function task() { - const done = this.async(); - import("markdownlint/async").then(({ lint }) => { - lint( - { "files": this.filesSrc }, - function callback(err, result) { - const resultString = err || ((result || "").toString()); - if (resultString) { - grunt.fail.warn("\n" + resultString + "\n"); - } - done(!err || !resultString); - }); - }).catch(done); - }); -}; diff --git a/example/gulpfile.cjs b/example/gulpfile.cjs deleted file mode 100644 index 25dcdd58..00000000 --- a/example/gulpfile.cjs +++ /dev/null @@ -1,24 +0,0 @@ -// @ts-check - -"use strict"; - -const gulp = require("gulp"); -const through2 = require("through2"); - -// Simple task wrapper -gulp.task("markdownlint", function task() { - return gulp.src("*.md", { "read": false }) - .pipe(through2.obj(function obj(file, enc, next) { - import("markdownlint/async").then(({ lint }) => { - lint( - { "files": [ file.relative ] }, - function callback(err, result) { - const resultString = (result || "").toString(); - if (resultString) { - console.log(resultString); - } - next(err, file); - }); - }).catch(next); - })); -}); diff --git a/example/standalone.mjs b/example/standalone.mjs index 2614e14b..866d0a8b 100644 --- a/example/standalone.mjs +++ b/example/standalone.mjs @@ -18,18 +18,18 @@ const options = { if (true) { - // Makes a synchronous call, uses result.toString for pretty formatting + // Makes a synchronous call const results = lintSync(options); - console.log(results.toString()); + console.dir(results, { "colors": true, "depth": null }); } if (true) { - // Makes an asynchronous call, uses result.toString for pretty formatting + // Makes an asynchronous call lintAsync(options, function callback(error, results) { if (!error && results) { - console.log(results.toString()); + console.dir(results, { "colors": true, "depth": null }); } }); @@ -37,7 +37,7 @@ if (true) { if (true) { - // Makes a Promise-based asynchronous call, displays the result object directly + // Makes a Promise-based asynchronous call const results = await lintPromise(options); console.dir(results, { "colors": true, "depth": null }); diff --git a/example/typescript/type-check.ts b/example/typescript/type-check.ts index 5abc47f0..903ad403 100644 --- a/example/typescript/type-check.ts +++ b/example/typescript/type-check.ts @@ -171,13 +171,15 @@ lintAsync(options, assertLintResultsCallback); assertLintResultsCallback(null, await lintPromise(options)); })(); +const needsFixing = "# Heading\n"; + assert.equal( applyFix( - "# Fixing\n", + needsFixing, { - "insertText": "Head", - "editColumn": 3, - "deleteCount": 3 + "insertText": " ", + "editColumn": 2, + "deleteCount": 2 }, "\n" ), @@ -186,18 +188,13 @@ assert.equal( assert.equal( applyFixes( - "# Fixing\n", - [ - { - "lineNumber": 1, - "fixInfo": { - "insertText": "Head", - "editColumn": 3, - "deleteCount": 3 - } + needsFixing, + lintSync({ + "strings": { + needsFixing } - ] - ), + }).needsFixingwsl --update + ), t "# Heading\n" ); diff --git a/helpers/README.md b/helpers/README.md index 605df84a..b4e3e96a 100644 --- a/helpers/README.md +++ b/helpers/README.md @@ -22,8 +22,8 @@ be useful to custom rule authors and may avoid duplicating code. *None* - The entire body of code is tested to 100% coverage by the core `markdownlint` project, so there are no additional tests here. -[custom-rules]: https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/CustomRules.md +[custom-rules]: https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/CustomRules.md [jsdoc]: https://en.m.wikipedia.org/wiki/JSDoc [markdown]: https://en.wikipedia.org/wiki/Markdown [markdownlint]: https://github.com/DavidAnson/markdownlint -[rules]: https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/Rules.md +[rules]: https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/Rules.md diff --git a/helpers/helpers.cjs b/helpers/helpers.cjs index e419ff62..3572bbd5 100644 --- a/helpers/helpers.cjs +++ b/helpers/helpers.cjs @@ -308,8 +308,8 @@ module.exports.addErrorDetailIf = addErrorDetailIf; * @param {RuleOnErrorFixInfo} [fixInfo] RuleOnErrorFixInfo instance. * @returns {void} */ -function addErrorContext( - onError, lineNumber, context, start, end, range, fixInfo) { +function addErrorContext(onError, lineNumber, context, start, end, range, fixInfo) { + // Normalize new line characters so Linux and Windows trim consistently context = ellipsify(context.replace(newLineRe, "\n"), start, end); addError(onError, lineNumber, undefined, context, range, fixInfo); } @@ -538,3 +538,138 @@ function expandTildePath(file, os) { return homedir ? file.replace(/^~($|\/|\\)/, `${homedir}$1`) : file; } module.exports.expandTildePath = expandTildePath; + +/** @typedef {import("../lib/markdownlint.mjs").LintError[]} LintErrors */ +/** @typedef {import("../lib/markdownlint.mjs").LintResults} LintResults */ + +/** + * Converts lint errors from resultVersion 3 to 2. + * + * @param {LintErrors} errors Lint errors (v3). + * @returns {LintErrors} Lint errors (v2). + */ +function convertLintErrorsVersion3To2(errors) { + const noPrevious = { + "ruleNames": [], + "lineNumber": -1 + }; + return errors.filter((error, index, array) => { + // @ts-ignore + delete error.fixInfo; + const previous = array[index - 1] || noPrevious; + return ( + (error.ruleNames[0] !== previous.ruleNames[0]) || + (error.lineNumber !== previous.lineNumber) + ); + }); +} + +/** + * Converts lint errors from resultVersion 2 to 1. + * + * @param {LintErrors} errors Lint errors (v2). + * @returns {LintErrors} Lint errors (v1). + */ +function convertLintErrorsVersion2To1(errors) { + for (const error of errors) { + // @ts-ignore + error.ruleName = error.ruleNames[0]; + // @ts-ignore + error.ruleAlias = error.ruleNames[1] || error.ruleName; + // @ts-ignore + delete error.ruleNames; + } + return errors; +} + +/** + * Converts lint errors from resultVersion 2 to 0. + * + * @param {LintErrors} errors Lint errors (v2). + * @returns {LintErrors} Lint errors (v0). + */ +function convertLintErrorsVersion2To0(errors) { + const dictionary = {}; + for (const error of errors) { + const ruleName = error.ruleNames[0]; + const ruleLines = dictionary[ruleName] || []; + ruleLines.push(error.lineNumber); + dictionary[ruleName] = ruleLines; + } + // @ts-ignore + return dictionary; +} + +/** + * Copies and transforms lint results from resultVersion 3 to ?. + * + * @param {LintResults} results Lint results (v3). + * @param {(LintErrors) => LintErrors} transform Lint errors (v?). + * @returns {LintResults} Lint results (v?). + */ +function copyAndTransformResults(results, transform) { + const newResults = {}; + Object.defineProperty(newResults, "toString", { "value": results.toString }); + for (const key of Object.keys(results)) { + const arr = results[key].map((r) => ({ ...r })); + newResults[key] = transform(arr); + } + // @ts-ignore + return newResults; +} + +/** + * Converts lint results from resultVersion 3 to 0. + * + * @param {LintResults} results Lint results (v3). + * @returns {LintResults} Lint results (v0). + */ +module.exports.convertToResultVersion0 = function convertToResultVersion0(results) { + return copyAndTransformResults(results, (r) => convertLintErrorsVersion2To0(convertLintErrorsVersion3To2(r))); +}; + +/** + * Converts lint results from resultVersion 3 to 1. + * + * @param {LintResults} results Lint results (v3). + * @returns {LintResults} Lint results (v1). + */ +module.exports.convertToResultVersion1 = function convertToResultVersion1(results) { + return copyAndTransformResults(results, (r) => convertLintErrorsVersion2To1(convertLintErrorsVersion3To2(r))); +}; + +/** + * Converts lint results from resultVersion 3 to 2. + * + * @param {LintResults} results Lint results (v3). + * @returns {LintResults} Lint results (v2). + */ +module.exports.convertToResultVersion2 = function convertToResultVersion2(results) { + return copyAndTransformResults(results, convertLintErrorsVersion3To2); +}; + +/** + * Formats lint results to an array of strings. + * + * @param {LintResults|undefined} lintResults Lint results. + * @returns {string[]} Lint error strings. + */ +module.exports.formatLintResults = function formatLintResults(lintResults) { + const results = []; + const entries = Object.entries(lintResults || {}); + entries.sort((a, b) => a[0].localeCompare(b[0])); + for (const [ source, lintErrors ] of entries) { + for (const lintError of lintErrors) { + const { lineNumber, ruleNames, ruleDescription, errorDetail, errorContext, errorRange } = lintError; + const rule = ruleNames.join("/"); + const line = `:${lineNumber}`; + const rangeStart = (errorRange && errorRange[0]) || 0; + const column = rangeStart ? `:${rangeStart}` : ""; + const description = ruleDescription; + const detail = (errorDetail ? ` [${errorDetail}]` : ""); + const context = (errorContext ? ` [Context: "${errorContext}"]` : ""); + results.push(`${source}${line}${column} ${rule} ${description}${detail}${context}`); + } + } + return results; +}; diff --git a/helpers/micromark-helpers.cjs b/helpers/micromark-helpers.cjs index aa35b96d..d3544dae 100644 --- a/helpers/micromark-helpers.cjs +++ b/helpers/micromark-helpers.cjs @@ -2,7 +2,7 @@ "use strict"; -const { flatTokensSymbol, htmlFlowSymbol } = require("./shared.cjs"); +const { flatTokensSymbol, htmlFlowSymbol, newLineRe } = require("./shared.cjs"); // eslint-disable-next-line jsdoc/valid-types /** @typedef {import("micromark-util-types", { with: { "resolution-mode": "import" } }).TokenType} TokenType */ @@ -216,12 +216,11 @@ function getHeadingStyle(heading) { * @returns {string} Heading text. */ function getHeadingText(heading) { - const headingText = getDescendantsByType(heading, [ [ "atxHeadingText", "setextHeadingText" ] ]) + return getDescendantsByType(heading, [ [ "atxHeadingText", "setextHeadingText" ] ]) .flatMap((descendant) => descendant.children.filter((child) => child.type !== "htmlText")) .map((data) => data.text) .join("") - .replace(/[\r\n]+/g, " "); - return headingText || ""; + .replace(newLineRe, " "); } /** @@ -270,6 +269,26 @@ function getParentOfType(token, types) { return current; } +const docfxTabSyntaxRe = /^#tab\//; + +/** + * Returns whether the specified Micromark token looks like a Docfx tab. + * + * @param {Token | null} heading Micromark token. + * @returns {boolean} True iff the token looks like a Docfx tab. + */ +function isDocfxTab(heading) { + // See https://dotnet.github.io/docfx/docs/markdown.html?tabs=linux%2Cdotnet#tabs + if (heading?.type === "atxHeading") { + const headingTexts = getDescendantsByType(heading, [ "atxHeadingText" ]); + if ((headingTexts.length === 1) && (headingTexts[0].children.length === 1) && (headingTexts[0].children[0].type === "link")) { + const resourceDestinationStrings = filterByTypes(headingTexts[0].children[0].children, [ "resourceDestinationString" ]); + return (resourceDestinationStrings.length === 1) && docfxTabSyntaxRe.test(resourceDestinationStrings[0].text); + } + } + return false; +} + /** * Set containing token types that do not contain content. * @@ -279,6 +298,7 @@ const nonContentTokens = new Set([ "blockQuoteMarker", "blockQuotePrefix", "blockQuotePrefixWhitespace", + "gfmFootnoteDefinitionIndent", "lineEnding", "lineEndingBlank", "linePrefix", @@ -301,6 +321,7 @@ module.exports = { getHtmlTagInfo, getParentOfType, inHtmlFlow, + isDocfxTab, isHtmlFlowComment, nonContentTokens }; diff --git a/helpers/package.json b/helpers/package.json index a5ef5552..184cbab8 100644 --- a/helpers/package.json +++ b/helpers/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint-rule-helpers", - "version": "0.28.0", + "version": "0.29.0", "description": "A collection of markdownlint helper functions for custom rules", "main": "./helpers.cjs", "exports": { diff --git a/lib/cache.mjs b/lib/cache.mjs index 9d19b0a4..c05b9927 100644 --- a/lib/cache.mjs +++ b/lib/cache.mjs @@ -3,14 +3,19 @@ import { getReferenceLinkImageData as helpersGetReferenceLinkImageData } from "../helpers/helpers.cjs"; import { filterByTypes } from "../helpers/micromark-helpers.cjs"; +/** @typedef {import("markdownlint").RuleParams} RuleParams */ +/** @typedef {import("markdownlint").MicromarkToken} MicromarkToken */ +/** @typedef {import("markdownlint").MicromarkTokenType} MicromarkTokenType */ + /** @type {Map} */ const map = new Map(); +/** @type {RuleParams | undefined} */ let params = undefined; /** * Initializes (resets) the cache. * - * @param {import("markdownlint").RuleParams} [p] Rule parameters object. + * @param {RuleParams} [p] Rule parameters object. * @returns {void} */ export function initialize(p) { @@ -18,6 +23,15 @@ export function initialize(p) { params = p; } +/** + * Gets the cached Micromark token array (for testing). + * + * @returns {MicromarkToken[]} Micromark tokens. + */ +export function micromarkTokens() { + return params?.parsers.micromark.tokens || []; +} + /** * Gets a cached object value - computes it and caches it. * @@ -37,15 +51,15 @@ function getCached(name, getValue) { /** * Filters a list of Micromark tokens by type and caches the result. * - * @param {import("markdownlint").MicromarkTokenType[]} types Types to allow. + * @param {MicromarkTokenType[]} types Types to allow. * @param {boolean} [htmlFlow] Whether to include htmlFlow content. - * @returns {import("markdownlint").MicromarkToken[]} Filtered tokens. + * @returns {MicromarkToken[]} Filtered tokens. */ export function filterByTypesCached(types, htmlFlow) { return getCached( // eslint-disable-next-line prefer-rest-params JSON.stringify(arguments), - () => filterByTypes(params.parsers.micromark.tokens, types, htmlFlow) + () => filterByTypes(micromarkTokens(), types, htmlFlow) ); } @@ -57,6 +71,6 @@ export function filterByTypesCached(types, htmlFlow) { export function getReferenceLinkImageData() { return getCached( getReferenceLinkImageData.name, - () => helpersGetReferenceLinkImageData(params.parsers.micromark.tokens) + () => helpersGetReferenceLinkImageData(micromarkTokens()) ); } diff --git a/lib/configuration-strict.d.ts b/lib/configuration-strict.d.ts index 73f9b11e..788bc64f 100644 --- a/lib/configuration-strict.d.ts +++ b/lib/configuration-strict.d.ts @@ -19,15 +19,29 @@ export interface ConfigurationStrict { */ extends?: string | null; /** - * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md + * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md */ - MD001?: boolean; + MD001?: + | boolean + | { + /** + * RegExp for matching title in front matter + */ + front_matter_title?: string; + }; /** - * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md + * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md */ - "heading-increment"?: boolean; + "heading-increment"?: + | boolean + | { + /** + * RegExp for matching title in front matter + */ + front_matter_title?: string; + }; /** - * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md + * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md */ MD003?: | boolean @@ -38,7 +52,7 @@ export interface ConfigurationStrict { style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed"; }; /** - * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md + * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md */ "heading-style"?: | boolean @@ -49,7 +63,7 @@ export interface ConfigurationStrict { style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed"; }; /** - * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md + * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md */ MD004?: | boolean @@ -60,7 +74,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist"; }; /** - * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md + * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md */ "ul-style"?: | boolean @@ -71,15 +85,15 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist"; }; /** - * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md + * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md */ MD005?: boolean; /** - * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md + * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md */ "list-indent"?: boolean; /** - * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md + * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md */ MD007?: | boolean @@ -98,7 +112,7 @@ export interface ConfigurationStrict { start_indent?: number; }; /** - * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md + * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md */ "ul-indent"?: | boolean @@ -117,7 +131,7 @@ export interface ConfigurationStrict { start_indent?: number; }; /** - * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md + * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md */ MD009?: | boolean @@ -136,7 +150,7 @@ export interface ConfigurationStrict { strict?: boolean; }; /** - * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md + * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md */ "no-trailing-spaces"?: | boolean @@ -155,7 +169,7 @@ export interface ConfigurationStrict { strict?: boolean; }; /** - * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md + * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md */ MD010?: | boolean @@ -174,7 +188,7 @@ export interface ConfigurationStrict { spaces_per_tab?: number; }; /** - * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md + * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md */ "no-hard-tabs"?: | boolean @@ -193,15 +207,15 @@ export interface ConfigurationStrict { spaces_per_tab?: number; }; /** - * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md + * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md */ MD011?: boolean; /** - * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md + * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md */ "no-reversed-links"?: boolean; /** - * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md + * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md */ MD012?: | boolean @@ -212,7 +226,7 @@ export interface ConfigurationStrict { maximum?: number; }; /** - * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md + * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md */ "no-multiple-blanks"?: | boolean @@ -223,7 +237,7 @@ export interface ConfigurationStrict { maximum?: number; }; /** - * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md + * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md */ MD013?: | boolean @@ -262,7 +276,7 @@ export interface ConfigurationStrict { stern?: boolean; }; /** - * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md + * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md */ "line-length"?: | boolean @@ -301,47 +315,47 @@ export interface ConfigurationStrict { stern?: boolean; }; /** - * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md + * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md */ MD014?: boolean; /** - * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md + * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md */ "commands-show-output"?: boolean; /** - * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md + * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md */ MD018?: boolean; /** - * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md + * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md */ "no-missing-space-atx"?: boolean; /** - * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md + * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md */ MD019?: boolean; /** - * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md + * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md */ "no-multiple-space-atx"?: boolean; /** - * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md + * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md */ MD020?: boolean; /** - * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md + * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md */ "no-missing-space-closed-atx"?: boolean; /** - * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md + * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md */ MD021?: boolean; /** - * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md + * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md */ "no-multiple-space-closed-atx"?: boolean; /** - * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md + * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md */ MD022?: | boolean @@ -356,7 +370,7 @@ export interface ConfigurationStrict { lines_below?: number | number[]; }; /** - * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md + * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md */ "blanks-around-headings"?: | boolean @@ -371,15 +385,15 @@ export interface ConfigurationStrict { lines_below?: number | number[]; }; /** - * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md + * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md */ MD023?: boolean; /** - * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md + * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md */ "heading-start-left"?: boolean; /** - * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md + * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md */ MD024?: | boolean @@ -390,7 +404,7 @@ export interface ConfigurationStrict { siblings_only?: boolean; }; /** - * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md + * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md */ "no-duplicate-heading"?: | boolean @@ -401,7 +415,7 @@ export interface ConfigurationStrict { siblings_only?: boolean; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md */ MD025?: | boolean @@ -416,7 +430,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md */ "single-title"?: | boolean @@ -431,7 +445,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md */ "single-h1"?: | boolean @@ -446,7 +460,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md + * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md */ MD026?: | boolean @@ -457,7 +471,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md + * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md */ "no-trailing-punctuation"?: | boolean @@ -468,7 +482,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md + * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md */ MD027?: | boolean @@ -479,7 +493,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md + * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md */ "no-multiple-space-blockquote"?: | boolean @@ -490,15 +504,15 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md + * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md */ MD028?: boolean; /** - * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md + * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md */ "no-blanks-blockquote"?: boolean; /** - * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md + * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md */ MD029?: | boolean @@ -509,7 +523,7 @@ export interface ConfigurationStrict { style?: "one" | "ordered" | "one_or_ordered" | "zero"; }; /** - * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md + * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md */ "ol-prefix"?: | boolean @@ -520,7 +534,7 @@ export interface ConfigurationStrict { style?: "one" | "ordered" | "one_or_ordered" | "zero"; }; /** - * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md + * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md */ MD030?: | boolean @@ -543,7 +557,7 @@ export interface ConfigurationStrict { ol_multi?: number; }; /** - * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md + * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md */ "list-marker-space"?: | boolean @@ -566,7 +580,7 @@ export interface ConfigurationStrict { ol_multi?: number; }; /** - * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md + * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md */ MD031?: | boolean @@ -577,7 +591,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md + * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md */ "blanks-around-fences"?: | boolean @@ -588,15 +602,15 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md + * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md */ MD032?: boolean; /** - * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md + * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md */ "blanks-around-lists"?: boolean; /** - * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md + * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md */ MD033?: | boolean @@ -605,9 +619,13 @@ export interface ConfigurationStrict { * Allowed elements */ allowed_elements?: string[]; + /** + * Allowed elements in tables + */ + table_allowed_elements?: string[]; }; /** - * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md + * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md */ "no-inline-html"?: | boolean @@ -616,17 +634,21 @@ export interface ConfigurationStrict { * Allowed elements */ allowed_elements?: string[]; + /** + * Allowed elements in tables + */ + table_allowed_elements?: string[]; }; /** - * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md + * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md */ MD034?: boolean; /** - * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md + * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md */ "no-bare-urls"?: boolean; /** - * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md + * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md */ MD035?: | boolean @@ -637,7 +659,7 @@ export interface ConfigurationStrict { style?: string; }; /** - * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md + * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md */ "hr-style"?: | boolean @@ -648,7 +670,7 @@ export interface ConfigurationStrict { style?: string; }; /** - * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md + * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md */ MD036?: | boolean @@ -659,7 +681,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md + * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md */ "no-emphasis-as-heading"?: | boolean @@ -670,31 +692,31 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md + * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md */ MD037?: boolean; /** - * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md + * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md */ "no-space-in-emphasis"?: boolean; /** - * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md + * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md */ MD038?: boolean; /** - * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md + * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md */ "no-space-in-code"?: boolean; /** - * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md + * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md */ MD039?: boolean; /** - * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md + * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md */ "no-space-in-links"?: boolean; /** - * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md + * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md */ MD040?: | boolean @@ -709,7 +731,7 @@ export interface ConfigurationStrict { language_only?: boolean; }; /** - * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md + * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md */ "fenced-code-language"?: | boolean @@ -724,7 +746,7 @@ export interface ConfigurationStrict { language_only?: boolean; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md */ MD041?: | boolean @@ -743,7 +765,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md */ "first-line-heading"?: | boolean @@ -762,7 +784,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md */ "first-line-h1"?: | boolean @@ -781,15 +803,15 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md + * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md */ MD042?: boolean; /** - * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md + * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md */ "no-empty-links"?: boolean; /** - * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md + * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md */ MD043?: | boolean @@ -804,7 +826,7 @@ export interface ConfigurationStrict { match_case?: boolean; }; /** - * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md + * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md */ "required-headings"?: | boolean @@ -819,7 +841,7 @@ export interface ConfigurationStrict { match_case?: boolean; }; /** - * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md + * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md */ MD044?: | boolean @@ -838,7 +860,7 @@ export interface ConfigurationStrict { html_elements?: boolean; }; /** - * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md + * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md */ "proper-names"?: | boolean @@ -857,15 +879,15 @@ export interface ConfigurationStrict { html_elements?: boolean; }; /** - * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md + * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md */ MD045?: boolean; /** - * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md + * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md */ "no-alt-text"?: boolean; /** - * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md + * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md */ MD046?: | boolean @@ -876,7 +898,7 @@ export interface ConfigurationStrict { style?: "consistent" | "fenced" | "indented"; }; /** - * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md + * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md */ "code-block-style"?: | boolean @@ -887,15 +909,15 @@ export interface ConfigurationStrict { style?: "consistent" | "fenced" | "indented"; }; /** - * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md + * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md */ MD047?: boolean; /** - * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md + * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md */ "single-trailing-newline"?: boolean; /** - * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md + * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md */ MD048?: | boolean @@ -906,7 +928,7 @@ export interface ConfigurationStrict { style?: "consistent" | "backtick" | "tilde"; }; /** - * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md + * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md */ "code-fence-style"?: | boolean @@ -917,7 +939,7 @@ export interface ConfigurationStrict { style?: "consistent" | "backtick" | "tilde"; }; /** - * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md + * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md */ MD049?: | boolean @@ -928,7 +950,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md + * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md */ "emphasis-style"?: | boolean @@ -939,7 +961,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md + * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md */ MD050?: | boolean @@ -950,7 +972,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md + * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md */ "strong-style"?: | boolean @@ -961,7 +983,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md + * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md */ MD051?: | boolean @@ -970,9 +992,13 @@ export interface ConfigurationStrict { * Ignore case of fragments */ ignore_case?: boolean; + /** + * Pattern for ignoring additional fragments + */ + ignored_pattern?: string; }; /** - * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md + * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md */ "link-fragments"?: | boolean @@ -981,31 +1007,43 @@ export interface ConfigurationStrict { * Ignore case of fragments */ ignore_case?: boolean; + /** + * Pattern for ignoring additional fragments + */ + ignored_pattern?: string; }; /** - * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md + * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md */ MD052?: | boolean | { /** - * Include shortcut syntax + * Ignored link labels */ - shortcut_syntax?: boolean; - }; - /** - * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md - */ - "reference-links-images"?: - | boolean - | { + ignored_labels?: string[]; /** * Include shortcut syntax */ shortcut_syntax?: boolean; }; /** - * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md + * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md + */ + "reference-links-images"?: + | boolean + | { + /** + * Ignored link labels + */ + ignored_labels?: string[]; + /** + * Include shortcut syntax + */ + shortcut_syntax?: boolean; + }; + /** + * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md */ MD053?: | boolean @@ -1016,7 +1054,7 @@ export interface ConfigurationStrict { ignored_definitions?: string[]; }; /** - * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md + * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md */ "link-image-reference-definitions"?: | boolean @@ -1027,7 +1065,7 @@ export interface ConfigurationStrict { ignored_definitions?: string[]; }; /** - * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md + * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md */ MD054?: | boolean @@ -1058,7 +1096,7 @@ export interface ConfigurationStrict { url_inline?: boolean; }; /** - * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md + * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md */ "link-image-style"?: | boolean @@ -1089,7 +1127,7 @@ export interface ConfigurationStrict { url_inline?: boolean; }; /** - * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md + * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md */ MD055?: | boolean @@ -1100,7 +1138,7 @@ export interface ConfigurationStrict { style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing"; }; /** - * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md + * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md */ "table-pipe-style"?: | boolean @@ -1111,23 +1149,23 @@ export interface ConfigurationStrict { style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing"; }; /** - * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md + * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md */ MD056?: boolean; /** - * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md + * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md */ "table-column-count"?: boolean; /** - * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md + * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md */ MD058?: boolean; /** - * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md + * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md */ "blanks-around-tables"?: boolean; /** - * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md + * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md */ MD059?: | boolean @@ -1138,7 +1176,7 @@ export interface ConfigurationStrict { prohibited_texts?: string[]; }; /** - * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md + * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md */ "descriptive-link-text"?: | boolean @@ -1148,6 +1186,28 @@ export interface ConfigurationStrict { */ prohibited_texts?: string[]; }; + /** + * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md + */ + MD060?: + | boolean + | { + /** + * Table column style + */ + style?: "any" | "aligned" | "compact" | "tight"; + }; + /** + * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md + */ + "table-column-style"?: + | boolean + | { + /** + * Table column style + */ + style?: "any" | "aligned" | "compact" | "tight"; + }; /** * headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043 */ @@ -1241,7 +1301,7 @@ export interface ConfigurationStrict { */ images?: boolean; /** - * table : MD055, MD056, MD058 + * table : MD055, MD056, MD058, MD060 */ table?: boolean; } diff --git a/lib/constants.mjs b/lib/constants.mjs index 48b4c5e6..71e855a4 100644 --- a/lib/constants.mjs +++ b/lib/constants.mjs @@ -4,10 +4,10 @@ export const deprecatedRuleNames = []; export const fixableRuleNames = [ "MD004", "MD005", "MD007", "MD009", "MD010", "MD011", "MD012", "MD014", "MD018", "MD019", "MD020", "MD021", - "MD022", "MD023", "MD026", "MD027", "MD030", "MD031", - "MD032", "MD034", "MD037", "MD038", "MD039", "MD044", - "MD047", "MD049", "MD050", "MD051", "MD053", "MD054", - "MD058" + "MD022", "MD023", "MD026", "MD027", "MD029", "MD030", + "MD031", "MD032", "MD034", "MD037", "MD038", "MD039", + "MD044", "MD047", "MD049", "MD050", "MD051", "MD053", + "MD054", "MD058" ]; export const homepage = "https://github.com/DavidAnson/markdownlint"; -export const version = "0.37.4"; +export const version = "0.38.0"; diff --git a/lib/exports.d.mts b/lib/exports.d.mts index 7d9639af..64f50b53 100644 --- a/lib/exports.d.mts +++ b/lib/exports.d.mts @@ -3,6 +3,7 @@ export type Configuration = import("./markdownlint.mjs").Configuration; export type ConfigurationParser = import("./markdownlint.mjs").ConfigurationParser; export type ConfigurationStrict = import("./markdownlint.mjs").ConfigurationStrict; export type FixInfo = import("./markdownlint.mjs").FixInfo; +export type FixInfoNormalized = import("./markdownlint.mjs").FixInfoNormalized; export type LintCallback = import("./markdownlint.mjs").LintCallback; export type LintContentCallback = import("./markdownlint.mjs").LintContentCallback; export type LintError = import("./markdownlint.mjs").LintError; @@ -23,8 +24,6 @@ export type RuleConfiguration = import("./markdownlint.mjs").RuleConfiguration; export type RuleFunction = import("./markdownlint.mjs").RuleFunction; export type RuleOnError = import("./markdownlint.mjs").RuleOnError; export type RuleOnErrorFixInfo = import("./markdownlint.mjs").RuleOnErrorFixInfo; -export type RuleOnErrorFixInfoNormalized = import("./markdownlint.mjs").RuleOnErrorFixInfoNormalized; export type RuleOnErrorInfo = import("./markdownlint.mjs").RuleOnErrorInfo; export type RuleParams = import("./markdownlint.mjs").RuleParams; -export type ToStringCallback = import("./markdownlint.mjs").ToStringCallback; export { applyFix, applyFixes, getVersion } from "./markdownlint.mjs"; diff --git a/lib/exports.mjs b/lib/exports.mjs index dc0d137d..b27030d4 100644 --- a/lib/exports.mjs +++ b/lib/exports.mjs @@ -7,6 +7,7 @@ export { resolveModule } from "./resolve-module.cjs"; /** @typedef {import("./markdownlint.mjs").ConfigurationParser} ConfigurationParser */ /** @typedef {import("./markdownlint.mjs").ConfigurationStrict} ConfigurationStrict */ /** @typedef {import("./markdownlint.mjs").FixInfo} FixInfo */ +/** @typedef {import("./markdownlint.mjs").FixInfoNormalized} FixInfoNormalized */ /** @typedef {import("./markdownlint.mjs").LintCallback} LintCallback */ /** @typedef {import("./markdownlint.mjs").LintContentCallback} LintContentCallback */ /** @typedef {import("./markdownlint.mjs").LintError} LintError */ @@ -27,7 +28,5 @@ export { resolveModule } from "./resolve-module.cjs"; /** @typedef {import("./markdownlint.mjs").RuleFunction} RuleFunction */ /** @typedef {import("./markdownlint.mjs").RuleOnError} RuleOnError */ /** @typedef {import("./markdownlint.mjs").RuleOnErrorFixInfo} RuleOnErrorFixInfo */ -/** @typedef {import("./markdownlint.mjs").RuleOnErrorFixInfoNormalized} RuleOnErrorFixInfoNormalized */ /** @typedef {import("./markdownlint.mjs").RuleOnErrorInfo} RuleOnErrorInfo */ /** @typedef {import("./markdownlint.mjs").RuleParams} RuleParams */ -/** @typedef {import("./markdownlint.mjs").ToStringCallback} ToStringCallback */ diff --git a/lib/markdownlint.d.mts b/lib/markdownlint.d.mts index fa56b00c..98550b53 100644 --- a/lib/markdownlint.d.mts +++ b/lib/markdownlint.d.mts @@ -63,25 +63,42 @@ export function readConfigSync(file: string, parsers?: ConfigurationParser[], fs * Applies the specified fix to a Markdown content line. * * @param {string} line Line of Markdown content. - * @param {RuleOnErrorFixInfo} fixInfo RuleOnErrorFixInfo instance. + * @param {FixInfo} fixInfo FixInfo instance. * @param {string} [lineEnding] Line ending to use. * @returns {string | null} Fixed content or null if deleted. */ -export function applyFix(line: string, fixInfo: RuleOnErrorFixInfo, lineEnding?: string): string | null; +export function applyFix(line: string, fixInfo: FixInfo, lineEnding?: string): string | null; /** * Applies as many of the specified fixes as possible to Markdown content. * * @param {string} input Lines of Markdown content. - * @param {RuleOnErrorInfo[]} errors RuleOnErrorInfo instances. + * @param {LintError[]} errors LintError instances. * @returns {string} Fixed content. */ -export function applyFixes(input: string, errors: RuleOnErrorInfo[]): string; +export function applyFixes(input: string, errors: LintError[]): string; /** * Gets the (semantic) version of the library. * * @returns {string} SemVer string. */ export function getVersion(): string; +/** + * Result object for getEnabledRulesPerLineNumber. + */ +export type EnabledRulesPerLineNumberResult = { + /** + * Effective configuration. + */ + effectiveConfig: Configuration; + /** + * Enabled rules per line number. + */ + enabledRulesPerLineNumber: any[]; + /** + * Enabled rule list. + */ + enabledRuleList: Rule[]; +}; /** * Function to implement rule logic. */ @@ -303,27 +320,6 @@ export type RuleOnErrorFixInfo = { */ insertText?: string; }; -/** - * RuleOnErrorInfo with all optional properties present. - */ -export type RuleOnErrorFixInfoNormalized = { - /** - * Line number (1-based). - */ - lineNumber: number; - /** - * Column of the fix (1-based). - */ - editColumn: number; - /** - * Count of characters to delete. - */ - deleteCount: number; - /** - * Text to insert (after deleting). - */ - insertText: string; -}; /** * Rule definition. */ @@ -414,10 +410,6 @@ export type Options = { * True to ignore HTML directives. */ noInlineConfig?: boolean; - /** - * Results object version. - */ - resultVersion?: number; /** * Strings to lint. */ @@ -430,11 +422,7 @@ export type Options = { */ export type Plugin = any[]; /** - * Function to pretty-print lint results. - */ -export type ToStringCallback = (ruleAliases?: boolean) => string; -/** - * Lint results (for resultVersion 3). + * Lint results. */ export type LintResults = { [x: string]: LintError[]; @@ -470,11 +458,11 @@ export type LintError = { /** * Column number (1-based) and length. */ - errorRange: number[]; + errorRange: number[] | null; /** * Fix information. */ - fixInfo?: FixInfo; + fixInfo: FixInfo | null; }; /** * Fix information. @@ -497,6 +485,27 @@ export type FixInfo = { */ insertText?: string; }; +/** + * FixInfo with all optional properties present. + */ +export type FixInfoNormalized = { + /** + * Line number (1-based). + */ + lineNumber: number; + /** + * Column of the fix (1-based). + */ + editColumn: number; + /** + * Count of characters to delete. + */ + deleteCount: number; + /** + * Text to insert (after deleting). + */ + insertText: string; +}; /** * Called with the result of linting a string or document. */ diff --git a/lib/markdownlint.mjs b/lib/markdownlint.mjs index 419663e0..76806ffb 100644 --- a/lib/markdownlint.mjs +++ b/lib/markdownlint.mjs @@ -108,9 +108,15 @@ function validateRuleList(ruleList, synchronous) { * @returns {LintResults} New LintResults instance. */ function newResults(ruleList) { - const lintResults = {}; - // eslint-disable-next-line jsdoc/require-jsdoc + /** + * Returns the string representation of a LintResults instance. + * + * @param {boolean} useAlias True if rule alias should be used instead of name. + * @returns {string} String representation of the instance. + */ function toString(useAlias) { + // eslint-disable-next-line consistent-this, no-invalid-this, unicorn/no-this-assignment + const lintResults = this; let ruleNameToRule = null; const results = []; const keys = Object.keys(lintResults); @@ -161,6 +167,7 @@ function newResults(ruleList) { } return results.join("\n"); } + const lintResults = {}; Object.defineProperty(lintResults, "toString", { "value": toString }); // @ts-ignore return lintResults; @@ -269,6 +276,15 @@ function getEffectiveConfig(ruleList, config, aliasToRuleNames) { return effectiveConfig; } +/** + * Result object for getEnabledRulesPerLineNumber. + * + * @typedef {Object} EnabledRulesPerLineNumberResult + * @property {Configuration} effectiveConfig Effective configuration. + * @property {any[]} enabledRulesPerLineNumber Enabled rules per line number. + * @property {Rule[]} enabledRuleList Enabled rule list. + */ + /** * Create a mapping of enabled rules per line. * @@ -280,7 +296,7 @@ function getEffectiveConfig(ruleList, config, aliasToRuleNames) { * @param {ConfigurationParser[] | undefined} configParsers Configuration parsers. * @param {Object.} aliasToRuleNames Map of alias to rule * names. - * @returns {Object} Effective configuration and enabled rules per line number. + * @returns {EnabledRulesPerLineNumberResult} Effective configuration and enabled rules per line number. */ function getEnabledRulesPerLineNumber( ruleList, @@ -461,12 +477,14 @@ function lintContent( const needMarkdownItTokens = enabledRuleList.some( (rule) => (rule.parser === "markdownit") || (rule.parser === undefined) ); + const needMicromarkTokens = enabledRuleList.some( + (rule) => (rule.parser === "micromark") + ); const customRulesPresent = (ruleList.length !== rules.length); // Parse content into parser tokens - const micromarkTokens = micromarkParse( - content, - { "freezeTokens": customRulesPresent } - ); + const micromarkTokens = needMicromarkTokens ? + micromarkParse(content, { "freezeTokens": customRulesPresent }) : + []; // Hide the content of HTML comments from rules const preClearedContent = content; content = helpers.clearHtmlCommentText(content); @@ -504,7 +522,8 @@ function lintContent( "config": null }); // Function to run for each rule - let results = []; + /** @type {LintError[]} */ + const results = []; /** * @param {Rule} rule Rule. * @returns {Promise | null} Promise. @@ -612,12 +631,11 @@ function lintContent( const information = errorInfo.information || rule.information; results.push({ lineNumber, - "ruleName": rule.names[0], "ruleNames": rule.names, "ruleDescription": rule.description, "ruleInformation": information ? information.href : null, - "errorDetail": errorInfo.detail || null, - "errorContext": errorInfo.context || null, + "errorDetail": errorInfo.detail?.replace(helpers.newLineRe, " ") || null, + "errorContext": errorInfo.context?.replace(helpers.newLineRe, " ") || null, "errorRange": errorInfo.range ? [ ...errorInfo.range ] : null, "fixInfo": fixInfo ? cleanFixInfo : null }); @@ -639,7 +657,7 @@ function lintContent( // Synchronous rule try { invokeRuleFunction(); - } catch (error) { + } catch(error) { if (handleRuleFailures) { catchCallsOnError(error); } else { @@ -651,46 +669,9 @@ function lintContent( const formatResults = () => { // Sort results by rule name by line number results.sort((a, b) => ( - a.ruleName.localeCompare(b.ruleName) || + a.ruleNames[0].localeCompare(b.ruleNames[0]) || a.lineNumber - b.lineNumber )); - if (resultVersion < 3) { - // Remove fixInfo and multiple errors for the same rule and line number - const noPrevious = { - "ruleName": null, - "lineNumber": -1 - }; - results = results.filter((error, index, array) => { - delete error.fixInfo; - const previous = array[index - 1] || noPrevious; - return ( - (error.ruleName !== previous.ruleName) || - (error.lineNumber !== previous.lineNumber) - ); - }); - } - if (resultVersion === 0) { - // Return a dictionary of rule->[line numbers] - const dictionary = {}; - for (const error of results) { - const ruleLines = dictionary[error.ruleName] || []; - ruleLines.push(error.lineNumber); - dictionary[error.ruleName] = ruleLines; - } - // @ts-ignore - results = dictionary; - } else if (resultVersion === 1) { - // Use ruleAlias instead of ruleNames - for (const error of results) { - error.ruleAlias = error.ruleNames[1] || error.ruleName; - delete error.ruleNames; - } - } else { - // resultVersion 2 or 3: Remove unwanted ruleName - for (const error of results) { - delete error.ruleName; - } - } return results; }; // Run all rules @@ -710,7 +691,7 @@ function lintContent( } else { callbackSuccess(); } - } catch (error) { + } catch(error) { callbackError(error); } finally { cacheInitialize(); @@ -843,9 +824,9 @@ function lintInput(options, synchronous, callback) { options.frontMatter; const handleRuleFailures = !!options.handleRuleFailures; const noInlineConfig = !!options.noInlineConfig; - const resultVersion = (options.resultVersion === undefined) ? - 3 : - options.resultVersion; + // eslint-disable-next-line dot-notation + // Bracket notation is intentionally used here to access 'resultVersion' in case it is a deprecated or reserved property, and to avoid potential issues with dot notation. + const resultVersion = (options["resultVersion"] === undefined) ? 3 : options["resultVersion"]; const markdownItFactory = options.markdownItFactory || (() => { throw new Error("The option 'markdownItFactory' was required (due to the option 'customRules' including a rule requiring the 'markdown-it' parser), but 'markdownItFactory' was not set."); }); @@ -912,7 +893,16 @@ function lintInput(options, synchronous, callback) { } else if (concurrency === 0) { // Finish done = true; - return callback(null, results); + // Deprecated: Convert results to specified resultVersion + let convertedResults = results; + if (resultVersion === 0) { + convertedResults = helpers.convertToResultVersion0(results); + } else if (resultVersion === 1) { + convertedResults = helpers.convertToResultVersion1(results); + } else if (resultVersion === 2) { + convertedResults = helpers.convertToResultVersion2(results); + } + return callback(null, convertedResults); } return null; } @@ -1206,9 +1196,9 @@ export function readConfigSync(file, parsers, fs) { /** * Normalizes the fields of a RuleOnErrorFixInfo instance. * - * @param {RuleOnErrorFixInfo} fixInfo RuleOnErrorFixInfo instance. + * @param {FixInfo} fixInfo RuleOnErrorFixInfo instance. * @param {number} [lineNumber] Line number. - * @returns {RuleOnErrorFixInfoNormalized} Normalized RuleOnErrorFixInfo instance. + * @returns {FixInfoNormalized} Normalized RuleOnErrorFixInfo instance. */ function normalizeFixInfo(fixInfo, lineNumber = 0) { return { @@ -1223,7 +1213,7 @@ function normalizeFixInfo(fixInfo, lineNumber = 0) { * Applies the specified fix to a Markdown content line. * * @param {string} line Line of Markdown content. - * @param {RuleOnErrorFixInfo} fixInfo RuleOnErrorFixInfo instance. + * @param {FixInfo} fixInfo FixInfo instance. * @param {string} [lineEnding] Line ending to use. * @returns {string | null} Fixed content or null if deleted. */ @@ -1239,7 +1229,7 @@ export function applyFix(line, fixInfo, lineEnding = "\n") { * Applies as many of the specified fixes as possible to Markdown content. * * @param {string} input Lines of Markdown content. - * @param {RuleOnErrorInfo[]} errors RuleOnErrorInfo instances. + * @param {LintError[]} errors LintError instances. * @returns {string} Fixed content. */ export function applyFixes(input, errors) { @@ -1335,8 +1325,6 @@ export function getVersion() { * @returns {void} */ -/* eslint-disable jsdoc/valid-types */ - /** * Rule parameters. * @@ -1349,8 +1337,6 @@ export function getVersion() { * @property {string} version Version of the markdownlint library. */ -/* eslint-enable jsdoc/valid-types */ - /** * Markdown parser data. * @@ -1440,16 +1426,6 @@ export function getVersion() { * @property {string} [insertText] Text to insert (after deleting). */ -/** - * RuleOnErrorInfo with all optional properties present. - * - * @typedef {Object} RuleOnErrorFixInfoNormalized - * @property {number} lineNumber Line number (1-based). - * @property {number} editColumn Column of the fix (1-based). - * @property {number} deleteCount Count of characters to delete. - * @property {string} insertText Text to insert (after deleting). - */ - /** * Rule definition. * @@ -1499,7 +1475,6 @@ export function getVersion() { * @property {boolean} [handleRuleFailures] True to catch exceptions. * @property {MarkdownItFactory} [markdownItFactory] Function to create a markdown-it parser. * @property {boolean} [noInlineConfig] True to ignore HTML directives. - * @property {number} [resultVersion] Results object version. * @property {Object.} [strings] Strings to lint. */ @@ -1510,18 +1485,9 @@ export function getVersion() { */ /** - * Function to pretty-print lint results. - * - * @callback ToStringCallback - * @param {boolean} [ruleAliases] True to use rule aliases. - * @returns {string} Pretty-printed results. - */ - -/** - * Lint results (for resultVersion 3). + * Lint results. * * @typedef {Object.} LintResults - * @property {ToStringCallback} toString String representation. */ /** @@ -1534,8 +1500,8 @@ export function getVersion() { * @property {string} ruleInformation Link to more information. * @property {string} errorDetail Detail about the error. * @property {string} errorContext Context for the error. - * @property {number[]} errorRange Column number (1-based) and length. - * @property {FixInfo} [fixInfo] Fix information. + * @property {number[]|null} errorRange Column number (1-based) and length. + * @property {FixInfo|null} fixInfo Fix information. */ /** @@ -1548,6 +1514,16 @@ export function getVersion() { * @property {string} [insertText] Text to insert (after deleting). */ +/** + * FixInfo with all optional properties present. + * + * @typedef {Object} FixInfoNormalized + * @property {number} lineNumber Line number (1-based). + * @property {number} editColumn Column of the fix (1-based). + * @property {number} deleteCount Count of characters to delete. + * @property {string} insertText Text to insert (after deleting). + */ + /** * Called with the result of linting a string or document. * diff --git a/lib/md001.mjs b/lib/md001.mjs index 0413d355..d3f8cefd 100644 --- a/lib/md001.mjs +++ b/lib/md001.mjs @@ -1,6 +1,6 @@ // @ts-check -import { addErrorDetailIf } from "../helpers/helpers.cjs"; +import { addErrorDetailIf, frontMatterHasTitle } from "../helpers/helpers.cjs"; import { getHeadingLevel } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; @@ -11,7 +11,11 @@ export default { "tags": [ "headings" ], "parser": "micromark", "function": function MD001(params, onError) { - let prevLevel = Number.MAX_SAFE_INTEGER; + const hasTitle = frontMatterHasTitle( + params.frontMatterLines, + params.config.front_matter_title + ); + let prevLevel = hasTitle ? 1 : Number.MAX_SAFE_INTEGER; for (const heading of filterByTypesCached([ "atxHeading", "setextHeading" ])) { const level = getHeadingLevel(heading); if (level > prevLevel) { diff --git a/lib/md007.mjs b/lib/md007.mjs index 6b38447c..6c2bd31c 100644 --- a/lib/md007.mjs +++ b/lib/md007.mjs @@ -53,8 +53,9 @@ export default { const nesting = unorderedListNesting.get(parent); if (nesting !== undefined) { // listItemPrefix for listUnordered + const baseIndent = (getParentOfType(token, [ "gfmFootnoteDefinition" ])) ? 4 : 0; const expectedIndent = - (startIndented ? startIndent : 0) + (nesting * indent); + baseIndent + (startIndented ? startIndent : 0) + (nesting * indent); const blockQuoteAdjustment = (lastBlockQuotePrefix?.endLine === startLine) ? (lastBlockQuotePrefix.endColumn - 1) : diff --git a/lib/md025.mjs b/lib/md025.mjs index aa1b88e4..7b239c2f 100644 --- a/lib/md025.mjs +++ b/lib/md025.mjs @@ -1,7 +1,7 @@ // @ts-check import { addErrorContext, frontMatterHasTitle } from "../helpers/helpers.cjs"; -import { getHeadingLevel, getHeadingText, isHtmlFlowComment, nonContentTokens } from "../helpers/micromark-helpers.cjs"; +import { getHeadingLevel, getHeadingText, isDocfxTab, isHtmlFlowComment, nonContentTokens } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; /** @type {import("markdownlint").Rule} */ @@ -14,7 +14,7 @@ export default { const level = Number(params.config.level || 1); const { tokens } = params.parsers.micromark; const matchingHeadings = filterByTypesCached([ "atxHeading", "setextHeading" ]) - .filter((heading) => level === getHeadingLevel(heading)); + .filter((heading) => (level === getHeadingLevel(heading)) && !isDocfxTab(heading)); if (matchingHeadings.length > 0) { const foundFrontMatterTitle = frontMatterHasTitle( diff --git a/lib/md029.mjs b/lib/md029.mjs index f87e5513..b623192a 100644 --- a/lib/md029.mjs +++ b/lib/md029.mjs @@ -11,13 +11,17 @@ const listStyleExamples = { }; /** - * Gets the value of an ordered list item prefix token. + * Gets the column and text of an ordered list item prefix token. * * @param {import("markdownlint").MicromarkToken} listItemPrefix List item prefix token. - * @returns {number} List item value. + * @returns {{column: number, value: number}} List item value column and text. */ function getOrderedListItemValue(listItemPrefix) { - return Number(getDescendantsByType(listItemPrefix, [ "listItemValue" ])[0].text); + const listItemValue = getDescendantsByType(listItemPrefix, [ "listItemValue" ])[0]; + return { + "column": listItemValue.startColumn, + "value": Number(listItemValue.text) + }; } /** @type {import("markdownlint").Rule} */ @@ -34,11 +38,11 @@ export default { let incrementing = false; // Check for incrementing number pattern 1/2/3 or 0/1/2 if (listItemPrefixes.length >= 2) { - const firstValue = getOrderedListItemValue(listItemPrefixes[0]); - const secondValue = getOrderedListItemValue(listItemPrefixes[1]); - if ((secondValue !== 1) || (firstValue === 0)) { + const first = getOrderedListItemValue(listItemPrefixes[0]); + const second = getOrderedListItemValue(listItemPrefixes[1]); + if ((second.value !== 1) || (first.value === 0)) { incrementing = true; - if (firstValue === 0) { + if (first.value === 0) { expected = 0; } } @@ -54,7 +58,13 @@ export default { } // Validate each list item marker for (const listItemPrefix of listItemPrefixes) { - const actual = getOrderedListItemValue(listItemPrefix); + const orderedListItemValue = getOrderedListItemValue(listItemPrefix); + const actual = orderedListItemValue.value; + const fixInfo = { + "editColumn": orderedListItemValue.column, + "deleteCount": orderedListItemValue.value.toString().length, + "insertText": expected.toString() + }; addErrorDetailIf( onError, listItemPrefix.startLine, @@ -62,7 +72,8 @@ export default { actual, "Style: " + listStyleExamples[listStyle], undefined, - [ listItemPrefix.startColumn, listItemPrefix.endColumn - listItemPrefix.startColumn ] + [ listItemPrefix.startColumn, listItemPrefix.endColumn - listItemPrefix.startColumn ], + fixInfo ); if (listStyle === "ordered") { expected++; diff --git a/lib/md031.mjs b/lib/md031.mjs index 3494561f..8d7ade69 100644 --- a/lib/md031.mjs +++ b/lib/md031.mjs @@ -6,7 +6,6 @@ import { filterByTypesCached } from "./cache.mjs"; const codeFencePrefixRe = /^(.*?)[`~]/; -// eslint-disable-next-line jsdoc/valid-types /** @typedef {readonly string[]} ReadonlyStringArray */ /** diff --git a/lib/md033.mjs b/lib/md033.mjs index d353c0d6..0a3d8664 100644 --- a/lib/md033.mjs +++ b/lib/md033.mjs @@ -1,7 +1,7 @@ // @ts-check import { addError, nextLinesRe } from "../helpers/helpers.cjs"; -import { getHtmlTagInfo } from "../helpers/micromark-helpers.cjs"; +import { getHtmlTagInfo, getParentOfType } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; /** @type {import("markdownlint").Rule} */ @@ -14,12 +14,19 @@ export default { let allowedElements = params.config.allowed_elements; allowedElements = Array.isArray(allowedElements) ? allowedElements : []; allowedElements = allowedElements.map((element) => element.toLowerCase()); + let tableAllowedElements = params.config.table_allowed_elements ?? allowedElements; + tableAllowedElements = Array.isArray(tableAllowedElements) ? tableAllowedElements : []; + tableAllowedElements = tableAllowedElements.map((element) => element.toLowerCase()); for (const token of filterByTypesCached([ "htmlText" ], true)) { const htmlTagInfo = getHtmlTagInfo(token); + const elementName = htmlTagInfo?.name.toLowerCase(); + const inTable = !!getParentOfType(token, [ "table" ]); if ( htmlTagInfo && - !htmlTagInfo.close && - !allowedElements.includes(htmlTagInfo.name.toLowerCase()) + !htmlTagInfo.close && !( + (!inTable && allowedElements.includes(elementName)) || + (inTable && tableAllowedElements.includes(elementName)) + ) ) { const range = [ token.startColumn, diff --git a/lib/md036.mjs b/lib/md036.mjs index c30ffc96..26b8928e 100644 --- a/lib/md036.mjs +++ b/lib/md036.mjs @@ -11,6 +11,11 @@ const emphasisTypes = [ [ "strong", "strongText" ] ]; +const isParagraphChildMeaningful = (token) => !( + (token.type === "htmlText") || + ((token.type === "data") && (token.text.trim().length === 0)) +); + /** @type {import("markdownlint").Rule} */ export default { "names": [ "MD036", "no-emphasis-as-heading" ], @@ -22,9 +27,14 @@ export default { punctuation = String((punctuation === undefined) ? allPunctuation : punctuation); const punctuationRe = new RegExp("[" + punctuation + "]$"); const paragraphTokens = - filterByTypesCached([ "paragraph" ]) + filterByTypesCached([ "paragraph" ], true) .filter((token) => - (token.parent?.type === "content") && !token.parent?.parent && (token.children.length === 1) + (token.parent?.type === "content") && + ( + !token.parent?.parent || + ((token.parent?.parent?.type === "htmlFlow") && !token.parent?.parent?.parent) + ) && + (token.children.filter(isParagraphChildMeaningful).length === 1) ); for (const emphasisType of emphasisTypes) { const textTokens = getDescendantsByType(paragraphTokens, emphasisType); diff --git a/lib/md037.mjs b/lib/md037.mjs index e2be2847..8dd72d8b 100644 --- a/lib/md037.mjs +++ b/lib/md037.mjs @@ -50,15 +50,17 @@ export default { if (startMatch) { const [ startSpaceCharacter ] = startMatch; const startContext = `${marker}${startSpaceCharacter}`; + const column = startToken.endColumn; + const count = startSpaceCharacter.length - 1; addError( onError, startToken.startLine, undefined, startContext, - [ startToken.startColumn, startContext.length ], + [ column, count ], { - "editColumn": startToken.endColumn, - "deleteCount": startSpaceCharacter.length - 1 + "editColumn": column, + "deleteCount": count } ); } @@ -71,16 +73,17 @@ export default { if (endMatch) { const [ endSpaceCharacter ] = endMatch; const endContext = `${endSpaceCharacter}${marker}`; + const column = endToken.startColumn - (endSpaceCharacter.length - 1); + const count = endSpaceCharacter.length - 1; addError( onError, endToken.startLine, undefined, endContext, - [ endToken.endColumn - endContext.length, endContext.length ], + [ column, count ], { - "editColumn": - endToken.startColumn - (endSpaceCharacter.length - 1), - "deleteCount": endSpaceCharacter.length - 1 + "editColumn": column, + "deleteCount": count } ); } diff --git a/lib/md045.mjs b/lib/md045.mjs index a6219aa2..740ddd51 100644 --- a/lib/md045.mjs +++ b/lib/md045.mjs @@ -5,6 +5,7 @@ import { getHtmlTagInfo, getDescendantsByType } from "../helpers/micromark-helpe import { filterByTypesCached } from "./cache.mjs"; const altRe = getHtmlAttributeRe("alt"); +const ariaHiddenRe = getHtmlAttributeRe("aria-hidden"); /** @type {import("markdownlint").Rule} */ export default { @@ -40,7 +41,8 @@ export default { htmlTagInfo && !htmlTagInfo.close && (htmlTagInfo.name.toLowerCase() === "img") && - !altRe.test(text) + !altRe.test(text) && + (ariaHiddenRe.exec(text)?.[1].toLowerCase() !== "true") ) { const range = [ startColumn, diff --git a/lib/md051.mjs b/lib/md051.mjs index 4f6dada2..bcae33b8 100644 --- a/lib/md051.mjs +++ b/lib/md051.mjs @@ -1,7 +1,7 @@ // @ts-check import { addError, getHtmlAttributeRe } from "../helpers/helpers.cjs"; -import { filterByPredicate, filterByTypes, getHtmlTagInfo } from "../helpers/micromark-helpers.cjs"; +import { filterByPredicate, filterByTypes, getHtmlTagInfo, isDocfxTab } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; // Regular expression for identifying HTML anchor names @@ -66,6 +66,8 @@ export default { "parser": "micromark", "function": function MD051(params, onError) { const ignoreCase = params.config.ignore_case || false; + const ignoredPattern = params.config.ignored_pattern || ""; + const ignoredPatternRe = new RegExp(ignoredPattern || "^$"); /** @type {Map} */ const fragments = new Map([ [ "#top", 0 ] ]); @@ -108,18 +110,23 @@ export default { [ "definition", "definitionDestinationString" ] ]; for (const [ parentType, definitionType ] of parentChilds) { - const links = filterByTypesCached([ parentType ]); + const links = filterByTypesCached([ parentType ]) + .filter( + (link) => !((link.parent?.type === "atxHeadingText") && isDocfxTab(link.parent.parent)) + ); for (const link of links) { const definitions = filterByTypes(link.children, [ definitionType ]); for (const definition of definitions) { const { endColumn, startColumn } = definition; const text = unescapeStringTokenText(definition); - const encodedText = `#${encodeURIComponent(text.slice(1))}`; + const textSliceOne = text.slice(1); + const encodedText = `#${encodeURIComponent(textSliceOne)}`; if ( (text.length > 1) && text.startsWith("#") && !fragments.has(encodedText) && - !lineFragmentRe.test(encodedText) + !lineFragmentRe.test(encodedText) && + !ignoredPatternRe.test(textSliceOne) ) { let context = undefined; let range = undefined; diff --git a/lib/md052.mjs b/lib/md052.mjs index 975c45c6..a87215e3 100644 --- a/lib/md052.mjs +++ b/lib/md052.mjs @@ -13,6 +13,7 @@ export default { "function": function MD052(params, onError) { const { config, lines } = params; const shortcutSyntax = config.shortcut_syntax || false; + const ignoredLabels = new Set(config.ignored_labels || [ "x" ]); const { definitions, references, shortcuts } = getReferenceLinkImageData(); const entries = shortcutSyntax ? [ ...references.entries(), ...shortcuts.entries() ] : @@ -20,7 +21,7 @@ export default { // Look for links/images that use an undefined link reference for (const reference of entries) { const [ label, datas ] = reference; - if (!definitions.has(label)) { + if (!definitions.has(label) && !ignoredLabels.has(label)) { for (const data of datas) { const [ lineIndex, index, length ] = data; // Context will be incomplete if reporting for a multi-line link diff --git a/lib/md060.mjs b/lib/md060.mjs new file mode 100644 index 00000000..43fee807 --- /dev/null +++ b/lib/md060.mjs @@ -0,0 +1,118 @@ +// @ts-check + +import { filterByTypes } from "../helpers/micromark-helpers.cjs"; +import { filterByTypesCached } from "./cache.mjs"; + +/** @typedef {import("micromark-extension-gfm-table")} */ +/** @typedef {import("markdownlint").RuleOnErrorInfo} RuleOnErrorInfo */ + +/** + * Adds a RuleOnErrorInfo object to a list of RuleOnErrorInfo objects. + * + * @param {RuleOnErrorInfo[]} errors List of errors. + * @param {number} lineNumber Line number. + * @param {number} column Column number. + * @param {string} detail Detail message. + */ +function addError(errors, lineNumber, column, detail) { + errors.push({ + lineNumber, + detail, + "range": [ column, 1 ] + }); +} + +/** @type {import("markdownlint").Rule} */ +export default { + "names": [ "MD060", "table-column-style" ], + "description": "Table column style", + "tags": [ "table" ], + "parser": "micromark", + "function": function MD060(params, onError) { + const style = String(params.config.style || "any"); + const styleAlignedAllowed = (style === "any") || (style === "aligned"); + const styleCompactAllowed = (style === "any") || (style === "compact"); + const styleTightAllowed = (style === "any") || (style === "tight"); + + // Scan all tables/rows + const tables = filterByTypesCached([ "table" ]); + for (const table of tables) { + const rows = filterByTypes(table.children, [ "tableDelimiterRow", "tableRow" ]); + const headingRow = rows[0]; + + // Determine errors for style "aligned" + const errorsIfAligned = []; + if (styleAlignedAllowed) { + const headingDividerColumns = filterByTypes(headingRow.children, [ "tableCellDivider" ]).map((divider) => divider.startColumn); + for (const row of rows.slice(1)) { + const remainingHeadingDividerColumns = new Set(headingDividerColumns); + const rowDividerColumns = filterByTypes(row.children, [ "tableCellDivider" ]).map((divider) => divider.startColumn); + for (const dividerColumn of rowDividerColumns) { + if ((remainingHeadingDividerColumns.size > 0) && !remainingHeadingDividerColumns.delete(dividerColumn)) { + addError(errorsIfAligned, row.startLine, dividerColumn, "Table pipe does not align with heading for style \"aligned\""); + } + } + } + } + + // Determine errors for styles "compact" and "tight" + const errorsIfCompact = []; + const errorsIfTight = []; + if ( + (styleCompactAllowed || styleTightAllowed) && + !(styleAlignedAllowed && (errorsIfAligned.length === 0)) + ) { + for (const row of rows) { + const tokensOfInterest = filterByTypes(row.children, [ "tableCellDivider", "tableContent", "whitespace" ]); + for (let i = 0; i < tokensOfInterest.length; i++) { + const { startColumn, startLine, type } = tokensOfInterest[i]; + if (type === "tableCellDivider") { + const previous = tokensOfInterest[i - 1]; + if (previous) { + if (previous.type === "whitespace") { + if (previous.text.length !== 1) { + addError(errorsIfCompact, startLine, startColumn, "Table pipe has extra space to the left for style \"compact\""); + } + addError(errorsIfTight, startLine, startColumn, "Table pipe has space to the left for style \"tight\""); + } else { + addError(errorsIfCompact, startLine, startColumn, "Table pipe is missing space to the left for style \"compact\""); + } + } + const next = tokensOfInterest[i + 1]; + if (next) { + if (next.type === "whitespace") { + if (next.endColumn !== row.endColumn) { + if (next.text.length !== 1) { + addError(errorsIfCompact, startLine, startColumn, "Table pipe has extra space to the right for style \"compact\""); + } + addError(errorsIfTight, startLine, startColumn, "Table pipe has space to the right for style \"tight\""); + } + } else { + addError(errorsIfCompact, startLine, startColumn, "Table pipe is missing space to the right for style \"compact\""); + } + } + } + } + } + } + + // Report errors for whatever (allowed) style has the fewest + let errorInfos = errorsIfAligned; + if ( + styleCompactAllowed && + ((errorsIfCompact.length < errorInfos.length) || !styleAlignedAllowed) + ) { + errorInfos = errorsIfCompact; + } + if ( + styleTightAllowed && + ((errorsIfTight.length < errorInfos.length) || (!styleAlignedAllowed && !styleCompactAllowed)) + ) { + errorInfos = errorsIfTight; + } + for (const errorInfo of errorInfos) { + onError(errorInfo); + } + } + } +}; diff --git a/lib/parse-configuration.mjs b/lib/parse-configuration.mjs index 520a413b..a9e78c81 100644 --- a/lib/parse-configuration.mjs +++ b/lib/parse-configuration.mjs @@ -28,7 +28,7 @@ export default function parseConfiguration(name, content, parsers) { config = (result && (typeof result === "object") && !Array.isArray(result)) ? result : {}; // Succeeded return false; - } catch (error) { + } catch(error) { errors.push(`Parser ${index++}: ${error.message}`); } // Failed, try the next parser diff --git a/lib/rules.mjs b/lib/rules.mjs index e7694005..18148a41 100644 --- a/lib/rules.mjs +++ b/lib/rules.mjs @@ -54,6 +54,7 @@ import md055 from "./md055.mjs"; import md056 from "./md056.mjs"; import md058 from "./md058.mjs"; import md059 from "./md059.mjs"; +import md060 from "./md060.mjs"; const rules = [ md001, @@ -110,7 +111,8 @@ const rules = [ md056, // md057: See https://github.com/markdownlint/markdownlint md058, - md059 + md059, + md060 ]; for (const rule of rules) { const name = rule.names[0].toLowerCase(); diff --git a/package.json b/package.json index 52edb5df..3bac41d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint", - "version": "0.37.4", + "version": "0.38.0", "description": "A Node.js style checker and lint tool for Markdown/CommonMark files.", "type": "module", "exports": { @@ -39,11 +39,10 @@ "build-declaration": "tsc --allowJs --checkJs --declaration --emitDeclarationOnly --module nodenext --outDir dts --rootDir . --target es2015 lib/exports.mjs lib/exports-async.mjs lib/exports-promise.mjs lib/exports-sync.mjs lib/markdownlint.mjs lib/resolve-module.cjs && node scripts/index.mjs copy dts/lib/exports.d.mts lib/exports.d.mts && node scripts/index.mjs copy dts/lib/exports-async.d.mts lib/exports-async.d.mts && node scripts/index.mjs copy dts/lib/exports-promise.d.mts lib/exports-promise.d.mts && node scripts/index.mjs copy dts/lib/exports-sync.d.mts lib/exports-sync.d.mts && node scripts/index.mjs copy dts/lib/markdownlint.d.mts lib/markdownlint.d.mts && node scripts/index.mjs copy dts/lib/resolve-module.d.cts lib/resolve-module.d.cts && node scripts/index.mjs remove dts", "build-demo": "node scripts/index.mjs copy node_modules/markdown-it/dist/markdown-it.min.js demo/markdown-it.min.js && cd demo && webpack --no-stats", "build-docs": "node doc-build/build-rules.mjs", - "build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2", "ci": "npm-run-all --continue-on-error --parallel build-demo lint serial-config-docs serial-declaration test-cover && git diff --exit-code", "clone-test-repos-apache-airflow": "cd test-repos && git clone https://github.com/apache/airflow apache-airflow --depth 1 --no-tags --quiet", "clone-test-repos-dotnet-docs": "cd test-repos && git clone https://github.com/dotnet/docs dotnet-docs --depth 1 --no-tags --quiet", - "clone-test-repos-electron-electron": "cd test-repos && git clone https://github.com/electron/electron electron-electron --depth 1 --no-tags --quiet && cd electron-electron && npm install --ignore-scripts @electron/lint-roller typescript@4", + "clone-test-repos-electron-electron": "cd test-repos && git clone https://github.com/electron/electron electron-electron --depth 1 --no-tags --quiet && cd electron-electron && node ../../scripts/index.mjs delete package.json && npm install --no-save --ignore-scripts @electron/lint-roller", "clone-test-repos-eslint-eslint": "cd test-repos && git clone https://github.com/eslint/eslint eslint-eslint --depth 1 --no-tags --quiet", "clone-test-repos-mdn-content": "cd test-repos && git clone https://github.com/mdn/content mdn-content --depth 1 --no-tags --quiet", "clone-test-repos-mkdocs-mkdocs": "cd test-repos && git clone https://github.com/mkdocs/mkdocs mkdocs-mkdocs --depth 1 --no-tags --quiet", @@ -54,7 +53,7 @@ "clone-test-repos-webpack-webpack-js-org": "cd test-repos && git clone https://github.com/webpack/webpack.js.org webpack-webpack-js-org --depth 1 --no-tags --quiet", "clone-test-repos": "mkdir test-repos && cd test-repos && npm run clone-test-repos-apache-airflow && npm run clone-test-repos-dotnet-docs && npm run clone-test-repos-electron-electron && npm run clone-test-repos-eslint-eslint && npm run clone-test-repos-mdn-content && npm run clone-test-repos-mkdocs-mkdocs && npm run clone-test-repos-mochajs-mocha && npm run clone-test-repos-pi-hole-docs && npm run clone-test-repos-v8-v8-dev && npm run clone-test-repos-webhintio-hint && npm run clone-test-repos-webpack-webpack-js-org", "declaration": "npm run build-declaration && npm run test-declaration", - "example": "cd example && node standalone.mjs && grunt markdownlint --force && gulp markdownlint", + "example": "cd example && node standalone.mjs", "lint": "eslint --max-warnings 0", "lint-test-repos": "ava --timeout=10m test/markdownlint-test-repos-*.mjs", "serial-config-docs": "npm run build-config && npm run build-docs", @@ -67,10 +66,11 @@ "test-extra": "ava --timeout=10m test/markdownlint-test-extra-parse.mjs test/markdownlint-test-extra-type.mjs", "update-snapshots": "ava --update-snapshots test/markdownlint-test-custom-rules.mjs test/markdownlint-test-exports.mjs test/markdownlint-test-micromark.mjs test/markdownlint-test-scenarios-*.mjs", "update-snapshots-test-repos": "ava --timeout=10m --update-snapshots test/markdownlint-test-repos-*.mjs", + "update-test-repos": "node scripts/index.mjs remove ./test-repos && npm run clone-test-repos && npm run update-snapshots-test-repos", "upgrade": "npx --yes npm-check-updates --upgrade" }, "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "micromark": "4.0.2", @@ -83,17 +83,17 @@ "micromark-util-types": "2.0.2" }, "devDependencies": { - "@eslint/js": "9.22.0", - "@stylistic/eslint-plugin": "4.2.0", + "@eslint/js": "9.35.0", + "@stylistic/eslint-plugin": "5.3.1", "ajv": "8.17.1", - "ava": "6.2.0", + "ava": "6.4.1", "c8": "10.1.3", "character-entities": "2.0.2", - "eslint": "9.22.0", - "eslint-plugin-jsdoc": "50.6.8", - "eslint-plugin-n": "17.16.2", - "eslint-plugin-regexp": "2.7.0", - "eslint-plugin-unicorn": "57.0.0", + "eslint": "9.35.0", + "eslint-plugin-jsdoc": "57.2.0", + "eslint-plugin-n": "17.23.0", + "eslint-plugin-regexp": "2.10.0", + "eslint-plugin-unicorn": "61.0.2", "gemoji": "8.1.0", "globby": "14.1.0", "js-yaml": "4.1.0", @@ -104,12 +104,12 @@ "markdown-it-sub": "2.0.0", "markdown-it-sup": "2.0.0", "markdownlint-rule-extended-ascii": "0.2.1", - "nano-spawn": "0.2.0", + "nano-spawn": "1.0.3", "npm-run-all": "4.1.5", "terser-webpack-plugin": "5.3.14", "toml": "3.0.0", - "typescript": "5.8.2", - "webpack": "5.98.0", + "typescript": "5.9.2", + "webpack": "5.101.3", "webpack-cli": "6.0.1" }, "keywords": [ diff --git a/schema/.markdownlint.jsonc b/schema/.markdownlint.jsonc index 3dfcae83..f89ccd80 100644 --- a/schema/.markdownlint.jsonc +++ b/schema/.markdownlint.jsonc @@ -7,25 +7,28 @@ // Path to configuration file to extend "extends": null, - // MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md - "MD001": true, + // MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md + "MD001": { + // RegExp for matching title in front matter + "front_matter_title": "^\\s*title\\s*[:=]" + }, - // MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md + // MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md "MD003": { // Heading style "style": "consistent" }, - // MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md + // MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md "MD004": { // List style "style": "consistent" }, - // MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md + // MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md "MD005": true, - // MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md + // MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md "MD007": { // Spaces for indent "indent": 2, @@ -35,7 +38,7 @@ "start_indent": 2 }, - // MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md + // MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md "MD009": { // Spaces for line break "br_spaces": 2, @@ -45,7 +48,7 @@ "strict": false }, - // MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md + // MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md "MD010": { // Include code blocks "code_blocks": true, @@ -55,16 +58,16 @@ "spaces_per_tab": 1 }, - // MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md + // MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md "MD011": true, - // MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md + // MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md "MD012": { // Consecutive blank lines "maximum": 1 }, - // MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md + // MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md "MD013": { // Number of characters "line_length": 80, @@ -84,22 +87,22 @@ "stern": false }, - // MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md + // MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md "MD014": true, - // MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md + // MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md "MD018": true, - // MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md + // MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md "MD019": true, - // MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md + // MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md "MD020": true, - // MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md + // MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md "MD021": true, - // MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md + // MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md "MD022": { // Blank lines above heading "lines_above": 1, @@ -107,16 +110,16 @@ "lines_below": 1 }, - // MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md + // MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md "MD023": true, - // MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md + // MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md "MD024": { // Only check sibling headings "siblings_only": false }, - // MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md + // MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md "MD025": { // RegExp for matching title in front matter "front_matter_title": "^\\s*title\\s*[:=]", @@ -124,28 +127,28 @@ "level": 1 }, - // MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md + // MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md "MD026": { // Punctuation characters "punctuation": ".,;:!。,;:!" }, - // MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md + // MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md "MD027": { // Include list items "list_items": true }, - // MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md + // MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md "MD028": true, - // MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md + // MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md "MD029": { // List style "style": "one_or_ordered" }, - // MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md + // MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md "MD030": { // Spaces for single-line unordered list items "ul_single": 1, @@ -157,46 +160,48 @@ "ol_multi": 1 }, - // MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md + // MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md "MD031": { // Include list items "list_items": true }, - // MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md + // MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md "MD032": true, - // MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md + // MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md "MD033": { // Allowed elements - "allowed_elements": [] + "allowed_elements": [], + // Allowed elements in tables + "table_allowed_elements": [] }, - // MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md + // MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md "MD034": true, - // MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md + // MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md "MD035": { // Horizontal rule style "style": "consistent" }, - // MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md + // MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md "MD036": { // Punctuation characters "punctuation": ".,;:!?。,;:!?" }, - // MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md + // MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md "MD037": true, - // MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md + // MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md "MD038": true, - // MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md + // MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md "MD039": true, - // MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md + // MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md "MD040": { // List of languages "allowed_languages": [], @@ -204,7 +209,7 @@ "language_only": false }, - // MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md + // MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md "MD041": { // Allow content before first heading "allow_preamble": false, @@ -214,10 +219,10 @@ "level": 1 }, - // MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md + // MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md "MD042": true, - // MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md + // MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md "MD043": { // List of headings "headings": [], @@ -225,7 +230,7 @@ "match_case": false }, - // MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md + // MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md "MD044": { // List of proper names "names": [], @@ -235,49 +240,55 @@ "html_elements": true }, - // MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md + // MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md "MD045": true, - // MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md + // MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md "MD046": { // Block style "style": "consistent" }, - // MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md + // MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md "MD047": true, - // MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md + // MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md "MD048": { // Code fence style "style": "consistent" }, - // MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md + // MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md "MD049": { // Emphasis style "style": "consistent" }, - // MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md + // MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md "MD050": { // Strong style "style": "consistent" }, - // MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md + // MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md "MD051": { // Ignore case of fragments - "ignore_case": false + "ignore_case": false, + // Pattern for ignoring additional fragments + "ignored_pattern": "" }, - // MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md + // MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md "MD052": { + // Ignored link labels + "ignored_labels": [ + "x" + ], // Include shortcut syntax "shortcut_syntax": false }, - // MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md + // MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md "MD053": { // Ignored definitions "ignored_definitions": [ @@ -285,7 +296,7 @@ ] }, - // MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md + // MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md "MD054": { // Allow autolinks "autolink": true, @@ -301,19 +312,19 @@ "url_inline": true }, - // MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md + // MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md "MD055": { // Table pipe style "style": "consistent" }, - // MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md + // MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md "MD056": true, - // MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md + // MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md "MD058": true, - // MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md + // MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md "MD059": { // Prohibited link texts "prohibited_texts": [ @@ -322,5 +333,11 @@ "link", "more" ] + }, + + // MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md + "MD060": { + // Table column style + "style": "any" } } \ No newline at end of file diff --git a/schema/.markdownlint.yaml b/schema/.markdownlint.yaml index 56ae0b52..d9d0b188 100644 --- a/schema/.markdownlint.yaml +++ b/schema/.markdownlint.yaml @@ -6,23 +6,25 @@ default: true # Path to configuration file to extend extends: null -# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md -MD001: true +# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md +MD001: + # RegExp for matching title in front matter + front_matter_title: "^\\s*title\\s*[:=]" -# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md +# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md MD003: # Heading style style: "consistent" -# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md +# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md MD004: # List style style: "consistent" -# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md +# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md MD005: true -# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md +# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md MD007: # Spaces for indent indent: 2 @@ -31,7 +33,7 @@ MD007: # Spaces for first level indent (when start_indented is set) start_indent: 2 -# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md +# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md MD009: # Spaces for line break br_spaces: 2 @@ -40,7 +42,7 @@ MD009: # Include unnecessary breaks strict: false -# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md +# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md MD010: # Include code blocks code_blocks: true @@ -49,15 +51,15 @@ MD010: # Number of spaces for each hard tab spaces_per_tab: 1 -# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md +# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md MD011: true -# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md +# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md MD012: # Consecutive blank lines maximum: 1 -# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md +# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md MD013: # Number of characters line_length: 80 @@ -76,62 +78,62 @@ MD013: # Stern length checking stern: false -# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md +# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md MD014: true -# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md +# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md MD018: true -# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md +# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md MD019: true -# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md +# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md MD020: true -# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md +# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md MD021: true -# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md +# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md MD022: # Blank lines above heading lines_above: 1 # Blank lines below heading lines_below: 1 -# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md +# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md MD023: true -# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md +# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md MD024: # Only check sibling headings siblings_only: false -# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md +# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md MD025: # RegExp for matching title in front matter front_matter_title: "^\\s*title\\s*[:=]" # Heading level level: 1 -# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md +# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md MD026: # Punctuation characters punctuation: ".,;:!。,;:!" -# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md +# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md MD027: # Include list items list_items: true -# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md +# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md MD028: true -# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md +# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md MD029: # List style style: "one_or_ordered" -# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md +# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md MD030: # Spaces for single-line unordered list items ul_single: 1 @@ -142,49 +144,51 @@ MD030: # Spaces for multi-line ordered list items ol_multi: 1 -# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md +# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md MD031: # Include list items list_items: true -# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md +# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md MD032: true -# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md +# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md MD033: # Allowed elements allowed_elements: [] + # Allowed elements in tables + table_allowed_elements: [] -# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md +# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md MD034: true -# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md +# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md MD035: # Horizontal rule style style: "consistent" -# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md +# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md MD036: # Punctuation characters punctuation: ".,;:!?。,;:!?" -# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md +# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md MD037: true -# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md +# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md MD038: true -# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md +# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md MD039: true -# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md +# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md MD040: # List of languages allowed_languages: [] # Require language only language_only: false -# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md +# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md MD041: # Allow content before first heading allow_preamble: false @@ -193,17 +197,17 @@ MD041: # Heading level level: 1 -# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md +# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md MD042: true -# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md +# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md MD043: # List of headings headings: [] # Match case of headings match_case: false -# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md +# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md MD044: # List of proper names names: [] @@ -212,49 +216,54 @@ MD044: # Include HTML elements html_elements: true -# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md +# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md MD045: true -# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md +# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md MD046: # Block style style: "consistent" -# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md +# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md MD047: true -# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md +# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md MD048: # Code fence style style: "consistent" -# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md +# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md MD049: # Emphasis style style: "consistent" -# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md +# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md MD050: # Strong style style: "consistent" -# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md +# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md MD051: # Ignore case of fragments ignore_case: false + # Pattern for ignoring additional fragments + ignored_pattern: "" -# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md +# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md MD052: + # Ignored link labels + ignored_labels: + - "x" # Include shortcut syntax shortcut_syntax: false -# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md +# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md MD053: # Ignored definitions ignored_definitions: - "//" -# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md +# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md MD054: # Allow autolinks autolink: true @@ -269,18 +278,18 @@ MD054: # Allow URLs as inline links url_inline: true -# MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md +# MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md MD055: # Table pipe style style: "consistent" -# MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md +# MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md MD056: true -# MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md +# MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md MD058: true -# MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md +# MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md MD059: # Prohibited link texts prohibited_texts: @@ -288,3 +297,8 @@ MD059: - "here" - "link" - "more" + +# MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md +MD060: + # Table column style + style: "any" diff --git a/schema/build-config-schema.mjs b/schema/build-config-schema.mjs index 82b267b5..6d78792e 100644 --- a/schema/build-config-schema.mjs +++ b/schema/build-config-schema.mjs @@ -64,6 +64,15 @@ for (const rule of rules) { }; let custom = true; switch (ruleName) { + case "MD001": + scheme.properties = { + "front_matter_title": { + "description": "RegExp for matching title in front matter", + "type": "string", + "default": "^\\s*title\\s*[:=]" + } + }; + break; case "MD003": scheme.properties = { "style": { @@ -336,6 +345,14 @@ for (const rule of rules) { "type": "string" }, "default": [] + }, + "table_allowed_elements": { + "description": "Allowed elements in tables", + "type": "array", + "items": { + "type": "string" + }, + "default": [] } }; break; @@ -483,11 +500,24 @@ for (const rule of rules) { "description": "Ignore case of fragments", "type": "boolean", "default": false + }, + "ignored_pattern": { + "description": "Pattern for ignoring additional fragments", + "type": "string", + "default": "" } }; break; case "MD052": scheme.properties = { + "ignored_labels": { + "description": "Ignored link labels", + "type": "array", + "items": { + "type": "string" + }, + "default": [ "x" ] + }, "shortcut_syntax": { "description": "Include shortcut syntax", "type": "boolean", @@ -574,6 +604,21 @@ for (const rule of rules) { } }; break; + case "MD060": + scheme.properties = { + "style": { + "description": "Table column style", + "type": "string", + "enum": [ + "any", + "aligned", + "compact", + "tight" + ], + "default": "any" + } + }; + break; default: custom = false; break; diff --git a/schema/markdownlint-config-schema-strict.json b/schema/markdownlint-config-schema-strict.json index f5ef5820..51a8d193 100644 --- a/schema/markdownlint-config-schema-strict.json +++ b/schema/markdownlint-config-schema-strict.json @@ -1,13 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema-strict.json", + "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.38.0/schema/markdownlint-config-schema-strict.json", "title": "markdownlint configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", - "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema.json" + "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.38.0/schema/markdownlint-config-schema.json" }, "default": { "description": "Default state for all rules", @@ -23,17 +23,39 @@ "default": null }, "MD001": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md", - "type": "boolean", - "default": true + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "front_matter_title": { + "description": "RegExp for matching title in front matter", + "type": "string", + "default": "^\\s*title\\s*[:=]" + } + }, + "additionalProperties": false }, "heading-increment": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md", - "type": "boolean", - "default": true + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "front_matter_title": { + "description": "RegExp for matching title in front matter", + "type": "string", + "default": "^\\s*title\\s*[:=]" + } + }, + "additionalProperties": false }, "MD003": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md", "type": [ "boolean", "object" @@ -57,7 +79,7 @@ "additionalProperties": false }, "heading-style": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md", "type": [ "boolean", "object" @@ -81,7 +103,7 @@ "additionalProperties": false }, "MD004": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md", "type": [ "boolean", "object" @@ -104,7 +126,7 @@ "additionalProperties": false }, "ul-style": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md", "type": [ "boolean", "object" @@ -127,17 +149,17 @@ "additionalProperties": false }, "MD005": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md", "type": "boolean", "default": true }, "list-indent": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md", "type": "boolean", "default": true }, "MD007": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md", "type": [ "boolean", "object" @@ -165,7 +187,7 @@ "additionalProperties": false }, "ul-indent": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md", "type": [ "boolean", "object" @@ -193,7 +215,7 @@ "additionalProperties": false }, "MD009": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md", "type": [ "boolean", "object" @@ -220,7 +242,7 @@ "additionalProperties": false }, "no-trailing-spaces": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md", "type": [ "boolean", "object" @@ -247,7 +269,7 @@ "additionalProperties": false }, "MD010": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md", "type": [ "boolean", "object" @@ -277,7 +299,7 @@ "additionalProperties": false }, "no-hard-tabs": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md", "type": [ "boolean", "object" @@ -307,17 +329,17 @@ "additionalProperties": false }, "MD011": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md", "type": "boolean", "default": true }, "no-reversed-links": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md", "type": "boolean", "default": true }, "MD012": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md", "type": [ "boolean", "object" @@ -334,7 +356,7 @@ "additionalProperties": false }, "no-multiple-blanks": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md", "type": [ "boolean", "object" @@ -351,7 +373,7 @@ "additionalProperties": false }, "MD013": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md", "type": [ "boolean", "object" @@ -405,7 +427,7 @@ "additionalProperties": false }, "line-length": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md", "type": [ "boolean", "object" @@ -459,57 +481,57 @@ "additionalProperties": false }, "MD014": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md", "type": "boolean", "default": true }, "commands-show-output": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md", "type": "boolean", "default": true }, "MD018": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md", "type": "boolean", "default": true }, "no-missing-space-atx": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md", "type": "boolean", "default": true }, "MD019": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md", "type": "boolean", "default": true }, "no-multiple-space-atx": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md", "type": "boolean", "default": true }, "MD020": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md", "type": "boolean", "default": true }, "no-missing-space-closed-atx": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md", "type": "boolean", "default": true }, "MD021": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md", "type": "boolean", "default": true }, "no-multiple-space-closed-atx": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md", "type": "boolean", "default": true }, "MD022": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md", "type": [ "boolean", "object" @@ -544,7 +566,7 @@ "additionalProperties": false }, "blanks-around-headings": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md", "type": [ "boolean", "object" @@ -579,17 +601,17 @@ "additionalProperties": false }, "MD023": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md", "type": "boolean", "default": true }, "heading-start-left": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md", "type": "boolean", "default": true }, "MD024": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md", "type": [ "boolean", "object" @@ -605,7 +627,7 @@ "additionalProperties": false }, "no-duplicate-heading": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md", "type": [ "boolean", "object" @@ -621,7 +643,7 @@ "additionalProperties": false }, "MD025": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -644,7 +666,7 @@ "additionalProperties": false }, "single-title": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -667,7 +689,7 @@ "additionalProperties": false }, "single-h1": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -690,7 +712,7 @@ "additionalProperties": false }, "MD026": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md", "type": [ "boolean", "object" @@ -706,7 +728,7 @@ "additionalProperties": false }, "no-trailing-punctuation": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md", "type": [ "boolean", "object" @@ -722,7 +744,7 @@ "additionalProperties": false }, "MD027": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md", "type": [ "boolean", "object" @@ -738,7 +760,7 @@ "additionalProperties": false }, "no-multiple-space-blockquote": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md", "type": [ "boolean", "object" @@ -754,17 +776,17 @@ "additionalProperties": false }, "MD028": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md", "type": "boolean", "default": true }, "no-blanks-blockquote": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md", "type": "boolean", "default": true }, "MD029": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md", "type": [ "boolean", "object" @@ -786,7 +808,7 @@ "additionalProperties": false }, "ol-prefix": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md", "type": [ "boolean", "object" @@ -808,7 +830,7 @@ "additionalProperties": false }, "MD030": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md", "type": [ "boolean", "object" @@ -843,7 +865,7 @@ "additionalProperties": false }, "list-marker-space": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md", "type": [ "boolean", "object" @@ -878,7 +900,7 @@ "additionalProperties": false }, "MD031": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md", "type": [ "boolean", "object" @@ -894,7 +916,7 @@ "additionalProperties": false }, "blanks-around-fences": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md", "type": [ "boolean", "object" @@ -910,17 +932,17 @@ "additionalProperties": false }, "MD032": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md", "type": "boolean", "default": true }, "blanks-around-lists": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md", "type": "boolean", "default": true }, "MD033": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md", "type": [ "boolean", "object" @@ -934,12 +956,20 @@ "type": "string" }, "default": [] + }, + "table_allowed_elements": { + "description": "Allowed elements in tables", + "type": "array", + "items": { + "type": "string" + }, + "default": [] } }, "additionalProperties": false }, "no-inline-html": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md", "type": [ "boolean", "object" @@ -953,22 +983,30 @@ "type": "string" }, "default": [] + }, + "table_allowed_elements": { + "description": "Allowed elements in tables", + "type": "array", + "items": { + "type": "string" + }, + "default": [] } }, "additionalProperties": false }, "MD034": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md", "type": "boolean", "default": true }, "no-bare-urls": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md", "type": "boolean", "default": true }, "MD035": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md", "type": [ "boolean", "object" @@ -984,7 +1022,7 @@ "additionalProperties": false }, "hr-style": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md", "type": [ "boolean", "object" @@ -1000,7 +1038,7 @@ "additionalProperties": false }, "MD036": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md", "type": [ "boolean", "object" @@ -1016,7 +1054,7 @@ "additionalProperties": false }, "no-emphasis-as-heading": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md", "type": [ "boolean", "object" @@ -1032,37 +1070,37 @@ "additionalProperties": false }, "MD037": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md", "type": "boolean", "default": true }, "no-space-in-emphasis": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md", "type": "boolean", "default": true }, "MD038": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md", "type": "boolean", "default": true }, "no-space-in-code": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md", "type": "boolean", "default": true }, "MD039": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md", "type": "boolean", "default": true }, "no-space-in-links": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md", "type": "boolean", "default": true }, "MD040": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md", "type": [ "boolean", "object" @@ -1086,7 +1124,7 @@ "additionalProperties": false }, "fenced-code-language": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md", "type": [ "boolean", "object" @@ -1110,7 +1148,7 @@ "additionalProperties": false }, "MD041": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1138,7 +1176,7 @@ "additionalProperties": false }, "first-line-heading": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1166,7 +1204,7 @@ "additionalProperties": false }, "first-line-h1": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1194,17 +1232,17 @@ "additionalProperties": false }, "MD042": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md", "type": "boolean", "default": true }, "no-empty-links": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md", "type": "boolean", "default": true }, "MD043": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md", "type": [ "boolean", "object" @@ -1229,7 +1267,7 @@ "additionalProperties": false }, "required-headings": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md", "type": [ "boolean", "object" @@ -1254,7 +1292,7 @@ "additionalProperties": false }, "MD044": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md", "type": [ "boolean", "object" @@ -1283,7 +1321,7 @@ "additionalProperties": false }, "proper-names": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md", "type": [ "boolean", "object" @@ -1312,17 +1350,17 @@ "additionalProperties": false }, "MD045": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md", "type": "boolean", "default": true }, "no-alt-text": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md", "type": "boolean", "default": true }, "MD046": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md", "type": [ "boolean", "object" @@ -1343,7 +1381,7 @@ "additionalProperties": false }, "code-block-style": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md", "type": [ "boolean", "object" @@ -1364,17 +1402,17 @@ "additionalProperties": false }, "MD047": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md", "type": "boolean", "default": true }, "single-trailing-newline": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md", "type": "boolean", "default": true }, "MD048": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md", "type": [ "boolean", "object" @@ -1395,7 +1433,7 @@ "additionalProperties": false }, "code-fence-style": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md", "type": [ "boolean", "object" @@ -1416,7 +1454,7 @@ "additionalProperties": false }, "MD049": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md", "type": [ "boolean", "object" @@ -1437,7 +1475,7 @@ "additionalProperties": false }, "emphasis-style": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md", "type": [ "boolean", "object" @@ -1458,7 +1496,7 @@ "additionalProperties": false }, "MD050": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md", "type": [ "boolean", "object" @@ -1479,7 +1517,7 @@ "additionalProperties": false }, "strong-style": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md", "type": [ "boolean", "object" @@ -1500,7 +1538,7 @@ "additionalProperties": false }, "MD051": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md", "type": [ "boolean", "object" @@ -1511,12 +1549,17 @@ "description": "Ignore case of fragments", "type": "boolean", "default": false + }, + "ignored_pattern": { + "description": "Pattern for ignoring additional fragments", + "type": "string", + "default": "" } }, "additionalProperties": false }, "link-fragments": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md", "type": [ "boolean", "object" @@ -1527,18 +1570,33 @@ "description": "Ignore case of fragments", "type": "boolean", "default": false + }, + "ignored_pattern": { + "description": "Pattern for ignoring additional fragments", + "type": "string", + "default": "" } }, "additionalProperties": false }, "MD052": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md", "type": [ "boolean", "object" ], "default": true, "properties": { + "ignored_labels": { + "description": "Ignored link labels", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "x" + ] + }, "shortcut_syntax": { "description": "Include shortcut syntax", "type": "boolean", @@ -1548,13 +1606,23 @@ "additionalProperties": false }, "reference-links-images": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md", "type": [ "boolean", "object" ], "default": true, "properties": { + "ignored_labels": { + "description": "Ignored link labels", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "x" + ] + }, "shortcut_syntax": { "description": "Include shortcut syntax", "type": "boolean", @@ -1564,7 +1632,7 @@ "additionalProperties": false }, "MD053": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md", "type": [ "boolean", "object" @@ -1585,7 +1653,7 @@ "additionalProperties": false }, "link-image-reference-definitions": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md", "type": [ "boolean", "object" @@ -1606,7 +1674,7 @@ "additionalProperties": false }, "MD054": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md", "type": [ "boolean", "object" @@ -1647,7 +1715,7 @@ "additionalProperties": false }, "link-image-style": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md", "type": [ "boolean", "object" @@ -1688,7 +1756,7 @@ "additionalProperties": false }, "MD055": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md", "type": [ "boolean", "object" @@ -1711,7 +1779,7 @@ "additionalProperties": false }, "table-pipe-style": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md", "type": [ "boolean", "object" @@ -1734,27 +1802,27 @@ "additionalProperties": false }, "MD056": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md", "type": "boolean", "default": true }, "table-column-count": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md", "type": "boolean", "default": true }, "MD058": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md", "type": "boolean", "default": true }, "blanks-around-tables": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md", "type": "boolean", "default": true }, "MD059": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md", "type": [ "boolean", "object" @@ -1778,7 +1846,7 @@ "additionalProperties": false }, "descriptive-link-text": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md", "type": [ "boolean", "object" @@ -1801,6 +1869,50 @@ }, "additionalProperties": false }, + "MD060": { + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "style": { + "description": "Table column style", + "type": "string", + "enum": [ + "any", + "aligned", + "compact", + "tight" + ], + "default": "any" + } + }, + "additionalProperties": false + }, + "table-column-style": { + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "style": { + "description": "Table column style", + "type": "string", + "enum": [ + "any", + "aligned", + "compact", + "tight" + ], + "default": "any" + } + }, + "additionalProperties": false + }, "headings": { "description": "headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043", "type": "boolean", @@ -1917,7 +2029,7 @@ "default": true }, "table": { - "description": "table : MD055, MD056, MD058", + "description": "table : MD055, MD056, MD058, MD060", "type": "boolean", "default": true } diff --git a/schema/markdownlint-config-schema.json b/schema/markdownlint-config-schema.json index 51a87156..cf6f0bee 100644 --- a/schema/markdownlint-config-schema.json +++ b/schema/markdownlint-config-schema.json @@ -1,13 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema.json", + "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.38.0/schema/markdownlint-config-schema.json", "title": "markdownlint configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", - "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema.json" + "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.38.0/schema/markdownlint-config-schema.json" }, "default": { "description": "Default state for all rules", @@ -23,17 +23,39 @@ "default": null }, "MD001": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md", - "type": "boolean", - "default": true + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "front_matter_title": { + "description": "RegExp for matching title in front matter", + "type": "string", + "default": "^\\s*title\\s*[:=]" + } + }, + "additionalProperties": false }, "heading-increment": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md001.md", - "type": "boolean", - "default": true + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "front_matter_title": { + "description": "RegExp for matching title in front matter", + "type": "string", + "default": "^\\s*title\\s*[:=]" + } + }, + "additionalProperties": false }, "MD003": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md", "type": [ "boolean", "object" @@ -57,7 +79,7 @@ "additionalProperties": false }, "heading-style": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md", "type": [ "boolean", "object" @@ -81,7 +103,7 @@ "additionalProperties": false }, "MD004": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md", "type": [ "boolean", "object" @@ -104,7 +126,7 @@ "additionalProperties": false }, "ul-style": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md", "type": [ "boolean", "object" @@ -127,17 +149,17 @@ "additionalProperties": false }, "MD005": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md", "type": "boolean", "default": true }, "list-indent": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md", "type": "boolean", "default": true }, "MD007": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md", "type": [ "boolean", "object" @@ -165,7 +187,7 @@ "additionalProperties": false }, "ul-indent": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md", "type": [ "boolean", "object" @@ -193,7 +215,7 @@ "additionalProperties": false }, "MD009": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md", "type": [ "boolean", "object" @@ -220,7 +242,7 @@ "additionalProperties": false }, "no-trailing-spaces": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md", "type": [ "boolean", "object" @@ -247,7 +269,7 @@ "additionalProperties": false }, "MD010": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md", "type": [ "boolean", "object" @@ -277,7 +299,7 @@ "additionalProperties": false }, "no-hard-tabs": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md", "type": [ "boolean", "object" @@ -307,17 +329,17 @@ "additionalProperties": false }, "MD011": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md", "type": "boolean", "default": true }, "no-reversed-links": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md", "type": "boolean", "default": true }, "MD012": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md", "type": [ "boolean", "object" @@ -334,7 +356,7 @@ "additionalProperties": false }, "no-multiple-blanks": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md", "type": [ "boolean", "object" @@ -351,7 +373,7 @@ "additionalProperties": false }, "MD013": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md", "type": [ "boolean", "object" @@ -405,7 +427,7 @@ "additionalProperties": false }, "line-length": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md", "type": [ "boolean", "object" @@ -459,57 +481,57 @@ "additionalProperties": false }, "MD014": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md", "type": "boolean", "default": true }, "commands-show-output": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md", "type": "boolean", "default": true }, "MD018": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md", "type": "boolean", "default": true }, "no-missing-space-atx": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md", "type": "boolean", "default": true }, "MD019": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md", "type": "boolean", "default": true }, "no-multiple-space-atx": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md", "type": "boolean", "default": true }, "MD020": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md", "type": "boolean", "default": true }, "no-missing-space-closed-atx": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md", "type": "boolean", "default": true }, "MD021": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md", "type": "boolean", "default": true }, "no-multiple-space-closed-atx": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md", "type": "boolean", "default": true }, "MD022": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md", "type": [ "boolean", "object" @@ -544,7 +566,7 @@ "additionalProperties": false }, "blanks-around-headings": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md", "type": [ "boolean", "object" @@ -579,17 +601,17 @@ "additionalProperties": false }, "MD023": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md", "type": "boolean", "default": true }, "heading-start-left": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md", "type": "boolean", "default": true }, "MD024": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md", "type": [ "boolean", "object" @@ -605,7 +627,7 @@ "additionalProperties": false }, "no-duplicate-heading": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md", "type": [ "boolean", "object" @@ -621,7 +643,7 @@ "additionalProperties": false }, "MD025": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -644,7 +666,7 @@ "additionalProperties": false }, "single-title": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -667,7 +689,7 @@ "additionalProperties": false }, "single-h1": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md", "type": [ "boolean", "object" @@ -690,7 +712,7 @@ "additionalProperties": false }, "MD026": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md", "type": [ "boolean", "object" @@ -706,7 +728,7 @@ "additionalProperties": false }, "no-trailing-punctuation": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md", "type": [ "boolean", "object" @@ -722,7 +744,7 @@ "additionalProperties": false }, "MD027": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md", "type": [ "boolean", "object" @@ -738,7 +760,7 @@ "additionalProperties": false }, "no-multiple-space-blockquote": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md", "type": [ "boolean", "object" @@ -754,17 +776,17 @@ "additionalProperties": false }, "MD028": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md", "type": "boolean", "default": true }, "no-blanks-blockquote": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md", "type": "boolean", "default": true }, "MD029": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md", "type": [ "boolean", "object" @@ -786,7 +808,7 @@ "additionalProperties": false }, "ol-prefix": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md", "type": [ "boolean", "object" @@ -808,7 +830,7 @@ "additionalProperties": false }, "MD030": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md", "type": [ "boolean", "object" @@ -843,7 +865,7 @@ "additionalProperties": false }, "list-marker-space": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md", "type": [ "boolean", "object" @@ -878,7 +900,7 @@ "additionalProperties": false }, "MD031": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md", "type": [ "boolean", "object" @@ -894,7 +916,7 @@ "additionalProperties": false }, "blanks-around-fences": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md", "type": [ "boolean", "object" @@ -910,17 +932,17 @@ "additionalProperties": false }, "MD032": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md", "type": "boolean", "default": true }, "blanks-around-lists": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md", "type": "boolean", "default": true }, "MD033": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md", "type": [ "boolean", "object" @@ -934,12 +956,20 @@ "type": "string" }, "default": [] + }, + "table_allowed_elements": { + "description": "Allowed elements in tables", + "type": "array", + "items": { + "type": "string" + }, + "default": [] } }, "additionalProperties": false }, "no-inline-html": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md", "type": [ "boolean", "object" @@ -953,22 +983,30 @@ "type": "string" }, "default": [] + }, + "table_allowed_elements": { + "description": "Allowed elements in tables", + "type": "array", + "items": { + "type": "string" + }, + "default": [] } }, "additionalProperties": false }, "MD034": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md", "type": "boolean", "default": true }, "no-bare-urls": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md", "type": "boolean", "default": true }, "MD035": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md", "type": [ "boolean", "object" @@ -984,7 +1022,7 @@ "additionalProperties": false }, "hr-style": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md", "type": [ "boolean", "object" @@ -1000,7 +1038,7 @@ "additionalProperties": false }, "MD036": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md", "type": [ "boolean", "object" @@ -1016,7 +1054,7 @@ "additionalProperties": false }, "no-emphasis-as-heading": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md", "type": [ "boolean", "object" @@ -1032,37 +1070,37 @@ "additionalProperties": false }, "MD037": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md", "type": "boolean", "default": true }, "no-space-in-emphasis": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md", "type": "boolean", "default": true }, "MD038": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md", "type": "boolean", "default": true }, "no-space-in-code": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md", "type": "boolean", "default": true }, "MD039": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md", "type": "boolean", "default": true }, "no-space-in-links": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md", "type": "boolean", "default": true }, "MD040": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md", "type": [ "boolean", "object" @@ -1086,7 +1124,7 @@ "additionalProperties": false }, "fenced-code-language": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md", "type": [ "boolean", "object" @@ -1110,7 +1148,7 @@ "additionalProperties": false }, "MD041": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1138,7 +1176,7 @@ "additionalProperties": false }, "first-line-heading": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1166,7 +1204,7 @@ "additionalProperties": false }, "first-line-h1": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md041.md", "type": [ "boolean", "object" @@ -1194,17 +1232,17 @@ "additionalProperties": false }, "MD042": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md", "type": "boolean", "default": true }, "no-empty-links": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md", "type": "boolean", "default": true }, "MD043": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md", "type": [ "boolean", "object" @@ -1229,7 +1267,7 @@ "additionalProperties": false }, "required-headings": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md", "type": [ "boolean", "object" @@ -1254,7 +1292,7 @@ "additionalProperties": false }, "MD044": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md", "type": [ "boolean", "object" @@ -1283,7 +1321,7 @@ "additionalProperties": false }, "proper-names": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md", "type": [ "boolean", "object" @@ -1312,17 +1350,17 @@ "additionalProperties": false }, "MD045": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md", "type": "boolean", "default": true }, "no-alt-text": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md", "type": "boolean", "default": true }, "MD046": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md", "type": [ "boolean", "object" @@ -1343,7 +1381,7 @@ "additionalProperties": false }, "code-block-style": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md", "type": [ "boolean", "object" @@ -1364,17 +1402,17 @@ "additionalProperties": false }, "MD047": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md", "type": "boolean", "default": true }, "single-trailing-newline": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md", "type": "boolean", "default": true }, "MD048": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md", "type": [ "boolean", "object" @@ -1395,7 +1433,7 @@ "additionalProperties": false }, "code-fence-style": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md", "type": [ "boolean", "object" @@ -1416,7 +1454,7 @@ "additionalProperties": false }, "MD049": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md", "type": [ "boolean", "object" @@ -1437,7 +1475,7 @@ "additionalProperties": false }, "emphasis-style": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md", "type": [ "boolean", "object" @@ -1458,7 +1496,7 @@ "additionalProperties": false }, "MD050": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md", "type": [ "boolean", "object" @@ -1479,7 +1517,7 @@ "additionalProperties": false }, "strong-style": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md", "type": [ "boolean", "object" @@ -1500,7 +1538,7 @@ "additionalProperties": false }, "MD051": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md", "type": [ "boolean", "object" @@ -1511,12 +1549,17 @@ "description": "Ignore case of fragments", "type": "boolean", "default": false + }, + "ignored_pattern": { + "description": "Pattern for ignoring additional fragments", + "type": "string", + "default": "" } }, "additionalProperties": false }, "link-fragments": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md", "type": [ "boolean", "object" @@ -1527,18 +1570,33 @@ "description": "Ignore case of fragments", "type": "boolean", "default": false + }, + "ignored_pattern": { + "description": "Pattern for ignoring additional fragments", + "type": "string", + "default": "" } }, "additionalProperties": false }, "MD052": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md", "type": [ "boolean", "object" ], "default": true, "properties": { + "ignored_labels": { + "description": "Ignored link labels", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "x" + ] + }, "shortcut_syntax": { "description": "Include shortcut syntax", "type": "boolean", @@ -1548,13 +1606,23 @@ "additionalProperties": false }, "reference-links-images": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md", "type": [ "boolean", "object" ], "default": true, "properties": { + "ignored_labels": { + "description": "Ignored link labels", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "x" + ] + }, "shortcut_syntax": { "description": "Include shortcut syntax", "type": "boolean", @@ -1564,7 +1632,7 @@ "additionalProperties": false }, "MD053": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md", "type": [ "boolean", "object" @@ -1585,7 +1653,7 @@ "additionalProperties": false }, "link-image-reference-definitions": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md", "type": [ "boolean", "object" @@ -1606,7 +1674,7 @@ "additionalProperties": false }, "MD054": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md", "type": [ "boolean", "object" @@ -1647,7 +1715,7 @@ "additionalProperties": false }, "link-image-style": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md", "type": [ "boolean", "object" @@ -1688,7 +1756,7 @@ "additionalProperties": false }, "MD055": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md", "type": [ "boolean", "object" @@ -1711,7 +1779,7 @@ "additionalProperties": false }, "table-pipe-style": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md", "type": [ "boolean", "object" @@ -1734,27 +1802,27 @@ "additionalProperties": false }, "MD056": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md", "type": "boolean", "default": true }, "table-column-count": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md", "type": "boolean", "default": true }, "MD058": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md", "type": "boolean", "default": true }, "blanks-around-tables": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md", "type": "boolean", "default": true }, "MD059": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md", "type": [ "boolean", "object" @@ -1778,7 +1846,7 @@ "additionalProperties": false }, "descriptive-link-text": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md", "type": [ "boolean", "object" @@ -1801,6 +1869,50 @@ }, "additionalProperties": false }, + "MD060": { + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "style": { + "description": "Table column style", + "type": "string", + "enum": [ + "any", + "aligned", + "compact", + "tight" + ], + "default": "any" + } + }, + "additionalProperties": false + }, + "table-column-style": { + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md", + "type": [ + "boolean", + "object" + ], + "default": true, + "properties": { + "style": { + "description": "Table column style", + "type": "string", + "enum": [ + "any", + "aligned", + "compact", + "tight" + ], + "default": "any" + } + }, + "additionalProperties": false + }, "headings": { "description": "headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043", "type": "boolean", @@ -1917,7 +2029,7 @@ "default": true }, "table": { - "description": "table : MD055, MD056, MD058", + "description": "table : MD055, MD056, MD058, MD060", "type": "boolean", "default": true } diff --git a/scripts/index.mjs b/scripts/index.mjs index 94845ab7..8ae0ef48 100644 --- a/scripts/index.mjs +++ b/scripts/index.mjs @@ -1,6 +1,5 @@ // @ts-check -// eslint-disable-next-line n/no-unsupported-features/node-builtins import { constants, copyFile, rm, unlink } from "node:fs/promises"; import { globby } from "globby"; @@ -19,7 +18,7 @@ if (command === "copy") { ) ); } else if (command === "remove") { - await Promise.all(args.map((dir) => rm(dir, { "recursive": true }))); + await Promise.all(args.map((dir) => rm(dir, { "force": true, "recursive": true }))); } else { throw new Error(`Unsupported command: ${command}`); } diff --git a/test/break-all-the-rules.md b/test/break-all-the-rules.md index 6bb72b1e..e1daf687 100644 --- a/test/break-all-the-rules.md +++ b/test/break-all-the-rules.md @@ -107,7 +107,9 @@ Strong **with** different style {MD050} | table | header | |--------|--------| - {MD055} | cell | + {MD055} | cell | + +{MD060:-2} | table | header | |---------|--------| @@ -115,10 +117,12 @@ Strong **with** different style {MD050} Text | table {MD058} | -|-------| +| ------- | | cell {MD058} | > Blockquote +[click here](https://example.org) {MD059} + + +Emphasis as heading followed by an HTML comment + + __Section 5: emphasis as heading {MD036}__ + +Emphasis as heading following an HTML comment + +*Section 6: emphasis as non-heading* + +Embedded HTML comments are unusual and cause the emphasis to be ignored/allowed diff --git a/test/heading_increment-alt_title_level3_bad.md b/test/heading_increment-alt_title_level3_bad.md new file mode 100644 index 00000000..84f1dfbd --- /dev/null +++ b/test/heading_increment-alt_title_level3_bad.md @@ -0,0 +1,14 @@ +--- +alternate = heading_increment-alt_title_level3_bad +--- + +### level 3 {MD001} + + diff --git a/test/heading_increment-title_level2_good.md b/test/heading_increment-title_level2_good.md new file mode 100644 index 00000000..8bd288ef --- /dev/null +++ b/test/heading_increment-title_level2_good.md @@ -0,0 +1,7 @@ +--- +title: heading_increment-title_level2_good +--- + +## level 2 + +### level 3 diff --git a/test/heading_increment-title_level3_bad.md b/test/heading_increment-title_level3_bad.md new file mode 100644 index 00000000..d15c7a04 --- /dev/null +++ b/test/heading_increment-title_level3_bad.md @@ -0,0 +1,5 @@ +--- +title: heading_increment-title_level3_bad +--- + +### level 3 {MD001} diff --git a/test/html-comment-in-markdown-table.md b/test/html-comment-in-markdown-table.md index 785c9313..09be40bb 100644 --- a/test/html-comment-in-markdown-table.md +++ b/test/html-comment-in-markdown-table.md @@ -53,5 +53,6 @@ | cell | cell | diff --git a/test/inline_html-allowed_elements.md b/test/inline_html-allowed_elements.md index dc2d1dfe..f1f5f782 100644 --- a/test/inline_html-allowed_elements.md +++ b/test/inline_html-allowed_elements.md @@ -54,6 +54,11 @@ This is not allowed.
{MD033}

+| Allowed | Not Allowed | +| ------- | ------------ | +|

| | +| |
{MD033} | + diff --git a/test/inline_html-table_allowed_elements.md b/test/inline_html-table_allowed_elements.md new file mode 100644 index 00000000..45129674 --- /dev/null +++ b/test/inline_html-table_allowed_elements.md @@ -0,0 +1,33 @@ +# inline_html-table_allowed_elements.md + +

This is allowed

+ +

This is not allowed {MD033}

+ +
This is not allowed {MD033} + +
This is not allowed {MD033} + +| Allowed | Not Allowed | +| ------------------- | ------------------ | +|
| | +|
| | +|
| | +| |

{MD033}

| + + +
{MD033} +
+ + diff --git a/test/link-fragments-ignored-pattern-default.md b/test/link-fragments-ignored-pattern-default.md new file mode 100644 index 00000000..e7cd0fae --- /dev/null +++ b/test/link-fragments-ignored-pattern-default.md @@ -0,0 +1,9 @@ +# Link Fragments Ignored Pattern Default + +## Heading + +[Present](#heading) + +[Ignored](#ignored) {MD051} + +[Missing](#missing) {MD051} diff --git a/test/link-fragments-ignored-pattern-empty.md b/test/link-fragments-ignored-pattern-empty.md new file mode 100644 index 00000000..93d668cd --- /dev/null +++ b/test/link-fragments-ignored-pattern-empty.md @@ -0,0 +1,15 @@ +# Link Fragments Ignored Pattern Empty + +## Heading + +[Present](#heading) + +[Ignored](#ignored) {MD051} + +[Missing](#missing) {MD051} + + diff --git a/test/link-fragments-ignored-pattern-multiple.md b/test/link-fragments-ignored-pattern-multiple.md new file mode 100644 index 00000000..169914b5 --- /dev/null +++ b/test/link-fragments-ignored-pattern-multiple.md @@ -0,0 +1,15 @@ +# Link Fragments Ignored Pattern Multiple + +## Heading + +[Present](#heading) + +[Ignored](#ignored) + +[Missing](#missing) + + diff --git a/test/link-fragments-ignored-pattern-present.md b/test/link-fragments-ignored-pattern-present.md new file mode 100644 index 00000000..5449c759 --- /dev/null +++ b/test/link-fragments-ignored-pattern-present.md @@ -0,0 +1,15 @@ +# Link Fragments Ignored Pattern Present + +## Heading + +[Present](#heading) + +[Ignored](#ignored) + +[Missing](#missing) {MD051} + + diff --git a/test/lists-inside-footnote.md b/test/lists-inside-footnote.md new file mode 100644 index 00000000..1f94e02b --- /dev/null +++ b/test/lists-inside-footnote.md @@ -0,0 +1,22 @@ +# Lists Inside Footnote + +Text.[^ref] + +[^ref]: Note and list: + + * Item + * Item + * Item + + 1. Item + 1. Item + 1. Item + + Text + + * Item + * Item {MD005} {MD007} + * Item + * Item + * Item {MD005} {MD007} + * Item diff --git a/test/markdownlint-test-custom-rules.mjs b/test/markdownlint-test-custom-rules.mjs index 1a78c117..0cb331d6 100644 --- a/test/markdownlint-test-custom-rules.mjs +++ b/test/markdownlint-test-custom-rules.mjs @@ -24,6 +24,7 @@ test("customRulesV0", (t) => new Promise((resolve) => { "customRules": customRules.all, "files": [ customRulesMd ], markdownItFactory, + // @ts-ignore "resultVersion": 0 }; lintAsync(options, function callback(err, actualResult) { @@ -97,6 +98,7 @@ test("customRulesV1", (t) => new Promise((resolve) => { "customRules": customRules.all, "files": [ customRulesMd ], markdownItFactory, + // @ts-ignore "resultVersion": 1 }; lintAsync(options, function callback(err, actualResult) { @@ -229,6 +231,7 @@ test("customRulesV2", (t) => new Promise((resolve) => { "customRules": customRules.all, "files": [ customRulesMd ], markdownItFactory, + // @ts-ignore "resultVersion": 2 }; lintAsync(options, function callback(err, actualResult) { @@ -358,6 +361,7 @@ test("customRulesConfig", (t) => new Promise((resolve) => { "letters-e-x": false }, markdownItFactory, + // @ts-ignore "resultVersion": 0 }; lintAsync(options, function callback(err, actualResult) { @@ -387,6 +391,7 @@ test("customRulesNpmPackage", (t) => new Promise((resolve) => { "strings": { "string": "# Text\n\n---\n\nText ✅\n" }, + // @ts-ignore "resultVersion": 0 }; lintAsync(options, function callback(err, actualResult) { diff --git a/test/markdownlint-test-helpers.mjs b/test/markdownlint-test-helpers.mjs index 64ff908f..5b72dabd 100644 --- a/test/markdownlint-test-helpers.mjs +++ b/test/markdownlint-test-helpers.mjs @@ -5,7 +5,7 @@ import path from "node:path"; import test from "ava"; import { characterEntities } from "character-entities"; import { gemoji } from "gemoji"; -import helpers from "../helpers/helpers.cjs"; +import helpers, { formatLintResults } from "../helpers/helpers.cjs"; import { lint } from "markdownlint/promise"; import { forEachInlineCodeSpan } from "../lib/markdownit.cjs"; import { getReferenceLinkImageData } from "../lib/cache.mjs"; @@ -529,3 +529,18 @@ test("hasOverlap", (t) => { t.false(helpers.hasOverlap(rangeB, rangeA), JSON.stringify({ rangeB, rangeA })); } }); + +test("formatLintResults", async(t) => { + t.plan(2); + t.deepEqual(formatLintResults(undefined), []); + const lintResults = await lint({ "strings": { "content": "# Heading\n
" } }); + t.deepEqual( + formatLintResults(lintResults), + [ + "content:1:3 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: \"# Heading\"]", + "content:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: \"# Heading\"]", + "content:2:1 MD033/no-inline-html Inline HTML [Element: br]", + "content:2:5 MD047/single-trailing-newline Files should end with a single newline character" + ] + ); +}); diff --git a/test/markdownlint-test-parallel.mjs b/test/markdownlint-test-parallel.mjs index e9bc26c0..1ce6121e 100644 --- a/test/markdownlint-test-parallel.mjs +++ b/test/markdownlint-test-parallel.mjs @@ -1,6 +1,5 @@ // @ts-check -// eslint-disable-next-line n/no-unsupported-features/node-builtins import { availableParallelism } from "node:os"; import { Worker } from "node:worker_threads"; import { lint } from "markdownlint/sync"; diff --git a/test/markdownlint-test-project.mjs b/test/markdownlint-test-project.mjs index 8de9b93e..4580f41c 100644 --- a/test/markdownlint-test-project.mjs +++ b/test/markdownlint-test-project.mjs @@ -17,7 +17,7 @@ const files = await globby(projectFiles); test("projectFiles", (t) => { t.plan(2); - t.is(files.length, 61); + t.is(files.length, 62); const options = { files, "config": require("../.markdownlint.json") @@ -40,7 +40,7 @@ test("projectFilesExtendedAscii", (t) => { "doc/md036.md" ]); const filteredFiles = files.filter((file) => !ignoreFiles.has(file)); - t.is(filteredFiles.length, 57); + t.is(filteredFiles.length, 58); const options = { "files": filteredFiles, "config": require("../.markdownlint.json"), diff --git a/test/markdownlint-test-repos-dotnet-docs.mjs b/test/markdownlint-test-repos-dotnet-docs.mjs index b3a1ec41..11c536f4 100644 --- a/test/markdownlint-test-repos-dotnet-docs.mjs +++ b/test/markdownlint-test-repos-dotnet-docs.mjs @@ -9,5 +9,5 @@ test("https://github.com/dotnet/docs", (t) => { const rootDir = "./test-repos/dotnet-docs"; const globPatterns = [ join(rootDir, "**/*.md") ]; const configPath = join(rootDir, ".markdownlint-cli2.jsonc"); - return lintTestRepo(t, globPatterns, configPath, true); + return lintTestRepo(t, globPatterns, configPath, { "table-column-style": false }, true); }); diff --git a/test/markdownlint-test-repos-mdn-content.mjs b/test/markdownlint-test-repos-mdn-content.mjs index 71d57968..718a3941 100644 --- a/test/markdownlint-test-repos-mdn-content.mjs +++ b/test/markdownlint-test-repos-mdn-content.mjs @@ -9,5 +9,5 @@ test("https://github.com/mdn/content", (t) => { const rootDir = "./test-repos/mdn-content"; const globPatterns = [ join(rootDir, "**/*.md") ]; const configPath = join(rootDir, ".markdownlint-cli2.jsonc"); - return lintTestRepo(t, globPatterns, configPath, true); + return lintTestRepo(t, globPatterns, configPath, { "table-column-style": false }, true); }); diff --git a/test/markdownlint-test-repos.mjs b/test/markdownlint-test-repos.mjs index 13d36fe9..317835ca 100644 --- a/test/markdownlint-test-repos.mjs +++ b/test/markdownlint-test-repos.mjs @@ -5,19 +5,23 @@ const { join } = path.posix; import { globby } from "globby"; import jsoncParser from "jsonc-parser"; import jsYaml from "js-yaml"; +import { formatLintResults } from "markdownlint/helpers"; import { lint, readConfig } from "markdownlint/promise"; import { markdownlintParallel } from "./markdownlint-test-parallel.mjs"; +/** @typedef {import("markdownlint").Configuration} Configuration */ + /** * Lints a test repository. * * @param {Object} t Test instance. * @param {string[]} globPatterns Array of files to in/exclude. * @param {string} configPath Path to config file. + * @param {Configuration} [configOverrides] Configuration overrides. * @param {boolean} [parallel] True to lint in parallel. * @returns {Promise} Test result. */ -export function lintTestRepo(t, globPatterns, configPath, parallel) { +export function lintTestRepo(t, globPatterns, configPath, configOverrides, parallel) { t.plan(1); const jsoncParse = (json) => { const config = jsoncParser.parse(json, [], { "allowTrailingComma": true }); @@ -31,20 +35,23 @@ export function lintTestRepo(t, globPatterns, configPath, parallel) { const [ files, rawConfig ] = globbyAndReadConfigResults; // eslint-disable-next-line no-console console.log(`${t.title}: Linting ${files.length} files...`); - const config = Object.fromEntries( + const cookedConfig = Object.fromEntries( Object.entries(rawConfig) .map(([ k, v ]) => [ k.replace(/header/, "heading"), v ]) ); + const config = { + ...cookedConfig, + ...configOverrides + }; return (parallel ? markdownlintParallel : lint)({ files, config }).then((results) => { - const resultsString = results.toString(); t.snapshot( - resultsString, + formatLintResults(results).join("\n"), "Expected linting violations" ); }); diff --git a/test/markdownlint-test-result-object.mjs b/test/markdownlint-test-result-object.mjs index a67e3731..87e38d4a 100644 --- a/test/markdownlint-test-result-object.mjs +++ b/test/markdownlint-test-result-object.mjs @@ -2,7 +2,9 @@ import test from "ava"; import { lint as lintAsync } from "markdownlint/async"; +import { lint as lintPromise } from "markdownlint/promise"; import { lint as lintSync } from "markdownlint/sync"; +import { convertToResultVersion0, convertToResultVersion1, convertToResultVersion2 } from "markdownlint/helpers"; import { importWithTypeJson } from "./esm-helpers.mjs"; const packageJson = await importWithTypeJson(import.meta, "../package.json"); const { homepage, version } = packageJson; @@ -405,7 +407,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => { "ruleInformation": `${homepage}/blob/v${version}/doc/md037.md`, "errorDetail": null, "errorContext": "* e", - "errorRange": [ 6, 3 ], + "errorRange": [ 7, 1 ], "fixInfo": { "editColumn": 7, "deleteCount": 1 @@ -418,7 +420,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => { "ruleInformation": `${homepage}/blob/v${version}/doc/md037.md`, "errorDetail": null, "errorContext": "s *", - "errorRange": [ 15, 3 ], + "errorRange": [ 16, 1 ], "fixInfo": { "editColumn": 16, "deleteCount": 1 @@ -623,3 +625,40 @@ test("frontMatterResultVersion3", (t) => new Promise((resolve) => { resolve(); }); })); + +test("convertToResultVersionN", async(t) => { + t.plan(8); + const options = { + "files": [ + "./test/break-all-the-rules.md", + "./test/inline-disable-enable.md" + ], + "strings": { + "first": "# Heading", + "second": "## Heading" + } + }; + const [ base, version3, version2, version1, version0 ] = await Promise.all([ + lintPromise(options), + // @ts-ignore + lintPromise({ ...options, "resultVersion": 3 }), + // @ts-ignore + lintPromise({ ...options, "resultVersion": 2 }), + // @ts-ignore + lintPromise({ ...options, "resultVersion": 1 }), + // @ts-ignore + lintPromise({ ...options, "resultVersion": 0 }) + ]); + const v3 = version3; + t.deepEqual(v3, base); + t.is(v3.toString(), base.toString()); + const v2 = convertToResultVersion2(base); + t.deepEqual(v2, version2); + t.is(v2.toString(), version2.toString()); + const v1 = convertToResultVersion1(base); + t.deepEqual(v1, version1); + t.is(v1.toString(), version1.toString()); + const v0 = convertToResultVersion0(base); + t.deepEqual(v0, version0); + t.is(v0.toString(), version0.toString()); +}); diff --git a/test/markdownlint-test-scenarios.mjs b/test/markdownlint-test-scenarios.mjs index 0d0a3faf..14ab66a4 100644 --- a/test/markdownlint-test-scenarios.mjs +++ b/test/markdownlint-test-scenarios.mjs @@ -33,7 +33,7 @@ function createTestForFile(file) { .filter((error) => !!error.ruleInformation); for (const error of errors) { error.ruleInformation = - error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0"); + error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0"); } // Match identified issues by MD### markers const marker = /\{(MD\d+)(?::([-+]?)(\d+))?\}/g; diff --git a/test/markdownlint-test.mjs b/test/markdownlint-test.mjs index 9ebeaf0c..7345fab5 100644 --- a/test/markdownlint-test.mjs +++ b/test/markdownlint-test.mjs @@ -17,6 +17,7 @@ import { getVersion } from "markdownlint"; import { lint as lintAsync } from "markdownlint/async"; import { lint as lintPromise } from "markdownlint/promise"; import { lint as lintSync } from "markdownlint/sync"; +import * as cache from "../lib/cache.mjs"; import * as constants from "../lib/constants.mjs"; import rules from "../lib/rules.mjs"; import customRules from "./rules/rules.cjs"; @@ -48,46 +49,42 @@ function getMarkdownItFactory(markdownItPlugins) { } test("simpleAsync", (t) => new Promise((resolve) => { + t.plan(3); + const options = { + "strings": { + "content": "# Heading" + } + }; + lintAsync(options, (err, actual) => { + t.falsy(err); + t.is(actual?.content.length, 1); + t.is(actual?.content[0].ruleNames[0], "MD047"); + resolve(); + }); +})); + +test("simpleSync", (t) => { t.plan(2); const options = { "strings": { "content": "# Heading" } }; - const expected = "content: 1: MD047/single-trailing-newline " + - "Files should end with a single newline character"; - lintAsync(options, (err, actual) => { - t.falsy(err); - // @ts-ignore - t.is(actual.toString(), expected, "Unexpected results."); - resolve(); - }); -})); - -test("simpleSync", (t) => { - t.plan(1); - const options = { - "strings": { - "content": "# Heading" - } - }; - const expected = "content: 1: MD047/single-trailing-newline " + - "Files should end with a single newline character"; - const actual = lintSync(options).toString(); - t.is(actual, expected, "Unexpected results."); + const actual = lintSync(options); + t.is(actual.content.length, 1); + t.is(actual.content[0].ruleNames[0], "MD047"); }); test("simplePromise", (t) => { - t.plan(1); + t.plan(2); const options = { "strings": { "content": "# Heading" } }; - const expected = "content: 1: MD047/single-trailing-newline " + - "Files should end with a single newline character"; return lintPromise(options).then((actual) => { - t.is(actual.toString(), expected, "Unexpected results."); + t.is(actual.content.length, 1); + t.is(actual.content[0].ruleNames[0], "MD047"); }); }); @@ -467,7 +464,7 @@ test("styleAll", async(t) => { "MD042": [ 81 ], "MD045": [ 85 ], "MD046": [ 49, 73, 77 ], - "MD047": [ 140 ], + "MD047": [ 144 ], "MD048": [ 77 ], "MD049": [ 90 ], "MD050": [ 94 ], @@ -475,8 +472,10 @@ test("styleAll", async(t) => { "MD052": [ 98 ], "MD053": [ 100 ], "MD055": [ 110 ], - "MD056": [ 114 ], - "MD058": [ 117, 119 ] + "MD056": [ 116 ], + "MD058": [ 119, 121 ], + "MD059": [ 124 ], + "MD060": [ 110 ] } }; t.deepEqual(actualResult, expectedResult, "Undetected issues."); @@ -515,7 +514,7 @@ test("styleRelaxed", async(t) => { "MD042": [ 81 ], "MD045": [ 85 ], "MD046": [ 49, 73, 77 ], - "MD047": [ 140 ], + "MD047": [ 144 ], "MD048": [ 77 ], "MD049": [ 90 ], "MD050": [ 94 ], @@ -523,8 +522,10 @@ test("styleRelaxed", async(t) => { "MD052": [ 98 ], "MD053": [ 100 ], "MD055": [ 110 ], - "MD056": [ 114 ], - "MD058": [ 117, 119 ] + "MD056": [ 116 ], + "MD058": [ 119, 121 ], + "MD059": [ 124 ], + "MD060": [ 110 ] } }; t.deepEqual(actualResult, expectedResult, "Undetected issues."); @@ -541,6 +542,7 @@ test("nullFrontMatter", (t) => new Promise((resolve) => { "default": false, "MD010": true }, + // @ts-ignore "resultVersion": 0 }, function callback(err, result) { t.falsy(err); @@ -593,6 +595,7 @@ test("noInlineConfig", (t) => new Promise((resolve) => { ].join("\n") }, "noInlineConfig": true, + // @ts-ignore "resultVersion": 0 }, function callback(err, result) { t.falsy(err); @@ -641,7 +644,7 @@ test("readmeHeadings", (t) => new Promise((resolve) => { "##### options.handleRuleFailures", "##### options.markdownItFactory", "##### options.noInlineConfig", - "##### options.resultVersion", + "##### ~~options.resultVersion~~", "##### options.strings", "#### callback", "#### result", @@ -832,7 +835,7 @@ test("customFileSystemAsync", (t) => new Promise((resolve) => { })); test("readme", async(t) => { - t.plan(130); + t.plan(132); const tagToRules = {}; for (const rule of rules) { for (const tag of rule.tags) { @@ -907,7 +910,7 @@ test("readme", async(t) => { }); test("validateJsonUsingConfigSchemaStrict", async(t) => { - t.plan(196); + t.plan(211); // @ts-ignore const ajv = new Ajv(ajvOptions); const validateSchemaStrict = ajv.compile(configSchemaStrict); @@ -1029,7 +1032,7 @@ test("validateConfigExampleJson", (t) => { }); test("allBuiltInRulesHaveValidUrl", (t) => { - t.plan(156); + t.plan(159); for (const rule of rules) { // @ts-ignore t.truthy(rule.information); @@ -1063,6 +1066,71 @@ test("someCustomRulesHaveValidUrl", (t) => { } }); +test("coverageForCacheMicromarkTokensWhenUndefined", (t) => { + t.plan(1); + cache.initialize(undefined); + t.is(cache.micromarkTokens().length, 0); +}); + +test("micromarkParseCalledWhenNeeded", (t) => new Promise((resolve) => { + t.plan(3); + /** @type {import("markdownlint").Rule} */ + const markdownItRule = { + "names": [ "markdown-it-rule" ], + "description": "markdown-it rule", + "tags": [ "test" ], + "parser": "markdownit", + "function": () => { + t.true(cache.micromarkTokens().length > 0); + } + }; + lintAsync({ + "strings": { + "string": "# Heading\n\nText\n" + }, + "config": { + "markdown-it-rule": true + }, + "customRules": [ markdownItRule ], + "markdownItFactory": getMarkdownItFactory([]) + }, function callback(err, actual) { + t.falsy(err); + const expected = { "string": [] }; + t.deepEqual(actual, expected, "Unexpected issues."); + resolve(); + }); +})); + +test("micromarkParseSkippedWhenNotNeeded", (t) => new Promise((resolve) => { + t.plan(3); + /** @type {import("markdownlint").Rule} */ + const markdownItRule = { + "names": [ "markdown-it-rule" ], + "description": "markdown-it rule", + "tags": [ "test" ], + "parser": "markdownit", + "function": () => { + t.true(cache.micromarkTokens().length === 0); + } + }; + lintAsync({ + "strings": { + "string": "# Heading\n\nText\n" + }, + "config": { + "default": false, + "markdown-it-rule": true + }, + "customRules": [ markdownItRule ], + "markdownItFactory": getMarkdownItFactory([]) + }, function callback(err, actual) { + t.falsy(err); + const expected = { "string": [] }; + t.deepEqual(actual, expected, "Unexpected issues."); + resolve(); + }); +})); + test("markdownItPluginsSingle", (t) => new Promise((resolve) => { t.plan(4); lintAsync({ @@ -1159,6 +1227,7 @@ Text with: [^footnote] [reference]: https://example.com ` }, + // @ts-ignore "resultVersion": 0 }, (err, actual) => { t.falsy(err); @@ -1208,7 +1277,7 @@ test("token-map-spans", (t) => { }); test("configParsersInvalid", async(t) => { - t.plan(1); + t.plan(2); const options = { "strings": { "content": [ @@ -1221,10 +1290,9 @@ test("configParsersInvalid", async(t) => { ].join("\n") } }; - const expected = "content: 1: MD041/first-line-heading/first-line-h1 " + - "First line in a file should be a top-level heading [Context: \"Text\"]"; const actual = await lintPromise(options); - t.is(actual.toString(), expected, "Unexpected results."); + t.is(actual.content.length, 1); + t.is(actual.content[0].ruleNames[0], "MD041"); }); test("configParsersJSON", async(t) => { @@ -1244,7 +1312,7 @@ test("configParsersJSON", async(t) => { } }; const actual = await lintPromise(options); - t.is(actual.toString(), "", "Unexpected results."); + t.is(actual.content.length, 0); }); test("configParsersJSONC", async(t) => { @@ -1266,7 +1334,7 @@ test("configParsersJSONC", async(t) => { "configParsers": [ jsoncParser.parse ] }; const actual = await lintPromise(options); - t.is(actual.toString(), "", "Unexpected results."); + t.is(actual.content.length, 0); }); test("configParsersYAML", async(t) => { @@ -1287,7 +1355,7 @@ test("configParsersYAML", async(t) => { }; // @ts-ignore const actual = await lintPromise(options); - t.is(actual.toString(), "", "Unexpected results."); + t.is(actual.content.length, 0); }); test("configParsersTOML", async(t) => { @@ -1309,7 +1377,7 @@ test("configParsersTOML", async(t) => { ] }; const actual = await lintPromise(options); - t.is(actual.toString(), "", "Unexpected results."); + t.is(actual.content.length, 0); }); test("getVersion", (t) => { diff --git a/test/no-alt-text.md b/test/no-alt-text.md index 78c348ed..9641aadb 100644 --- a/test/no-alt-text.md +++ b/test/no-alt-text.md @@ -68,6 +68,18 @@ Uppercase image tag with no alt set {MD045} {MD045}

+No alt attribute is okay when the image is hidden from assistive technology: + + + +But not when disabled: {MD045} + +Multi-line image tag aria-hidden: + + [notitle]: image.jpg diff --git a/test/ordered-list-item-prefix-double-digits-ordered.md b/test/ordered-list-item-prefix-double-digits-ordered.md new file mode 100644 index 00000000..c27c41ae --- /dev/null +++ b/test/ordered-list-item-prefix-double-digits-ordered.md @@ -0,0 +1,42 @@ +# Ordered ist Item Prefix Double Digits Ordered + +Good list: + +1. Item +2. Item +3. Item +4. Item +5. Item +6. Item +7. Item +8. Item +9. Item +10. Item +11. Item + +Bad list 1: + +1. Item +10. Item {MD029} +9. Item {MD029} + +Bad list 2: + +11. Item {MD029} +10. Item {MD029} + +Bad list 3 + +12. Item {MD029} +1. Item {MD029} + +Bad list 4: + +0. Item +10. Item {MD029} + + diff --git a/test/ordered-list-item-prefix-sublists-ordered.md b/test/ordered-list-item-prefix-sublists-ordered.md new file mode 100644 index 00000000..ef1aeb12 --- /dev/null +++ b/test/ordered-list-item-prefix-sublists-ordered.md @@ -0,0 +1,47 @@ +# Ordered List Item Prefix Sublists Ordered + +Good list and sublist: + +1. Item +2. Item + 1. Item + 2. Item +3. Item + +Good list and bad sublist: + +1. Item +2. Item + 3. Item + 4. Item +3. Item + +Bad list and good sublist: + +1. Item +4. Item {MD029} + 1. Item + 2. Item +5. Item {MD029} + +Bad list and bad sublist: + +1. Item +4. Item {MD029} + 1. Item + 3. Item {MD029} +5. Item {MD029} + +Bad list and bad sublist (0): + +0. Item +4. Item {MD029} + 1. Item + 3. Item {MD029} +5. Item {MD029} + + diff --git a/test/reference-links-and-images-ignored-labels-empty.md b/test/reference-links-and-images-ignored-labels-empty.md new file mode 100644 index 00000000..7339e58d --- /dev/null +++ b/test/reference-links-and-images-ignored-labels-empty.md @@ -0,0 +1,19 @@ +# Reference Links and Images (Ignored Labels Empty) + +[full][full] {MD052} + +[collapsed][] {MD052} + +[shortcut] {MD052} + +[invalid][invalid] {MD052} + +- [ ] Unchecked task list item +- [x] Checked task list item {MD052} + + diff --git a/test/reference-links-and-images-ignored-labels.md b/test/reference-links-and-images-ignored-labels.md new file mode 100644 index 00000000..3b055e83 --- /dev/null +++ b/test/reference-links-and-images-ignored-labels.md @@ -0,0 +1,23 @@ +# Reference Links and Images (Ignored Labels) + +[full][full] + +[collapsed][] + +[shortcut] + +[invalid][invalid] {MD052} + +- [ ] Unchecked task list item +- [x] Checked task list item {MD052} + + diff --git a/test/reference-links-and-images-shortcuts.md b/test/reference-links-and-images-shortcuts.md index e6765d64..16126f9f 100644 --- a/test/reference-links-and-images-shortcuts.md +++ b/test/reference-links-and-images-shortcuts.md @@ -84,6 +84,16 @@ Footnote[^1] Missing[^2] {MD052} +## GitHub Flavored Markdown Task List Items + +- [ ] Unchecked task list item +- [x] Checked task list item + +- [x] alpha + - [ ] beta + - [x] charlie +- [ ] delta + ## Valid Labels [label]: https://example.com/label diff --git a/test/reference-links-and-images.md b/test/reference-links-and-images.md index 95fdd4eb..474ad548 100644 --- a/test/reference-links-and-images.md +++ b/test/reference-links-and-images.md @@ -242,3 +242,8 @@ Text with a [^footnote] in it [^footnote]: Footnote with an [embedded-reference][] in it [embedded-reference]: https://example.com/embedded-reference + +## GitHub Flavored Markdown Task List Items + +- [ ] Unchecked task list item +- [x] Checked task list item diff --git a/test/snapshots/markdownlint-test-exports.mjs.md b/test/snapshots/markdownlint-test-exports.mjs.md index 1f86f881..a29305c2 100644 --- a/test/snapshots/markdownlint-test-exports.mjs.md +++ b/test/snapshots/markdownlint-test-exports.mjs.md @@ -28,12 +28,16 @@ Generated by [AVA](https://avajs.dev). 'clearHtmlCommentText', 'cloneIfArray', 'cloneIfUrl', + 'convertToResultVersion0', + 'convertToResultVersion1', + 'convertToResultVersion2', 'default', 'ellipsify', 'endOfLineGemojiCodeRe', 'endOfLineHtmlEntityRe', 'escapeForRegExp', 'expandTildePath', + 'formatLintResults', 'frontMatterHasTitle', 'frontMatterRe', 'getHtmlAttributeRe', diff --git a/test/snapshots/markdownlint-test-exports.mjs.snap b/test/snapshots/markdownlint-test-exports.mjs.snap index a21e64a2..124c0ee3 100644 Binary files a/test/snapshots/markdownlint-test-exports.mjs.snap and b/test/snapshots/markdownlint-test-exports.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md index 378045fb..8e41b4fa 100644 --- a/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md +++ b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.md @@ -8,43 +8,13 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/dotnet-docs/README.md: 21: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ - test-repos/dotnet-docs/README.md: 39: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ - test-repos/dotnet-docs/SECURITY.md: 21: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 22: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 23: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 24: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 25: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 26: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 27: MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ - test-repos/dotnet-docs/SECURITY.md: 17: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ - test-repos/dotnet-docs/docs/architecture/blazor-for-web-forms-developers/security-authentication-authorization.md: 258: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/architecture/cloud-native/deploy-eshoponcontainers-azure.md: 60: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/core/diagnostics/built-in-metrics-aspnetcore.md: 12: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/core/testing/microsoft-testing-platform-architecture-extensions.md: 501: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/core/testing/unit-testing-code-coverage.md: 274: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/csharp/delegate-class.md: 41: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/csharp/tour-of-csharp/tutorials/list-collection.md: 94: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/dotnet-docs/docs/csharp/whats-new/breaking-changes.md: 10: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/framework/windows-workflow-foundation/samples/sql-tracking.md: 42: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/fsharp/language-reference/computation-expressions.md: 277: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1066.md: 28: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1067.md: 28: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md: 340: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md: 580: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/deployment/consul-deployment.md: 11: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/streaming/index.md: 107: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/streaming/streams-programming-apis.md: 14: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/streaming/streams-programming-apis.md: 321: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/streaming/streams-why.md: 68: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/orleans/tutorials-and-samples/overview-helloworld.md: 17: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/docs/standard/native-interop/tutorial-comwrappers.md: 251: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/core-changes/aspnetcore/3.0/authn-apis-json-types.md: 16: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/core-changes/aspnetcore/3.0/authn-google-plus-authn-changes.md: 19: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/core-changes/aspnetcore/3.0/kestrel-connection-adapters-removed.md: 25: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/migration-guide/retargeting/networking/only-tls-10-11-12-protocols-supported-systemnetservicepointmanager.md: 11: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/migration-guide/retargeting/security/cspparametersparentwindowhandle-now-expects-hwnd-value.md: 23: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md: 9: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md: 9: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/includes/migration-guide/runtime/runtime/improved-wcf-chain-trust-certificate-validation-for-nettcp-authentication.md: 5: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/dotnet-docs/samples/snippets/core/tutorials/netcore-hosting/csharp/HostWithHostFxr/readme.md: 3: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/dotnet-docs/README.md:21:383 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + test-repos/dotnet-docs/README.md:39:451 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + test-repos/dotnet-docs/SECURITY.md:21:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:22:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:23:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:24:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:25:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:26:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:27:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊ + test-repos/dotnet-docs/SECURITY.md:17:252 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]` diff --git a/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap index d0407aa6..6e211bc9 100644 Binary files a/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap and b/test/snapshots/markdownlint-test-repos-dotnet-docs.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md index 3758a9a7..f8e09a68 100644 --- a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md +++ b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md @@ -8,44 +8,71 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/mdn-content/files/en-us/learn_web_development/core/css_layout/fundamental_layout_comprehension/index.md: 16: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/core/scripting/functions/index.md: 91: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/core/structuring_content/creating_links/index.md: 255: MD059/descriptive-link-text Link text should be descriptive [Context: "[Click here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/core/styling_basics/box_model/index.md: 294: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/extensions/performance/multimedia/index.md: 105: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/extensions/server-side/django/development_environment/index.md: 226: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/extensions/server-side/django/development_environment/index.md: 465: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/extensions/server-side/django/models/index.md: 492: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/extensions/server-side/express_nodejs/deployment/index.md: 380: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/howto/tools_and_setup/how_much_does_it_cost/index.md: 81: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/howto/tools_and_setup/how_much_does_it_cost/index.md: 81: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/learn_web_development/howto/web_mechanics/what_is_a_domain_name/index.md: 175: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mdn/writing_guidelines/howto/document_an_http_header/index.md: 21: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mdn/writing_guidelines/howto/json_structured_data/index.md: 90: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mdn/writing_guidelines/howto/json_structured_data/index.md: 123: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mdn/writing_guidelines/howto/json_structured_data/index.md: 132: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md: 458: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md: 399: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/17/index.md: 39: MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/22/index.md: 57: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/29/index.md: 29: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/updating_extensions/index.md: 162: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/44/index.md: 218: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/accessibility/aria/reference/roles/index.md: 88: MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ - test-repos/mdn-content/files/en-us/web/api/background_fetch_api/index.md: 89: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/api/filesystem/index.md: 12: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/api/html_drag_and_drop_api/index.md: 243: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/api/media_source_extensions_api/transcoding_assets_for_mse/index.md: 28: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/api/webglrenderingcontext/getextension/index.md: 46: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/api/webglrenderingcontext/getsupportedextensions/index.md: 44: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/css/justify-items/index.md: 62: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/mdn-content/files/en-us/web/css/justify-items/index.md: 63: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/mdn-content/files/en-us/web/css/justify-items/index.md: 64: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/mdn-content/files/en-us/web/html/attributes/rel/preconnect/index.md: 22: MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ - test-repos/mdn-content/files/en-us/web/performance/guides/dns-prefetch/index.md: 73: MD059/descriptive-link-text Link text should be descriptive [Context: "[\\]"]␊ - test-repos/mdn-content/files/en-us/web/performance/guides/speculative_loading/index.md: 49: MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ - test-repos/mdn-content/files/en-us/web/performance/guides/speculative_loading/index.md: 89: MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ - test-repos/mdn-content/files/en-us/web/svg/tutorials/svg_from_scratch/getting_started/index.md: 28: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/uri/reference/schemes/data/index.md: 27: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/uri/reference/schemes/data/index.md: 27: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mdn-content/files/en-us/web/xml/xpath/guides/introduction_to_using_xpath_in_javascript/index.md: 42: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/mdn-content/files/en-us/glossary/denial_of_service/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/flex/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/function/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/https_rr/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/parameter/index.md:31 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/prefetch/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/session_hijacking/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/time_to_interactive/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h4]␊ + test-repos/mdn-content/files/en-us/glossary/truthy/index.md:30 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/xhtml/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/glossary/xlink/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/learn_web_development/howto/solve_html_problems/index.md:11 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/add-ons/contact_us/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/externally_connectable/index.md:53 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/host_permissions/index.md:39 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/1.5/what_s_new_in_1.5_alpha/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/dom_improvements/index.md:20 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/full_page_zoom/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/notable_bugs_fixed/index.md:26 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/templates/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/xul_improvements_in_firefox_3/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/accessibility/aria/how_to/file_aria-related_bugs/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/canvasrenderingcontext2d/save/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/expectedimprovement/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/presentationarea/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/fetchevent/respondwith/index.md:30 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/htmlelement/dataset/index.md:40 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/htmlelement/editcontext/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/reportbody/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/bytesdiscardedonsend/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/consentrequestssent/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsdiscardedonsend/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsreceived/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetssent/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/foundation/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/priority/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/usernamefragment/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcrtpreceiver/transform/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/rtcrtpsender/transform/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/texttrack/mode/index.md:21 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/css/css_selectors/selector_structure/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/css/font-variant-caps/index.md:54 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/attributes/crossorigin/index.md:63 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/attributes/maxlength/index.md:18 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/attributes/required/index.md:26 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/elements/input/time/index.md:43 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/data-_star_/index.md:73 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/itemscope/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/display_override/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/file_handlers/index.md:22 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/launch_handler/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/note_taking/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/protocol_handlers/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/serviceworker/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/share_target/index.md:20 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/app_structure/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/svg/guides/namespaces_crash_course/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/svg/guides/scripting/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/svg/tutorials/svg_from_scratch/other_content_in_svg/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/webdriver/reference/capabilities/firefoxoptions/index.md:18 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h5]␊ + test-repos/mdn-content/files/en-us/web/xml/xpath/guides/snippets/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/xml/xslt/guides/common_errors/index.md:8 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/xml/xslt/guides/pi_parameters/index.md:8 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/web/xml/xslt/reference/element/stylesheet/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/mdn-content/files/en-us/webassembly/guides/existing_c_to_wasm/index.md:66 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]` diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap index 8c7fc2c5..cef24737 100644 Binary files a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap and b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-repos-small.mjs.md b/test/snapshots/markdownlint-test-repos-small.mjs.md index 8d87b691..e02c5e6c 100644 --- a/test/snapshots/markdownlint-test-repos-small.mjs.md +++ b/test/snapshots/markdownlint-test-repos-small.mjs.md @@ -8,236 +8,307 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/apache-airflow/clients/python/CHANGELOG.md: 40: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 47: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 66: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.8.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 89: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.3"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 100: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.2"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 116: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 139: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.2"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 155: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 171: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 194: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 210: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 230: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.3.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 248: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.2.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 269: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.1.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md: 290: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.0.0"]␊ - test-repos/apache-airflow/clients/python/README.md: 22: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Overview"]␊ - test-repos/apache-airflow/clients/python/README.md: 135: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Trying the API"]␊ - test-repos/apache-airflow/clients/python/README.md: 175: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Authentication"]␊ - test-repos/apache-airflow/clients/python/README.md: 193: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Errors"]␊ - test-repos/apache-airflow/clients/python/README.md: 321: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 321: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 322: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 322: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 323: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 323: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 324: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 324: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 325: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 325: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 326: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 326: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 327: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 327: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 328: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 328: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 329: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 329: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 330: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 330: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 331: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 331: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 332: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 332: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 333: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 333: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 334: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 334: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 335: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 335: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 336: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 336: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 337: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 337: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 338: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 338: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 339: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 339: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 340: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 340: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 341: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 341: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 342: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 342: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 343: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 343: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 344: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 344: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 345: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 345: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 346: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 346: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 347: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 347: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 348: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 348: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 349: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 349: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 350: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 350: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 351: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 351: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 352: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 352: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 353: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 353: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 354: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 354: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 355: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 355: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 356: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 356: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 357: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 357: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 358: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 358: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 359: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 359: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 360: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 360: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 361: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 361: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 362: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 362: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 363: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 363: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 364: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 364: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 365: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 365: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 366: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 366: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 367: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 367: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 368: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 368: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 369: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 369: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 370: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 370: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 371: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 371: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 372: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 372: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 373: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 373: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 374: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 374: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 375: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 375: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 376: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 376: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 377: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 377: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 378: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 378: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 379: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 379: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 380: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 380: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 381: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 381: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 382: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 382: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 383: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 383: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 384: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 384: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 385: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 385: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 386: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 386: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 387: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 387: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 388: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 388: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 389: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 389: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 390: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 390: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 391: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 391: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 392: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 392: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 393: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 393: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 394: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 394: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 395: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 395: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 396: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ - test-repos/apache-airflow/clients/python/README.md: 396: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ - test-repos/apache-airflow/dev/MANUALLY_BUILDING_IMAGES.md: 75: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/apache-airflow/dev/MANUALLY_GENERATING_IMAGE_CACHE_AND_CONSTRAINTS.md: 118: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/apache-airflow/dev/PROJECT_GUIDELINES.md: 42: MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ - test-repos/apache-airflow/generated/README.md: 23: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md: 30: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Scope"]␊ - test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md: 38: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Tenants"]␊ - test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md: 143: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Conventions"]␊ - test-repos/apache-airflow/providers/apache/beam/src/airflow/providers/apache/beam/README.md: 61: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Provider classes summary"]␊ - test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md: 61: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Verifying other providers to u..."]␊ - test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md: 71: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "External usage, tracking API c..."]␊ - test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md: 81: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Possible future work"]␊ - test-repos/apache-airflow/providers/google/tests/system/google/README.md: 77: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md: 29: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Status update"]␊ - test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md: 33: MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "List of Quarantined issues"]` + `test-repos/apache-airflow/clients/python/CHANGELOG.md:38 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v3.0.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:90 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.10.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:110 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:117 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:136 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.8.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:159 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.3"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:170 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.2"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:186 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:209 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.2"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:225 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:241 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:264 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:280 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:300 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.3.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:318 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.2.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:339 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.1.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:360 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.0.0"]␊ + test-repos/apache-airflow/clients/python/README.md:22 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Overview"]␊ + test-repos/apache-airflow/clients/python/README.md:135 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Trying the API"]␊ + test-repos/apache-airflow/clients/python/README.md:176 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Authentication"]␊ + test-repos/apache-airflow/clients/python/README.md:186 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Errors"]␊ + test-repos/apache-airflow/clients/python/README.md:350:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:350:43 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:351:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:351:60 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:352:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:352:128 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:353:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:353:171 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:354:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:354:194 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:355:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:355:186 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:356:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:356:104 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:357:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:357:136 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:358:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:358:125 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:359:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:359:121 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:360:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:360:159 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:361:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:361:96 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:362:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:362:182 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:363:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:363:174 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:364:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:364:141 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:365:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:365:141 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:366:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:366:121 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:367:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:367:153 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:368:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:368:125 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:369:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:369:117 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:370:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:370:137 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:371:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:371:145 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:372:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:372:98 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:373:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:373:150 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:374:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:374:131 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:375:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:375:169 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:376:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:376:151 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:377:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:377:139 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:378:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:378:126 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:379:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:379:147 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:380:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:380:127 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:381:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:381:132 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:382:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:382:102 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:383:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:383:90 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:384:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:384:122 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:385:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:385:99 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:386:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:386:84 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:387:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:387:98 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:388:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:388:92 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:389:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:389:143 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:390:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:390:123 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:391:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:391:142 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:392:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:392:141 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:393:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:393:129 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:394:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:394:119 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:395:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:395:158 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:396:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:396:191 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:397:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:397:238 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:398:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:398:137 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:399:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:399:129 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:400:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:400:129 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:401:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:401:113 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:402:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:402:157 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:403:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:403:143 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:404:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:404:132 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:405:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:405:129 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:406:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:406:117 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:407:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:407:179 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:408:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:408:150 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:409:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:409:135 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:410:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:410:84 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:411:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:411:85 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:412:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:412:89 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:413:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:413:108 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:414:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:414:102 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:415:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:415:95 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:416:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:416:111 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:417:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:417:99 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:418:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:418:90 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:419:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:419:107 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:420:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:420:91 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:421:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:421:114 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:422:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:422:111 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:423:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:423:104 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:424:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:424:183 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:425:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:425:171 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:426:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:426:216 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:427:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:427:240 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:428:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:428:276 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:429:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:429:218 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:430:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:430:183 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:431:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:431:235 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:432:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:432:273 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:433:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:433:207 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:434:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:434:243 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:435:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:435:176 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:436:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:436:200 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:437:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:437:191 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:438:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:438:229 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:439:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:439:223 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:440:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:440:261 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:441:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:441:182 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:442:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:442:119 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:443:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:443:138 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:444:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:444:126 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:445:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:445:114 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:446:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:446:134 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:447:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:447:115 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:448:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:448:104 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:449:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:449:180 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:450:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:450:176 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:451:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:451:181 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/clients/python/README.md:452:1 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊ + test-repos/apache-airflow/clients/python/README.md:452:192 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊ + test-repos/apache-airflow/dev/MANUALLY_BUILDING_IMAGES.md:76:32 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/apache-airflow/dev/MANUALLY_GENERATING_IMAGE_CACHE_AND_CONSTRAINTS.md:114:32 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/apache-airflow/dev/PROJECT_GUIDELINES.md:42:3 MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ + test-repos/apache-airflow/generated/README.md:23:43 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md:30 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Scope"]␊ + test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md:38 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Tenants"]␊ + test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md:143 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Conventions"]␊ + test-repos/apache-airflow/providers/apache/beam/src/airflow/providers/apache/beam/README.md:61 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Provider classes summary"]␊ + test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md:61 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Verifying other providers to u..."]␊ + test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md:71 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "External usage, tracking API c..."]␊ + test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md:81 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Possible future work"]␊ + test-repos/apache-airflow/providers/google/tests/system/google/README.md:77:4 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md:29 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Status update"]␊ + test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md:33 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "List of Quarantined issues"]` ## https://github.com/electron/electron > Expected linting violations - `test-repos/electron-electron/CONTRIBUTING.md: 15: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/app.md: 687: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/app.md: 689: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/session.md: 838: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/structures/printer-info.md: 8: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/structures/printer-info.md: 8: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/structures/web-preferences.md: 19: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/structures/web-preferences.md: 24: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/api/web-contents.md: 132: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/breaking-changes.md: 1227: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/breaking-changes.md: 1785: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/breaking-changes.md: 1806: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/breaking-changes.md: 1910: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/breaking-changes.md: 2058: MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ - test-repos/electron-electron/docs/development/build-instructions-macos.md: 30: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/build-instructions-macos.md: 58: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/build-instructions-macos.md: 58: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/build-instructions-macos.md: 58: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/creating-api.md: 47: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/creating-api.md: 161: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/development/pull-requests.md: 183: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/electron-timelines.md: 91: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/fuses.md: 141: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/launch-app-from-url-in-another-app.md: 66: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/mac-app-store-submission-guide.md: 63: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/offscreen-rendering.md: 40: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/snapcraft.md: 24: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/tray.md: 67: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/windows-store-guide.md: 104: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/windows-store-guide.md: 107: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/electron-electron/docs/tutorial/windows-store-guide.md: 137: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/electron-electron/docs/api/structures/notification-action.md:10:163 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/api/structures/notification-action.md:10:431 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:12 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:12 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:33 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:33 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2337:47 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:12:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:13:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:14:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:15:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:16:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:17:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:18:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:19:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:20:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:21:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:22:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:23:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:24:10 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:32:208 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:33:182 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:45 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:66 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:368 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:60 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:70 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:540 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:30:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:30:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:31:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:31:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:32:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:32:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:33:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:33:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:34:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:34:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:35:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:35:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:36:27 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:36:145 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/menus.md:203:32 MD052/reference-links-images Reference links and images should use a label that is defined [Missing link or image reference definition: "sharemenu"] [Context: "[share menu][ShareMenu]"]` ## https://github.com/eslint/eslint > Expected linting violations - `test-repos/eslint-eslint/docs/src/extend/custom-rule-tutorial.md: 500: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/eslint-eslint/docs/src/extend/custom-rules.md: 141: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/eslint-eslint/docs/src/extend/custom-rules.md: 148: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/eslint-eslint/docs/src/integrate/integration-tutorial.md: 278: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/eslint-eslint/docs/src/extend/custom-rule-tutorial.md:502:58 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/eslint-eslint/docs/src/extend/custom-rules.md:141:65 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/eslint-eslint/docs/src/extend/custom-rules.md:148:148 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/eslint-eslint/docs/src/integrate/integration-tutorial.md:278:2 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` ## https://github.com/mkdocs/mkdocs @@ -249,286 +320,526 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/mochajs-mocha/.github/CODE_OF_CONDUCT.md: 63: MD034/no-bare-urls Bare URL used [Context: "report@lists.openjsf.org"]␊ - test-repos/mochajs-mocha/.github/CONTRIBUTING.md: 42: MD051/link-fragments Link fragments should be valid [Context: "[⚽️ About Project Goals](#⚽️-about-project-goals)"]␊ - test-repos/mochajs-mocha/PROJECT_CHARTER.md: 51: MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ - test-repos/mochajs-mocha/PROJECT_CHARTER.md: 56: MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ - test-repos/mochajs-mocha/README.md: 39: MD045/no-alt-text Images should have alternate text (alt text)␊ - test-repos/mochajs-mocha/docs/changelogs/CHANGELOG_V3_older.md: 207: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/mochajs-mocha/docs/index.md: 32: MD051/link-fragments Link fragments should be valid [Context: "[global variable leak detection](#-check-leaks)"]␊ - test-repos/mochajs-mocha/docs/index.md: 33: MD051/link-fragments Link fragments should be valid [Context: "[optionally run tests that match a regexp](#-grep-regexp-g-regexp)"]␊ - test-repos/mochajs-mocha/docs/index.md: 34: MD051/link-fragments Link fragments should be valid [Context: "[auto-exit to prevent "hanging" with an active loop](#-exit)"]␊ - test-repos/mochajs-mocha/docs/index.md: 36: MD051/link-fragments Link fragments should be valid [Context: "[config file support](#-config-path)"]␊ - test-repos/mochajs-mocha/docs/index.md: 37: MD051/link-fragments Link fragments should be valid [Context: "[node debugger support](#-inspect-inspect-brk-inspect)"]␊ - test-repos/mochajs-mocha/docs/index.md: 39: MD051/link-fragments Link fragments should be valid [Context: "[source-map support](#-enable-source-maps)"]␊ - test-repos/mochajs-mocha/docs/index.md: 45: MD051/link-fragments Link fragments should be valid [Context: "[arbitrary transpiler support (coffee-script etc)](#-compilers)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1248: MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1266: MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1287: MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1293: MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1318: MD051/link-fragments Link fragments should be valid [Context: "[\`--grep\`](#-grep-regexp-g-regexp)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1318: MD051/link-fragments Link fragments should be valid [Context: "[\`--fgrep\`](#-fgrep-string-f-string)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1329: MD051/link-fragments Link fragments should be valid [Context: "[\`--file\`](#-file-file)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1330: MD051/link-fragments Link fragments should be valid [Context: "[\`--sort\`](#-sort-s)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1336: MD051/link-fragments Link fragments should be valid [Context: "[globally](#-timeout-ms-t-ms)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1397: MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1404: MD051/link-fragments Link fragments should be valid [Context: "[\`--timeout\`](#-timeout-ms-t-ms)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1414: MD051/link-fragments Link fragments should be valid [Context: "[job count](#-jobs-count-j-count)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1428: MD051/link-fragments Link fragments should be valid [Context: "[\`--require\`](#-require-module-r-module)"]␊ - test-repos/mochajs-mocha/docs/index.md: 1638: MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md: 2118: MD051/link-fragments Link fragments should be valid [Context: "[Watch mode](#-watch-w)"]␊ - test-repos/mochajs-mocha/docs/index.md: 2405: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-notifications"] [Context: "[caniuse-notifications]: https..."]␊ - test-repos/mochajs-mocha/docs/index.md: 2406: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-promises"] [Context: "[caniuse-promises]: https://ca..."]␊ - test-repos/mochajs-mocha/docs/index.md: 2437: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mocha-website"] [Context: "[mocha-website]: https://mocha..."]␊ - test-repos/mochajs-mocha/docs/index.md: 2206: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mochajs-mocha/docs/index.md: 2276: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/mochajs-mocha/.github/CODE_OF_CONDUCT.md:63:59 MD034/no-bare-urls Bare URL used [Context: "report@lists.openjsf.org"]␊ + test-repos/mochajs-mocha/.github/CONTRIBUTING.md:42:110 MD051/link-fragments Link fragments should be valid [Context: "[⚽️ About Project Goals](#⚽️-about-project-goals)"]␊ + test-repos/mochajs-mocha/docs/changelogs/CHANGELOG_V3_older.md:207:127 MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ + test-repos/mochajs-mocha/docs/index.md:34:3 MD051/link-fragments Link fragments should be valid [Context: "[global variable leak detection](#-check-leaks)"]␊ + test-repos/mochajs-mocha/docs/index.md:35:3 MD051/link-fragments Link fragments should be valid [Context: "[optionally run tests that match a regexp](#-grep-regexp-g-regexp)"]␊ + test-repos/mochajs-mocha/docs/index.md:36:3 MD051/link-fragments Link fragments should be valid [Context: "[auto-exit to prevent "hanging" with an active loop](#-exit)"]␊ + test-repos/mochajs-mocha/docs/index.md:38:3 MD051/link-fragments Link fragments should be valid [Context: "[config file support](#-config-path)"]␊ + test-repos/mochajs-mocha/docs/index.md:39:3 MD051/link-fragments Link fragments should be valid [Context: "[node debugger support](#-inspect-inspect-brk-inspect)"]␊ + test-repos/mochajs-mocha/docs/index.md:41:3 MD051/link-fragments Link fragments should be valid [Context: "[source-map support](#-enable-source-maps)"]␊ + test-repos/mochajs-mocha/docs/index.md:47:3 MD051/link-fragments Link fragments should be valid [Context: "[arbitrary transpiler support (coffee-script etc)](#-compilers)"]␊ + test-repos/mochajs-mocha/docs/index.md:1262:32 MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1280:66 MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ + test-repos/mochajs-mocha/docs/index.md:1301:80 MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ + test-repos/mochajs-mocha/docs/index.md:1307:140 MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1332:8 MD051/link-fragments Link fragments should be valid [Context: "[\`--grep\`](#-grep-regexp-g-regexp)"]␊ + test-repos/mochajs-mocha/docs/index.md:1332:46 MD051/link-fragments Link fragments should be valid [Context: "[\`--fgrep\`](#-fgrep-string-f-string)"]␊ + test-repos/mochajs-mocha/docs/index.md:1343:3 MD051/link-fragments Link fragments should be valid [Context: "[\`--file\`](#-file-file)"]␊ + test-repos/mochajs-mocha/docs/index.md:1344:3 MD051/link-fragments Link fragments should be valid [Context: "[\`--sort\`](#-sort-s)"]␊ + test-repos/mochajs-mocha/docs/index.md:1350:253 MD051/link-fragments Link fragments should be valid [Context: "[globally](#-timeout-ms-t-ms)"]␊ + test-repos/mochajs-mocha/docs/index.md:1411:58 MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1418:115 MD051/link-fragments Link fragments should be valid [Context: "[\`--timeout\`](#-timeout-ms-t-ms)"]␊ + test-repos/mochajs-mocha/docs/index.md:1428:69 MD051/link-fragments Link fragments should be valid [Context: "[job count](#-jobs-count-j-count)"]␊ + test-repos/mochajs-mocha/docs/index.md:1442:54 MD051/link-fragments Link fragments should be valid [Context: "[\`--require\`](#-require-module-r-module)"]␊ + test-repos/mochajs-mocha/docs/index.md:1652:112 MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:2132:3 MD051/link-fragments Link fragments should be valid [Context: "[Watch mode](#-watch-w)"]␊ + test-repos/mochajs-mocha/docs/index.md:2431:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-notifications"] [Context: "[caniuse-notifications]: https..."]␊ + test-repos/mochajs-mocha/docs/index.md:2432:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-promises"] [Context: "[caniuse-promises]: https://ca..."]␊ + test-repos/mochajs-mocha/docs/index.md:2463:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mocha-website"] [Context: "[mocha-website]: https://mocha..."]␊ + test-repos/mochajs-mocha/docs/index.md:2230:124 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/mochajs-mocha/docs/index.md:2302:81 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/mochajs-mocha/PROJECT_CHARTER.md:51:153 MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ + test-repos/mochajs-mocha/PROJECT_CHARTER.md:56:93 MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ + test-repos/mochajs-mocha/README.md:39:46 MD045/no-alt-text Images should have alternate text (alt text)` ## https://github.com/pi-hole/docs > Expected linting violations - `test-repos/pi-hole-docs/docs/ftldns/compile.md: 56: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/pi-hole-docs/docs/guides/dns/upstream-dns-providers.md: 140: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/pi-hole-docs/docs/guides/vpn/openvpn/clients.md: 38: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/pi-hole-docs/docs/guides/vpn/openvpn/dual-operation.md: 5: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/pi-hole-docs/docs/guides/vpn/openvpn/firewall.md: 61: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md: 15: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` + `test-repos/pi-hole-docs/docs/api/tls.md:28:66 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/api/tls.md:49:64 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/api/tls.md:69:74 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/api/tls.md:70:73 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:1 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:16 MD060/table-column-style Table column style [Table pipe has space to the left for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:16 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:31 MD060/table-column-style Table column style [Table pipe has space to the left for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:31:15 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:32:14 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:33:12 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:34:15 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:35:18 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:36:17 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:37:13 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:38:21 MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ + test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:119:11 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:119:11 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:131:8 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:66:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:66:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:67:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:67:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:68:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:68:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:69:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:69:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:70:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:70:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:88:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:88:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:89:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:89:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:90:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:90:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:91:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:91:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:92:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:92:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:116:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:116:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:117:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:117:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:118:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:118:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:119:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:119:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:120:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:120:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:139:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:139:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:140:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:140:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:141:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:141:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:142:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:142:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:143:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:143:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:162:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:162:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:163:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:163:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:164:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:164:46 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:165:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:165:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:166:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:166:56 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:190:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:190:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:191:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:191:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:192:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:192:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:193:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:193:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:194:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:194:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:212:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:212:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:213:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:213:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:214:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:214:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:215:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:215:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:216:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:216:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:235:23 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:235:32 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:236:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:236:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:237:29 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:237:47 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:238:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:238:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:239:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/group_management/example.md:239:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/guides/misc/allowlist-denylist.md:14:96 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/coverage.md:7 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:4:1 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:11:25 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:34:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:36:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:42:1 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:42:4 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:43:1 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:44:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:46:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:61:1 MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:62:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:64:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:72:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:74:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:82:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:84:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:96:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:98:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:126:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:128:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:136:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:138:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:152:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:154:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:168:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:170:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:178:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:180:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:188:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:190:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:198:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:200:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:208:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:210:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:220:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:222:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:230:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:232:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:240:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/pihole-command.md:242:19 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:7 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:54:192 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:55:122 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:56:122 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:57:57 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:57:68 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:57:370 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/main/prerequisites.md:58:123 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:84:7 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:84:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:85:10 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:85:10 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:86:10 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:86:10 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:137:6 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:142:50 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:143:67 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:143:67 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:144:2 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:144:2 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:144:26 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:144:26 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:145:40 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:146:6 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/pi-hole-docs/docs/regex/tutorial.md:147:68 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]` ## https://github.com/v8/v8.dev > Expected linting violations - `test-repos/v8-v8-dev/src/blog/adaptor-frame.md: 75: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/adaptor-frame.md: 77: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/adaptor-frame.md: 89: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/adaptor-frame.md: 232: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/fast-for-in.md: 271: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Internal method | Hand..."]␊ - test-repos/v8-v8-dev/src/blog/fast-for-in.md: 277: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`[[OwnPropertyKeys]]\` | \`own..."]␊ - test-repos/v8-v8-dev/src/blog/fast-for-in.md: 351: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Position | Name ..."]␊ - test-repos/v8-v8-dev/src/blog/fast-for-in.md: 369: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| 17 | \`ForInFilter\` ..."]␊ - test-repos/v8-v8-dev/src/blog/high-performance-cpp-gc.md: 29: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/jspi-ot.md: 13: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/jspi-ot.md: 13: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/jspi-ot.md: 23: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/jspi-ot.md: 38: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/lazy-unlinking.md: 183: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Benchmark | Kind ..."]␊ - test-repos/v8-v8-dev/src/blog/lazy-unlinking.md: 188: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| youtube.com | Average size ..."]␊ - test-repos/v8-v8-dev/src/blog/maglev.md: 143: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Benchmark | Energy Consump..."]␊ - test-repos/v8-v8-dev/src/blog/maglev.md: 146: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Speedometer | -10% ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 84: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 85: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 86: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 87: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 133: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 134: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 135: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 136: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 137: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 138: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 156: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 157: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 158: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 159: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 160: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 161: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 162: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 163: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 164: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 165: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 166: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 167: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 187: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 188: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 189: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 190: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 191: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 192: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 193: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 194: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 195: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 196: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 197: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 198: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 199: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 200: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 201: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 82: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 88: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 131: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 139: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 185: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ - test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md: 202: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ - test-repos/v8-v8-dev/src/blog/optimizing-v8-memory.md: 35: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 192: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 193: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 194: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 195: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 196: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 197: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 198: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 215: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 216: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 217: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 218: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 219: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 220: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 330: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 331: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 332: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 333: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 334: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 335: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 198: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 333: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 334: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ - test-repos/v8-v8-dev/src/blog/pointer-compression.md: 335: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ - test-repos/v8-v8-dev/src/blog/react-cliff.md: 81: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| representation ..."]␊ - test-repos/v8-v8-dev/src/blog/react-cliff.md: 87: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| 64-bit IEEE-754 floating-poi..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 41: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 3. Return \`? HasOwnProperty(..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 55: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 5. Return \`true\`."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 91: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 1. Return \`! OrdinaryGetOwnP..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 177: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 10. Return \`NormalCompletion..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 191: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 7. Return \`NormalCompletion(..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 113: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Name | Description ..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 117: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`[[Target]]\` | Used for dire..."]␊ - test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 102: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/v8-nodejs.md: 29: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md: 46: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| || Des..."]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md: 53: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| ^^ | GC | -7%..."]␊ - test-repos/v8-v8-dev/src/blog/v8-release-86.md: 16: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/wasm-decompile.md: 153: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/wasm-decompile.md: 153: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/blog/wasm-decompile.md: 153: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/docs/become-committer.md: 34: MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/become-committer.md: 44: MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/blink-layout-tests.md: 11: MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ - test-repos/v8-v8-dev/src/docs/contribute.md: 23: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/docs/cross-compile-arm.md: 21: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/docs/design-review-guidelines.md: 41: MD034/no-bare-urls Bare URL used [Context: "v8-eng-review-owners@googlegro..."]␊ - test-repos/v8-v8-dev/src/docs/design-review-guidelines.md: 78: MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/design-review-guidelines.md: 80: MD034/no-bare-urls Bare URL used [Context: "v8-eng-review-owners@googlegro..."]␊ - test-repos/v8-v8-dev/src/docs/design-review-guidelines.md: 126: MD059/descriptive-link-text Link text should be descriptive [Context: "[Here]"]␊ - test-repos/v8-v8-dev/src/docs/feature-launch-process.md: 7: MD034/no-bare-urls Bare URL used [Context: "syg@chromium.org"]␊ - test-repos/v8-v8-dev/src/docs/feature-launch-process.md: 7: MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/feature-launch-process.md: 9: MD034/no-bare-urls Bare URL used [Context: "gdeepti@chromium.org"]␊ - test-repos/v8-v8-dev/src/docs/feature-launch-process.md: 9: MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/hidden-classes.md: 133: MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ - test-repos/v8-v8-dev/src/docs/official-support.md: 19: MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/respectful-code.md: 36: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Term | Suggested altern..."]␊ - test-repos/v8-v8-dev/src/docs/respectful-code.md: 45: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| redline | priority line, l..."]␊ - test-repos/v8-v8-dev/src/docs/torque.md: 527: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/docs/trace.md: 5: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/feature-support.md: 11: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/feature-support.md: 19: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/feature-support.md: 27: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/_intl-locale.md: 36: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/array-flat-flatmap.md: 77: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/at-method.md: 39: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/atomics.md: 203: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/atomics.md: 211: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/bigint.md: 267: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/class-fields.md: 194: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/class-fields.md: 202: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/class-fields.md: 210: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/class-static-initializer-blocks.md: 104: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/dynamic-import.md: 143: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/error-cause.md: 70: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/finding-in-arrays.md: 59: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/function-tostring.md: 33: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/globalthis.md: 43: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/import-assertions.md: 84: MD034/no-bare-urls Bare URL used [Context: "https://chromestatus.com/featu..."]␊ - test-repos/v8-v8-dev/src/features/import-assertions.md: 88: MD034/no-bare-urls Bare URL used [Context: "https://github.com/babel/babel..."]␊ - test-repos/v8-v8-dev/src/features/import-attributes.md: 59: MD034/no-bare-urls Bare URL used [Context: "https://chromestatus.com/featu..."]␊ - test-repos/v8-v8-dev/src/features/import-attributes.md: 61: MD034/no-bare-urls Bare URL used [Context: "https://developer.apple.com/do..."]␊ - test-repos/v8-v8-dev/src/features/import-attributes.md: 62: MD034/no-bare-urls Bare URL used [Context: "https://nodejs.org/docs/latest..."]␊ - test-repos/v8-v8-dev/src/features/import-attributes.md: 63: MD034/no-bare-urls Bare URL used [Context: "https://babeljs.io/blog/2023/0..."]␊ - test-repos/v8-v8-dev/src/features/intl-displaynames.md: 110: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-listformat.md: 91: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-listformat.md: 74: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Type | Opti..."]␊ - test-repos/v8-v8-dev/src/features/intl-listformat.md: 80: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| unit-narrow | \`{ t..."]␊ - test-repos/v8-v8-dev/src/features/intl-numberformat.md: 16: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-numberformat.md: 58: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-numberformat.md: 104: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-numberformat.md: 170: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-numberformat.md: 234: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-pluralrules.md: 126: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/intl-relativetimeformat.md: 175: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/iterator-helpers.md: 188: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/logical-assignment.md: 92: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/modules.md: 16: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/nullish-coalescing.md: 155: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/numeric-separators.md: 58: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/object-fromentries.md: 20: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/object-fromentries.md: 114: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/object-has-own.md: 37: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/object-rest-spread.md: 32: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/object-rest-spread.md: 91: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/optional-catch-binding.md: 37: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/optional-chaining.md: 136: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/private-brand-checks.md: 122: MD034/no-bare-urls Bare URL used [Context: "https://bugs.chromium.org/p/v8..."]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 35: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 66: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 95: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 120: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 23: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| name ..."]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md: 28: MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| [\`Promise.any\`](#promise.any..."]␊ - test-repos/v8-v8-dev/src/features/promise-finally.md: 82: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/regexp-match-indices.md: 134: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/regexp-v-flag.md: 254: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/simd.md: 217: MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ - test-repos/v8-v8-dev/src/features/stable-sort.md: 76: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/stable-sort.md: 84: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/string-matchall.md: 92: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/string-replaceall.md: 122: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/string-trimming.md: 42: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/subsume-json.md: 176: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/symbol-description.md: 53: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/top-level-await.md: 113: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/weak-references.md: 232: MD033/no-inline-html Inline HTML [Element: feature-support]␊ - test-repos/v8-v8-dev/src/features/well-formed-json-stringify.md: 32: MD033/no-inline-html Inline HTML [Element: feature-support]` + `test-repos/v8-v8-dev/src/blog/adaptor-frame.md:75:80 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/adaptor-frame.md:77:143 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/adaptor-frame.md:89:183 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/adaptor-frame.md:232:288 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/explicit-compile-hints.md:22:67 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/extras/understanding-ecmascript-part-2-extra.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/v8-v8-dev/src/blog/fast-for-in.md:271 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Internal method | Hand..."]␊ + test-repos/v8-v8-dev/src/blog/fast-for-in.md:277 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`[[OwnPropertyKeys]]\` | \`own..."]␊ + test-repos/v8-v8-dev/src/blog/fast-for-in.md:351 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Position | Name ..."]␊ + test-repos/v8-v8-dev/src/blog/fast-for-in.md:369 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| 17 | \`ForInFilter\` ..."]␊ + test-repos/v8-v8-dev/src/blog/fast-super.md:27 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ + test-repos/v8-v8-dev/src/blog/high-performance-cpp-gc.md:29:413 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/jspi-ot.md:13:53 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/jspi-ot.md:13:118 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/jspi-ot.md:23:25 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/jspi-ot.md:38:91 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/lazy-unlinking.md:183 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Benchmark | Kind ..."]␊ + test-repos/v8-v8-dev/src/blog/lazy-unlinking.md:188 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| youtube.com | Average size ..."]␊ + test-repos/v8-v8-dev/src/blog/maglev.md:143 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Benchmark | Energy Consump..."]␊ + test-repos/v8-v8-dev/src/blog/maglev.md:146 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Speedometer | -10% ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:84:67 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:85:67 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:86:67 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:87:67 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:133:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:134:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:135:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:136:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:137:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:138:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:156:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:157:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:158:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:159:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:160:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:161:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:162:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:163:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:164:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:165:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:166:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:167:64 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:187:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:188:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:189:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:190:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:191:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:192:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:193:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:194:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:195:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:196:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:197:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:198:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:199:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:200:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:201:66 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:82 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:88 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:131 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:139 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:185 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| C++ ..."]␊ + test-repos/v8-v8-dev/src/blog/oilpan-pointer-compression.md:202 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`\`\` ..."]␊ + test-repos/v8-v8-dev/src/blog/optimizing-v8-memory.md:35:290 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:192:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:193:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:194:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:195:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:196:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:197:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:198:76 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:215:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:216:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:217:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:218:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:219:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:220:74 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:330:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:331:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:332:79 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:333:81 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:334:81 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:335:81 MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:198:74 MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:333:79 MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:334:79 MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ + test-repos/v8-v8-dev/src/blog/pointer-compression.md:335:79 MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊ + test-repos/v8-v8-dev/src/blog/react-cliff.md:81 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| representation ..."]␊ + test-repos/v8-v8-dev/src/blog/react-cliff.md:87 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| 64-bit IEEE-754 floating-poi..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:41 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 3. Return \`? HasOwnProperty(..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:55 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 5. Return \`true\`."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:91 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 1. Return \`! OrdinaryGetOwnP..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:177 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 10. Return \`NormalCompletion..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:191 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 7. Return \`NormalCompletion(..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:113 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Name | Description ..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:117 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| \`[[Target]]\` | Used for dire..."]␊ + test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md:102:52 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/v8-nodejs.md:29:153 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:46 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| || Des..."]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:53 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| ^^ | GC | -7%..."]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:47:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:48:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:49:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:50:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:51:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:52:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:53:15 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-86.md:16:371 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:61 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:206 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:413 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/docs/become-committer.md:34:141 MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/become-committer.md:44:326 MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/blink-layout-tests.md:11:78 MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ + test-repos/v8-v8-dev/src/docs/contribute.md:23:19 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/docs/cross-compile-arm.md:21:93 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/docs/design-review-guidelines.md:41:227 MD034/no-bare-urls Bare URL used [Context: "v8-eng-review-owners@googlegro..."]␊ + test-repos/v8-v8-dev/src/docs/design-review-guidelines.md:78:50 MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/design-review-guidelines.md:80:27 MD034/no-bare-urls Bare URL used [Context: "v8-eng-review-owners@googlegro..."]␊ + test-repos/v8-v8-dev/src/docs/design-review-guidelines.md:126:2 MD059/descriptive-link-text Link text should be descriptive [Context: "[Here]"]␊ + test-repos/v8-v8-dev/src/docs/feature-launch-process.md:7:79 MD034/no-bare-urls Bare URL used [Context: "syg@chromium.org"]␊ + test-repos/v8-v8-dev/src/docs/feature-launch-process.md:7:100 MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/feature-launch-process.md:9:40 MD034/no-bare-urls Bare URL used [Context: "gdeepti@chromium.org"]␊ + test-repos/v8-v8-dev/src/docs/feature-launch-process.md:9:65 MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/hidden-classes.md:133:120 MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ + test-repos/v8-v8-dev/src/docs/official-support.md:19:15 MD034/no-bare-urls Bare URL used [Context: "v8-dev@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/respectful-code.md:36 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Term | Suggested altern..."]␊ + test-repos/v8-v8-dev/src/docs/respectful-code.md:45 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| redline | priority line, l..."]␊ + test-repos/v8-v8-dev/src/docs/torque.md:527:341 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/docs/trace.md:5:287 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/v8-v8-dev/src/feature-support.md:11:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/feature-support.md:19:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/feature-support.md:27:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/_intl-locale.md:36:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/array-flat-flatmap.md:77:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/at-method.md:39:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/atomics.md:203:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/atomics.md:211:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/bigint.md:267:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/class-fields.md:194:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/class-fields.md:202:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/class-fields.md:210:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/class-static-initializer-blocks.md:104:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/dynamic-import.md:143:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/error-cause.md:70:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/explicit-resource-management.md:214:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/finding-in-arrays.md:59:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/function-tostring.md:33:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/globalthis.md:43:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/import-assertions.md:84:29 MD034/no-bare-urls Bare URL used [Context: "https://chromestatus.com/featu..."]␊ + test-repos/v8-v8-dev/src/features/import-assertions.md:88:29 MD034/no-bare-urls Bare URL used [Context: "https://github.com/babel/babel..."]␊ + test-repos/v8-v8-dev/src/features/import-attributes.md:59:30 MD034/no-bare-urls Bare URL used [Context: "https://chromestatus.com/featu..."]␊ + test-repos/v8-v8-dev/src/features/import-attributes.md:61:31 MD034/no-bare-urls Bare URL used [Context: "https://developer.apple.com/do..."]␊ + test-repos/v8-v8-dev/src/features/import-attributes.md:62:32 MD034/no-bare-urls Bare URL used [Context: "https://nodejs.org/docs/latest..."]␊ + test-repos/v8-v8-dev/src/features/import-attributes.md:63:29 MD034/no-bare-urls Bare URL used [Context: "https://babeljs.io/blog/2023/0..."]␊ + test-repos/v8-v8-dev/src/features/intl-displaynames.md:110:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-listformat.md:91:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-listformat.md:74 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| Type | Opti..."]␊ + test-repos/v8-v8-dev/src/features/intl-listformat.md:80 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| unit-narrow | \`{ t..."]␊ + test-repos/v8-v8-dev/src/features/intl-numberformat.md:16:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-numberformat.md:58:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-numberformat.md:104:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-numberformat.md:170:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-numberformat.md:234:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-pluralrules.md:126:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/intl-relativetimeformat.md:175:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/iterator-helpers.md:188:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/logical-assignment.md:92:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/modules.md:16:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/nullish-coalescing.md:155:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/numeric-separators.md:58:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/object-fromentries.md:20:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/object-fromentries.md:114:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/object-has-own.md:37:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/object-rest-spread.md:32:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/object-rest-spread.md:91:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/optional-catch-binding.md:37:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/optional-chaining.md:136:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/private-brand-checks.md:122:29 MD034/no-bare-urls Bare URL used [Context: "https://bugs.chromium.org/p/v8..."]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:35:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:66:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:95:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:120:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:23 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| name ..."]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:28 MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| [\`Promise.any\`](#promise.any..."]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:25:172 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:26:162 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:27:162 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:28:172 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-finally.md:82:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/regexp-match-indices.md:134:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/regexp-v-flag.md:254:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/simd.md:217:197 MD059/descriptive-link-text Link text should be descriptive [Context: "[link]"]␊ + test-repos/v8-v8-dev/src/features/stable-sort.md:76:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/stable-sort.md:84:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/string-matchall.md:92:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/string-replaceall.md:122:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/string-trimming.md:42:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/subsume-json.md:176:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/symbol-description.md:53:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/top-level-await.md:113:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/weak-references.md:232:1 MD033/no-inline-html Inline HTML [Element: feature-support]␊ + test-repos/v8-v8-dev/src/features/well-formed-json-stringify.md:32:1 MD033/no-inline-html Inline HTML [Element: feature-support]` ## https://github.com/webhintio/hint > Expected linting violations - `test-repos/webhintio-hint/packages/hint-apple-touch-icons/README.md: 198: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "icon scaling"] [Context: "[icon scaling]: https://realfa..."]␊ - test-repos/webhintio-hint/packages/hint-apple-touch-icons/README.md: 202: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "web app manifest spec"] [Context: "[web app manifest spec]: https..."]␊ - test-repos/webhintio-hint/packages/hint-axe/README.md: 170: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "axe rules"] [Context: "[axe rules]: https://github.co..."]␊ - test-repos/webhintio-hint/packages/hint-compat-api/README.md: 48: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm docs"] [Context: "[npm docs]: https://docs.npmjs..."]␊ - test-repos/webhintio-hint/packages/hint-compat-api/docs/html.md: 153: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "global-attr"] [Context: "[global-attr]: https://develop..."]␊ - test-repos/webhintio-hint/packages/hint-detect-css-reflows/README.md: 96: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ - test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/composite.md: 73: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ - test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/layout.md: 73: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ - test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/paint.md: 73: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ - test-repos/webhintio-hint/packages/hint-doctype/README.md: 130: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm docs"] [Context: "[npm docs]: https://docs.npmjs..."]␊ - test-repos/webhintio-hint/packages/hint-highest-available-document-mode/README.md: 420: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊ - test-repos/webhintio-hint/packages/hint-http-compression/README.md: 1087: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "gzip is not enough"] [Context: "[gzip is not enough]: https://..."]␊ - test-repos/webhintio-hint/packages/hint-meta-viewport/README.md: 268: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mdn viewport meta tag"] [Context: "[mdn viewport meta tag]: https..."]␊ - test-repos/webhintio-hint/packages/hint-meta-viewport/README.md: 271: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "ppk initial-scale"] [Context: "[ppk initial-scale]: https://w..."]␊ - test-repos/webhintio-hint/packages/hint-minified-js/README.md: 102: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm documentation"] [Context: "[NPM documentation]:"]␊ - test-repos/webhintio-hint/packages/hint-no-p3p/README.md: 157: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "support"] [Context: "[support]: https://en.wikipedi..."]␊ - test-repos/webhintio-hint/packages/hint-no-protocol-relative-urls/README.md: 110: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "ie issue"] [Context: "[ie issue]: https://www.steves..."]␊ - test-repos/webhintio-hint/packages/hint-performance-budget/README.md: 198: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "tcp handshake"] [Context: "[tcp handshake]: https://hpbn...."]␊ - test-repos/webhintio-hint/packages/hint-strict-transport-security/README.md: 278: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊ - test-repos/webhintio-hint/packages/hint-x-content-type-options/README.md: 181: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "fetch spec issue"] [Context: "[fetch spec issue]: https://gi..."]␊ - test-repos/webhintio-hint/packages/hint/docs/about/CONTRIBUTORS.md: 10: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊ - test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md: 218: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "openjs foundation"] [Context: "[OpenJS Foundation]: https://o..."]␊ - test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md: 219: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint org"] [Context: "[webhint org]: https://github...."]␊ - test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/architecture.md: 78: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "typescript"] [Context: "[typescript]: https://www.type..."]␊ - test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md: 120: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm"] [Context: "[npm]: https://www.npmjs.com/g..."]␊ - test-repos/webhintio-hint/packages/hint/docs/contributor-guide/how-to/hint.md: 150: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "custom hint"] [Context: "[custom hint]: ../guides/creat..."]␊ - test-repos/webhintio-hint/packages/hint/docs/contributor-guide/how-to/hint.md: 154: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npx issue"] [Context: "[npx issue]: https://github.co..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 58: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "jenkins"] [Context: "[jenkins]: https://jenkins.io"]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 59: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "local-server"] [Context: "[local-server]: #test-a-local-..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 62: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint github"] [Context: "[webhint github]: https://gith..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 63: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint repo"] [Context: "[webhint repo]: https://github..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 64: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint.io"] [Context: "[webhint.io]: https://webhint...."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md: 65: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhintio repo"] [Context: "[webhintio repo]: https://gith..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md: 4: MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/index.md: 178: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "nodejsdownloadcurrent"] [Context: "[NodejsDownloadCurrent]: https..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/troubleshoot/summary.md: 137: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "githubwebhintiohint308"] [Context: "[GithubWebhintioHint308]: http..."]␊ - test-repos/webhintio-hint/packages/hint/docs/user-guide/troubleshoot/summary.md: 141: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npmjspackageiltorb"] [Context: "[NpmjsPackageIltorb]: https://..."]␊ - test-repos/webhintio-hint/packages/parser-html/README.md: 51: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "events"] [Context: "[events]: https://webhint.io/d..."]` + `test-repos/webhintio-hint/packages/hint-apple-touch-icons/README.md:198:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "icon scaling"] [Context: "[icon scaling]: https://realfa..."]␊ + test-repos/webhintio-hint/packages/hint-apple-touch-icons/README.md:202:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "web app manifest spec"] [Context: "[web app manifest spec]: https..."]␊ + test-repos/webhintio-hint/packages/hint-axe/README.md:170:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "axe rules"] [Context: "[axe rules]: https://github.co..."]␊ + test-repos/webhintio-hint/packages/hint-compat-api/docs/html.md:153:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "global-attr"] [Context: "[global-attr]: https://develop..."]␊ + test-repos/webhintio-hint/packages/hint-compat-api/README.md:48:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm docs"] [Context: "[npm docs]: https://docs.npmjs..."]␊ + test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/composite.md:73:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ + test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/layout.md:73:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ + test-repos/webhintio-hint/packages/hint-detect-css-reflows/docs/paint.md:73:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ + test-repos/webhintio-hint/packages/hint-detect-css-reflows/README.md:96:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "understanding-critical-path"] [Context: "[understanding-critical-path]:..."]␊ + test-repos/webhintio-hint/packages/hint-doctype/README.md:130:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm docs"] [Context: "[npm docs]: https://docs.npmjs..."]␊ + test-repos/webhintio-hint/packages/hint-highest-available-document-mode/README.md:420:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊ + test-repos/webhintio-hint/packages/hint-http-compression/README.md:1087:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "gzip is not enough"] [Context: "[gzip is not enough]: https://..."]␊ + test-repos/webhintio-hint/packages/hint-meta-viewport/README.md:268:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mdn viewport meta tag"] [Context: "[mdn viewport meta tag]: https..."]␊ + test-repos/webhintio-hint/packages/hint-meta-viewport/README.md:271:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "ppk initial-scale"] [Context: "[ppk initial-scale]: https://w..."]␊ + test-repos/webhintio-hint/packages/hint-minified-js/README.md:102:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm documentation"] [Context: "[NPM documentation]:"]␊ + test-repos/webhintio-hint/packages/hint-no-p3p/README.md:157:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "support"] [Context: "[support]: https://en.wikipedi..."]␊ + test-repos/webhintio-hint/packages/hint-no-protocol-relative-urls/README.md:110:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "ie issue"] [Context: "[ie issue]: https://www.steves..."]␊ + test-repos/webhintio-hint/packages/hint-performance-budget/README.md:198:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "tcp handshake"] [Context: "[tcp handshake]: https://hpbn...."]␊ + test-repos/webhintio-hint/packages/hint-strict-transport-security/README.md:278:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:41 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:50 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:25 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:35 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:48 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:25 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:35 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:39 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:40 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:40 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:40 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:40 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:49 MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-x-content-type-options/README.md:181:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "fetch spec issue"] [Context: "[fetch spec issue]: https://gi..."]␊ + test-repos/webhintio-hint/packages/hint/docs/about/CONTRIBUTORS.md:10:370 MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊ + test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md:218:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "openjs foundation"] [Context: "[OpenJS Foundation]: https://o..."]␊ + test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md:219:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint org"] [Context: "[webhint org]: https://github...."]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/architecture.md:78:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "typescript"] [Context: "[typescript]: https://www.type..."]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:120:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npm"] [Context: "[npm]: https://www.npmjs.com/g..."]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:94:11 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:95:11 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:100:71 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:102:54 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/development-environment.md:104:13 MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/how-to/hint.md:150:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "custom hint"] [Context: "[custom hint]: ../guides/creat..."]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/how-to/hint.md:154:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npx issue"] [Context: "[npx issue]: https://github.co..."]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/index.md:8:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/contributor-guide/index.md:8:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/concepts/hints.md:82:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/concepts/hints.md:82:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/concepts/hints.md:113:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/concepts/hints.md:113:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/configuring-webhint/summary.md:21:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/configuring-webhint/summary.md:21:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:58:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "jenkins"] [Context: "[jenkins]: https://jenkins.io"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:59:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "local-server"] [Context: "[local-server]: #test-a-local-..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:62:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint github"] [Context: "[webhint github]: https://gith..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:63:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint repo"] [Context: "[webhint repo]: https://github..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:64:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint.io"] [Context: "[webhint.io]: https://webhint...."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/local-server.md:65:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhintio repo"] [Context: "[webhintio repo]: https://gith..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:4:35 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:405:43 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:406:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:406:43 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:407:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:407:43 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:408:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:409:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:410:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:411:20 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/development-flow-integration/travis-and-azure.md:411:43 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/index.md:178:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "nodejsdownloadcurrent"] [Context: "[NodejsDownloadCurrent]: https..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/index.md:49:1 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/index.md:49:7 MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/troubleshoot/summary.md:137:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "githubwebhintiohint308"] [Context: "[GithubWebhintioHint308]: http..."]␊ + test-repos/webhintio-hint/packages/hint/docs/user-guide/troubleshoot/summary.md:141:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "npmjspackageiltorb"] [Context: "[NpmjsPackageIltorb]: https://..."]␊ + test-repos/webhintio-hint/packages/parser-html/README.md:51:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "events"] [Context: "[events]: https://webhint.io/d..."]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:65:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:65:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:66:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:67:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:67:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:68:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:68:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:69:35 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:70:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:71:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:71:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:72:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:73:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:73:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:74:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:74:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:75:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:75:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:76:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:77:16 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:77:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ + test-repos/webhintio-hint/packages/utils-compat-data/README.md:78:31 MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]` ## https://github.com/webpack/webpack.js.org diff --git a/test/snapshots/markdownlint-test-repos-small.mjs.snap b/test/snapshots/markdownlint-test-repos-small.mjs.snap index 0851024d..2404a057 100644 Binary files a/test/snapshots/markdownlint-test-repos-small.mjs.snap and b/test/snapshots/markdownlint-test-repos-small.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-scenarios.mjs.md b/test/snapshots/markdownlint-test-scenarios.mjs.md new file mode 100644 index 00000000..6644e949 --- /dev/null +++ b/test/snapshots/markdownlint-test-scenarios.mjs.md @@ -0,0 +1,72814 @@ +# Snapshot report for `test/markdownlint-test-scenarios.mjs` + +The actual snapshot is saved in `markdownlint-test-scenarios.mjs.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: { + deleteCount: 1, + editColumn: 1, + insertText: '2', + }, + 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␊ + 2. 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: [ + 8, + 1, + ], + 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: [ + 15, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 22, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 26, + 1, + ], + 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: [ + 8, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 8, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 8, + }, + 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: [ + 9, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 9, + }, + 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: [ + 20, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 20, + }, + 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: [ + 27, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 27, + }, + 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: [ + 23, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 23, + }, + 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: [ + 3, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 3, + }, + 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: [ + 22, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 22, + }, + 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} span`', + errorDetail: null, + errorRange: [ + 7, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 7, + }, + 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: '`code span `', + errorDetail: null, + errorRange: [ + 5, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 5, + }, + 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: '...``code span code span code ```', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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} span code sp...', + errorDetail: null, + errorRange: [ + 15, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 15, + }, + 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: { + deleteCount: 1, + editColumn: 1, + insertText: '2', + }, + 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: [ + 15, + 1, + ], + 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: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + 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: 144, + 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: 116, + 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: 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', + ], + }, + { + errorContext: '| cell {MD058} |', + errorDetail: null, + errorRange: null, + fixInfo: { + insertText: `␊ + `, + lineNumber: 122, + }, + lineNumber: 121, + 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: '[click here]', + errorDetail: null, + errorRange: [ + 2, + 10, + ], + fixInfo: null, + lineNumber: 124, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 110, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + 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␊ + 2. 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 |␊ + ␊ + {MD060:-2}␊ + ␊ + | table | header |␊ + |---------|--------|␊ + | {MD056} |␊ + ␊ + Text␊ + ␊ + | table {MD058} |␊ + | ------- |␊ + | cell {MD058} |␊ + ␊ + > Blockquote␊ + ␊ + [click here](https://example.org) {MD059}␊ + ␊ + ␊ + ␊ + 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} ␊ + ␊ + ␊ + `, + } + +## descriptive-link-text-empty-config.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Descriptive Link Text Empty Config␊ + ␊ + [Learn more](https://example.com/images/about) about us.␊ + ␊ + [Click here](https://example.com/dir/file.txt).␊ + ␊ + Go to this [link](https://example.com/second).␊ + ␊ + ␊ + `, + } + +## descriptive-link-text-override.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[Go here]', + errorDetail: null, + errorRange: [ + 2, + 7, + ], + fixInfo: null, + lineNumber: 3, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[this]', + errorDetail: null, + errorRange: [ + 40, + 4, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + ], + fixed: `# Descriptive Link Text Override␊ + ␊ + [Go here](https://example.com/javascript/about) {MD059}␊ + ␊ + [Learn more](https://example.com/javascript/about).␊ + ␊ + [Click here](https://example.com/javascript/about).␊ + ␊ + To learn more, go [here!](https://example.com/site).␊ + ␊ + To learn more, go to this [link!](https://example.com/links).␊ + ␊ + If you need additional guidance, read [this](https://example.com/links). {MD059}␊ + ␊ + [link][url]␊ + ␊ + [url]: https://example.com␊ + ␊ + ␊ + `, + } + +## descriptive-link-text.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Element: link', + errorRange: [ + 2, + 6, + ], + fixInfo: null, + lineNumber: 40, + ruleDescription: 'Inline HTML', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md', + ruleNames: [ + 'MD033', + 'no-inline-html', + ], + }, + { + errorContext: '[ link ]', + errorDetail: null, + errorRange: [ + 2, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 2, + }, + lineNumber: 35, + 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: 35, + 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: 'Expected: asterisk; Actual: underscore', + errorRange: [ + 2, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 2, + 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: [ + 7, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 7, + insertText: '*', + }, + lineNumber: 37, + ruleDescription: 'Emphasis style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md049.md', + ruleNames: [ + 'MD049', + 'emphasis-style', + ], + }, + { + errorContext: '[here]', + errorDetail: null, + errorRange: [ + 5, + 4, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[Click here]', + errorDetail: null, + errorRange: [ + 2, + 10, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[here!]', + errorDetail: null, + errorRange: [ + 26, + 5, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[more]', + errorDetail: null, + errorRange: [ + 8, + 4, + ], + fixInfo: null, + lineNumber: 19, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[click here!!!!]', + errorDetail: null, + errorRange: [ + 17, + 14, + ], + fixInfo: null, + lineNumber: 21, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[click-here!!!!]', + errorDetail: null, + errorRange: [ + 2, + 14, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[link]', + errorDetail: null, + errorRange: [ + 13, + 4, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[link]', + errorDetail: null, + errorRange: [ + 2, + 4, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[click here]', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[link]', + errorDetail: null, + errorRange: [ + 2, + 4, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[ link ]', + errorDetail: null, + errorRange: [ + 2, + 6, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[*link*]', + errorDetail: null, + errorRange: [ + 2, + 6, + ], + fixInfo: null, + lineNumber: 36, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[_link_]', + errorDetail: null, + errorRange: [ + 2, + 6, + ], + fixInfo: null, + lineNumber: 37, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[~~link~~]', + errorDetail: null, + errorRange: [ + 2, + 8, + ], + fixInfo: null, + lineNumber: 38, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + ], + fixed: `# Descriptive Link Text␊ + ␊ + [Learn about Javascript](https://example.com/javascript/about)␊ + ␊ + [About Javascript](https://example.com/file.txt)␊ + ␊ + Learn about [our mission](https://example.com/mission).␊ + ␊ + Go [here](https://example.com/descriptive-links) {MD059}␊ + ␊ + [Learn more](https://example.com/images/about) about us.␊ + ␊ + [Click here](https://example.com/dir/file.txt). {MD059}␊ + ␊ + [Read more](https://example.com/guide).␊ + ␊ + To get more support, go [here!](https://example.com/contact). {MD059}␊ + ␊ + Learn [more](https://example.com/contact). {MD059}␊ + ␊ + To learn more, [click here!!!!](https://example.com/about). {MD059}␊ + ␊ + [click-here!!!!](https://example.com/first). {MD059}␊ + ␊ + Go to this [link](https://example.com/second). {MD059}␊ + ␊ + [link][Example URL] {MD059}␊ + ␊ + [Example URL]: https://example.com␊ + ␊ + {MD059} [click␊ + here](https://example.com)␊ + ␊ + [link](destination) {MD059}␊ + [link](destination) {MD039} {MD059}␊ + [*link*](destination) {MD059}␊ + [*link*](destination) {MD049} {MD059}␊ + [~~link~~](destination) {MD059}␊ + [\`link\`](destination)␊ + [](destination) {MD033}␊ + `, + } + +## docfx-tab-syntax.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Docfx Tab Syntax␊ + ␊ + Examples copied from: ␊ + ␊ + ---␊ + ␊ + # [Tab Display Name](#tab/tab-id)␊ + ␊ + ---␊ + ␊ + # [Linux](#tab/linux)␊ + ␊ + Content for Linux...␊ + ␊ + # [Windows](#tab/windows)␊ + ␊ + Content for Windows...␊ + ␊ + ---␊ + ␊ + # [.NET](#tab/dotnet/linux)␊ + ␊ + .NET content for Linux...␊ + ␊ + # [.NET](#tab/dotnet/windows)␊ + ␊ + .NET content for Windows...␊ + ␊ + # [TypeScript](#tab/typescript/linux)␊ + ␊ + TypeScript content for Linux...␊ + ␊ + # [TypeScript](#tab/typescript/windows)␊ + ␊ + TypeScript content for Windows...␊ + ␊ + # [REST API](#tab/rest)␊ + ␊ + REST API content, independent of platform...␊ + `, + } + +## 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: 'Section 4: emphasis as heading...', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 48, + 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 5: emphasis as heading...', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 52, + 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)**␊ + ␊ + *Section 4: emphasis as heading {MD036}* ␊ + ␊ + Emphasis as heading followed by an HTML comment␊ + ␊ + __Section 5: emphasis as heading {MD036}__␊ + ␊ + Emphasis as heading following an HTML comment␊ + ␊ + *Section 6: emphasis as non-heading*␊ + ␊ + Embedded HTML comments are unusual and cause the emphasis to be ignored/allowed␊ + `, + } + +## 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-line-heading-allow-preamble-false.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Text {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: `Text {MD041}␊ + ␊ + ␊ + ␊ + Text␊ + ␊ +

HTML

␊ + ␊ + Text␊ + ␊ + - List item␊ + ␊ + # Heading␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## first-line-heading-allow-preamble-h1.md + +> Snapshot 1 + + { + errors: [], + fixed: `Text␊ + ␊ + ␊ + ␊ + Text␊ + ␊ +

HTML

␊ + ␊ + Text␊ + ␊ + - List item␊ + ␊ +

Heading

␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## first-line-heading-allow-preamble-violation.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '## Heading {MD041}', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 13, + 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␊ + ␊ +

HTML

␊ + ␊ + Text␊ + ␊ + - List item␊ + ␊ + ## Heading {MD041}␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## first-line-heading-allow-preamble.md + +> Snapshot 1 + + { + errors: [], + fixed: `Text␊ + ␊ + ␊ + ␊ + Text␊ + ␊ +

HTML

␊ + ␊ + Text␊ + ␊ + - List item␊ + ␊ + # Heading␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## 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', + ], + }, + { + errorContext: '[ link ]', + errorDetail: null, + errorRange: [ + 7, + 6, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + ], + fixed: `---␊ + front: matter␊ + ignore: this␊ + ---␊ + # Fixing with Front Matter {MD022}␊ + ␊ + Text text text {MD009}␊ + ␊ + Text [link](url) text {MD039} {MD059}␊ + ␊ + ## Nested Heading {MD022}␊ + ␊ + Text {MD047}␊ + `, + } + +## front-matter-alt-title-h1.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Top level heading {MD025}', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 4, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + ], + fixed: `---␊ + alternate="Welcome to Jekyll!"␊ + ---␊ + # Top level heading {MD025}␊ + ␊ + Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).␊ + ␊ + ␊ + `, + } + +## 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: 'Headings', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 100, + ruleDescription: 'Multiple headings with the same content', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md', + ruleNames: [ + 'MD024', + 'no-duplicate-heading', + ], + }, + { + errorContext: 'A', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 3, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + { + errorContext: 'A', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + { + errorContext: 'Heading duplicate content sibl...', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 55, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + { + errorContext: 'AA', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + { + errorContext: 'BB', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 78, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + ], + fixed: `# Heading duplicate content siblings only␊ + ␊ + # A␊ + ␊ + {MD025:3}␊ + ␊ + ## B␊ + ␊ + ### C␊ + ␊ + ## B␊ + ␊ + {MD024:11}␊ + ␊ + ### C␊ + ␊ + ## D␊ + ␊ + ### C␊ + ␊ + ### E␊ + ␊ + ### C␊ + ␊ + {MD024:23}␊ + ␊ + ##### F␊ + ␊ + {MD001:27}␊ + ␊ + #### G␊ + ␊ + ##### F␊ + ␊ + #### G␊ + ␊ + {MD024:35}␊ + ␊ + ### E␊ + ␊ + {MD024:39}␊ + ␊ + # A␊ + ␊ + {MD024:43} {MD025:43}␊ + ␊ + ## B␊ + ␊ + ### C␊ + ␊ + ## B␊ + ␊ + {MD024:51}␊ + ␊ + # Heading duplicate content siblings only␊ + ␊ + {MD024:55} {MD025:55}␊ + ␊ + AA␊ + ==␊ + ␊ + {MD025:59}␊ + ␊ + AA␊ + --␊ + ␊ + BB␊ + --␊ + ␊ + CC␊ + --␊ + ␊ + BB␊ + --␊ + ␊ + {MD024:73}␊ + ␊ + BB␊ + ==␊ + ␊ + {MD025:78}␊ + ␊ + BB␊ + --␊ + ␊ + ## AAA ##␊ + ␊ + ### BBB ###␊ + ␊ + ## BBB ##␊ + ␊ + ### BBB ###␊ + ␊ + ## BBB ##␊ + ␊ + {MD024:94}␊ + ␊ + ## Headings ␊ + ␊ + ## Headings ␊ + ␊ + {MD024:-2}␊ + ␊ + ␊ + `, + } + +## heading-multiple-top-level-preceding-blank-and-comment.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Heading 2 {MD025}', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + ], + fixed: `␊ + ␊ + ␊ + # Heading 1␊ + ␊ + # Heading 2 {MD025}␊ + `, + } + +## heading-multiple-top-level-preceding-blank.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Heading 2 {MD025}', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 4, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + ], + fixed: `␊ + # Heading 1␊ + ␊ + # Heading 2 {MD025}␊ + `, + } + +## heading-multiple-top-level-preceding-comment.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Heading 2 {MD025}', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 4, + ruleDescription: 'Multiple top-level headings in the same document', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md025.md', + ruleNames: [ + 'MD025', + 'single-title', + 'single-h1', + ], + }, + ], + fixed: `␊ + # Heading 1␊ + ␊ + # Heading 2 {MD025}␊ + `, + } + +## heading_duplicate_content.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: 'Heading 1', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Multiple headings with the same content', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md', + ruleNames: [ + 'MD024', + 'no-duplicate-heading', + ], + }, + { + errorContext: 'Heading 2', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Multiple headings with the same content', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md024.md', + ruleNames: [ + 'MD024', + 'no-duplicate-heading', + ], + }, + ], + fixed: `# Heading 1␊ + ␊ + ## Heading 2␊ + ␊ + ## Heading 1␊ + ␊ + ### Heading 2␊ + ␊ + ## Heading 3␊ + ␊ + {MD024:5} {MD024:7}␊ + `, + } + +## heading_duplicate_content_different_nesting.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Change log␊ + ␊ + ## 2.0.0␊ + ␊ + ### Bug fixes␊ + ␊ + ### Features␊ + ␊ + ## 1.0.0␊ + ␊ + ### Bug fixes␊ + ␊ + ␊ + `, + } + +## 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_increment-alt_title_level3_bad.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Expected: h2; Actual: h3', + errorRange: null, + fixInfo: null, + lineNumber: 5, + 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: `---␊ + alternate = heading_increment-alt_title_level3_bad␊ + ---␊ + ␊ + ### level 3 {MD001}␊ + ␊ + ␊ + `, + } + +## heading_increment-title_level2_good.md + +> Snapshot 1 + + { + errors: [], + fixed: `---␊ + title: heading_increment-title_level2_good␊ + ---␊ + ␊ + ## level 2␊ + ␊ + ### level 3␊ + `, + } + +## heading_increment-title_level3_bad.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Expected: h2; Actual: h3', + errorRange: null, + fixInfo: null, + lineNumber: 5, + 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: `---␊ + title: heading_increment-title_level3_bad␊ + ---␊ + ␊ + ### level 3 {MD001}␊ + `, + } + +## 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: [ + 9, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 9, + }, + lineNumber: 3, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + lineNumber: 15, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + lineNumber: 19, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 13, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 13, + }, + lineNumber: 39, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + ], + fixed: `# HTML Comment in Code and Table␊ + ␊ + \`{MD038}\`␊ + ␊ + ␊ + ␊ + \`\`\`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: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + lineNumber: 16, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + lineNumber: 22, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + lineNumber: 28, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 19, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 19, + }, + lineNumber: 40, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 19, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 19, + }, + lineNumber: 46, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`{MD038} `', + errorDetail: null, + errorRange: [ + 19, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 19, + }, + lineNumber: 52, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + ], + fixed: `# HTML Comment in Markdown Table␊ + ␊ + \`\`\`xml␊ + ␊ + \`\`\`␊ + ␊ + | 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: [ + 16, + 1, + ], + 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: [ + 17, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 117, + ruleDescription: 'Spaces inside emphasis markers', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md037.md', + ruleNames: [ + 'MD037', + 'no-space-in-emphasis', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 5, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 15, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 21, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 31, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 37, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 48, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 54, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 60, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 66, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 72, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 78, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 84, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + { + errorContext: '`in `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + lineNumber: 90, + ruleDescription: 'Spaces inside code span elements', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md038.md', + ruleNames: [ + 'MD038', + 'no-space-in-code', + ], + }, + ], + fixed: `# Inline Capture/Restore␊ + ␊ + hard tab␊ + space *in* emphasis {MD037}␊ + space \`in\` code {MD038}␊ + ␊ + ␊ + 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: [ + 11, + 1, + ], + 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: [ + 16, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 52, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 52, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 52, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 52, + }, + 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: [ + 52, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 52, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 60, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 60, + }, + 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: [ + 52, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 52, + }, + 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: [ + 52, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 52, + }, + 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', + ], + }, + { + errorContext: null, + errorDetail: 'Element: br', + errorRange: [ + 13, + 4, + ], + fixInfo: null, + lineNumber: 60, + 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}␊ +

␊ + ␊ + | Allowed | Not Allowed |␊ + | ------- | ------------ |␊ + |

| |␊ + | |
{MD033} |␊ + ␊ + ␊ + `, + } + +## inline_html-only_table_allowed_elements.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: br', + 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: br', + errorRange: [ + 1, + 5, + ], + 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: h1', + errorRange: [ + 25, + 4, + ], + fixInfo: null, + lineNumber: 14, + 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: table', + errorRange: [ + 1, + 7, + ], + 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: br', + errorRange: [ + 3, + 5, + ], + 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', + ], + }, + ], + fixed: `# inline_html-only_table_allowed_elements.md␊ + ␊ +

This is not allowed {MD033}

␊ + ␊ +
This is not allowed {MD033}␊ + ␊ +
This is not allowed {MD033}␊ + ␊ + | Allowed | Not Allowed |␊ + | ------------------- | ------------------ |␊ + |
| |␊ + |
| |␊ + |
| |␊ + | |

{MD033}

|␊ + ␊ + {MD033}␊ +
{MD033}␊ +
␊ + ␊ + ␊ + `, + } + +## inline_html-table_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: br', + errorRange: [ + 1, + 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: 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: h1', + errorRange: [ + 25, + 4, + ], + 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: br', + errorRange: [ + 3, + 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', + ], + }, + ], + fixed: `# inline_html-table_allowed_elements.md␊ + ␊ +

This is allowed

␊ + ␊ +

This is not allowed {MD033}

␊ + ␊ +
This is not allowed {MD033}␊ + ␊ +
This is not allowed {MD033}␊ + ␊ + | Allowed | Not Allowed |␊ + | ------------------- | ------------------ |␊ + |
| |␊ + |
| |␊ + |
| |␊ + | |

{MD033}

|␊ + ␊ + ␊ +
{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} span`', + errorDetail: null, + errorRange: [ + 7, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 7, + }, + 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 span `', + errorDetail: null, + errorRange: [ + 5, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 5, + }, + 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} span code span`', + errorDetail: null, + errorRange: [ + 7, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 7, + }, + 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: '`code span code span `', + errorDetail: null, + errorRange: [ + 5, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 5, + }, + 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: '`code span code span `', + errorDetail: null, + errorRange: [ + 5, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 5, + }, + 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} span code span`', + errorDetail: null, + errorRange: [ + 7, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 7, + }, + 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 code `', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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-ignored-pattern-default.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[Ignored](#ignored)', + errorDetail: null, + errorRange: [ + 1, + 19, + ], + fixInfo: null, + 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: '[Missing](#missing)', + errorDetail: null, + errorRange: [ + 1, + 19, + ], + fixInfo: null, + lineNumber: 9, + 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 Ignored Pattern Default␊ + ␊ + ## Heading␊ + ␊ + [Present](#heading)␊ + ␊ + [Ignored](#ignored) {MD051}␊ + ␊ + [Missing](#missing) {MD051}␊ + `, + } + +## link-fragments-ignored-pattern-empty.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[Ignored](#ignored)', + errorDetail: null, + errorRange: [ + 1, + 19, + ], + fixInfo: null, + 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: '[Missing](#missing)', + errorDetail: null, + errorRange: [ + 1, + 19, + ], + fixInfo: null, + lineNumber: 9, + 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 Ignored Pattern Empty␊ + ␊ + ## Heading␊ + ␊ + [Present](#heading)␊ + ␊ + [Ignored](#ignored) {MD051}␊ + ␊ + [Missing](#missing) {MD051}␊ + ␊ + ␊ + `, + } + +## link-fragments-ignored-pattern-multiple.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Link Fragments Ignored Pattern Multiple␊ + ␊ + ## Heading␊ + ␊ + [Present](#heading)␊ + ␊ + [Ignored](#ignored)␊ + ␊ + [Missing](#missing)␊ + ␊ + ␊ + `, + } + +## link-fragments-ignored-pattern-present.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[Missing](#missing)', + errorDetail: null, + errorRange: [ + 1, + 19, + ], + fixInfo: null, + lineNumber: 9, + 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 Ignored Pattern Present␊ + ␊ + ## Heading␊ + ␊ + [Present](#heading)␊ + ␊ + [Ignored](#ignored)␊ + ␊ + [Missing](#missing) {MD051}␊ + ␊ + ␊ + `, + } + +## 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', + ], + }, + { + errorContext: '[Invalid](#ToP)', + errorDetail: 'Expected: #top; Actual: #ToP', + errorRange: [ + 1, + 15, + ], + fixInfo: { + deleteCount: 4, + editColumn: 11, + insertText: '#top', + }, + lineNumber: 339, + 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}␊ + ␊ + ## Implicit Fragments␊ + ␊ + [Valid](#top)␊ + ␊ + [Invalid](#top) {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: { + deleteCount: 1, + editColumn: 1, + insertText: '2', + }, + 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}␊ + 2. 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-normal-indent.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Lists in Blockquote Normal Indent␊ + ␊ + Text␊ + ␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + > Text␊ + >␊ + > + Item␊ + > + Item␊ + > more␊ + > item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > more␊ + > item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + Text␊ + ␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + > Text␊ + >␊ + > 1. Item␊ + > 1. Item␊ + > more␊ + > item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > more␊ + > item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + Text␊ + `, + } + +## lists-in-blockquote-start-indented-no-list-items.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Lists in Blockquote Start Indented␊ + ␊ + Text␊ + ␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + ␊ + ␊ + > Text␊ + >␊ + > + Item␊ + > + Item␊ + > more␊ + > item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > more␊ + > item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + ␊ + ␊ + Text␊ + ␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + > Text␊ + >␊ + > 1. Item␊ + > 1. Item␊ + > more␊ + > item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > more␊ + > item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## lists-in-blockquote-start-indented.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '> + Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 30, + 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 {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + 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: '> + Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 34, + 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 {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + 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: '> 1. Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 76, + 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: '> 1. Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 77, + 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: '> 1. Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 80, + 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: '> 1. Item {MD027}', + errorDetail: null, + errorRange: [ + 3, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 3, + }, + lineNumber: 89, + 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: `# Lists in Blockquote Start Indented␊ + ␊ + Text␊ + ␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + more␊ + item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + + Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + ␊ + ␊ + > Text␊ + >␊ + > + Item {MD027}␊ + > + Item {MD027}␊ + > more␊ + > item␊ + > + Item {MD027}␊ + > + Item␊ + > + Item␊ + > more␊ + > item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item␊ + > + Item {MD027}␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + ␊ + ␊ + Text␊ + ␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + more␊ + item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + ␊ + Text␊ + ␊ + Code␊ + ␊ + Text␊ + ␊ + > Text␊ + >␊ + > 1. Item {MD027}␊ + > 1. Item {MD027}␊ + > more␊ + > item␊ + > 1. Item {MD027}␊ + > 1. Item␊ + > 1. Item␊ + > more␊ + > item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item␊ + > 1. Item {MD027}␊ + >␊ + > Text␊ + >␊ + > Code␊ + ␊ + Text␊ + ␊ + ␊ + `, + } + +## 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-inside-footnote.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Expected: 4; Actual: 5', + errorRange: [ + 1, + 7, + ], + fixInfo: null, + lineNumber: 18, + 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: 21, + 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: { + 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: 6; Actual: 7', + errorRange: [ + 1, + 9, + ], + fixInfo: { + deleteCount: 1, + 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', + ], + }, + ], + fixed: `# Lists Inside Footnote␊ + ␊ + Text.[^ref]␊ + ␊ + [^ref]: Note and list:␊ + ␊ + * Item␊ + * Item␊ + * Item␊ + ␊ + 1. Item␊ + 1. Item␊ + 1. Item␊ + ␊ + Text␊ + ␊ + * Item␊ + * Item {MD005} {MD007}␊ + * Item␊ + * Item␊ + * Item {MD005} {MD007}␊ + * Item␊ + `, + } + +## 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: { + deleteCount: 1, + editColumn: 4, + insertText: '1', + }, + 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: { + deleteCount: 1, + editColumn: 4, + insertText: '1', + }, + 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}␊ + - 1. Item {MD004} {MD007} {MD029}␊ + - 1. 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: 103, + 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

␊ + ␊ + 1. Undefined reference token␊ +
␊
+         [()]␊
+         
␊ + ␊ + ␊ + ␊ + * 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: [ + 22, + 1, + ], + 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: [ + 27, + 1, + ], + 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: [ + 37, + 1, + ], + 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: [ + 42, + 1, + ], + 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: [ + 64, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 64, + }, + 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: '` text `', + errorDetail: null, + errorRange: [ + 70, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 70, + }, + 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}**␊ + `, + } + +## md038-scenarios.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '`code `', + errorDetail: null, + errorRange: [ + 6, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 6, + }, + 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: '` code`', + errorDetail: null, + errorRange: [ + 2, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 2, + }, + 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: '``code` ``', + errorDetail: null, + errorRange: [ + 9, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 9, + }, + 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: [ + 3, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 3, + }, + 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: '` code `', + errorDetail: null, + errorRange: [ + 2, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 2, + }, + 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: '` code `', + errorDetail: null, + errorRange: [ + 8, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 8, + }, + 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: '`` code` ``', + errorDetail: null, + errorRange: [ + 4, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 4, + }, + 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: '`` code` ``', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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: '`` `code ``', + errorDetail: null, + errorRange: [ + 4, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 4, + }, + 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 ``', + errorDetail: null, + errorRange: [ + 10, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 10, + }, + 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` ``', + errorDetail: null, + errorRange: [ + 4, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 4, + }, + 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: '`` `code` ``', + errorDetail: null, + errorRange: [ + 11, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 11, + }, + 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', + ], + }, + ], + fixed: `# MD038 Scenarios␊ + ␊ + ## Allowed: No space␊ + ␊ + \`code\`␊ + ␊ + ## Allowed: Padding, no backtick␊ + ␊ + \` code \`␊ + ␊ + ## Allowed: Padding, backtick␊ + ␊ + \`\` \`code\` \`\`␊ + ␊ + ## Allowed: Start or end, backtick␊ + ␊ + \`\`code\` \`\`␊ + ␊ + \`\` \`code\`\`␊ + ␊ + ## Reported: Start or end, no backtick␊ + ␊ + \`code\` {MD038}␊ + ␊ + \`code\` (fixed)␊ + ␊ + \`code\` {MD038}␊ + ␊ + \`code\` (fixed)␊ + ␊ + ## Reported: Start or end, backtick␊ + ␊ + \`\`code\` \`\` {MD038}␊ + ␊ + \`\`code\` \`\` (fixed)␊ + ␊ + \`\` \`code\`\` {MD038}␊ + ␊ + \`\` \`code\`\` (fixed)␊ + ␊ + ## Reported: Start and end, no backtick␊ + ␊ + \`code\` {MD038}␊ + ␊ + \`code\` (fixed)␊ + ␊ + ## Reported: Start and end, backtick␊ + ␊ + \`\` code\` \`\` {MD038}␊ + ␊ + \`\` code\` \`\` (fixed)␊ + ␊ + \`\` \`code \`\` {MD038}␊ + ␊ + \`\` \`code \`\` (fixed)␊ + ␊ + \`\` \`code\` \`\` {MD038}␊ + ␊ + \`\` \`code\` \`\` (fixed)␊ + `, + } + +## md040-allowed_languages.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '` scss`', + errorDetail: null, + errorRange: [ + 18, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 18, + }, + 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', + ], + }, + { + errorContext: null, + errorDetail: null, + errorRange: [ + 24, + 42, + ], + fixInfo: null, + lineNumber: 75, + 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}␊ +

␊ + ␊ + No alt attribute is okay when the image is hidden from assistive technology:␊ + ␊ + ␊ + ␊ + But not when disabled: {MD045}␊ + ␊ + Multi-line image tag aria-hidden:␊ +
␊ + ␊ + ␊ + ␊ + ␊ + ␊ + 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-ignored-labels-empty.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[full][full]', + errorDetail: 'Missing link or image reference definition: "full"', + errorRange: [ + 1, + 12, + ], + fixInfo: null, + lineNumber: 3, + 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: '[collapsed][]', + errorDetail: 'Missing link or image reference definition: "collapsed"', + errorRange: [ + 1, + 13, + ], + fixInfo: null, + lineNumber: 5, + 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: '[shortcut]', + errorDetail: 'Missing link or image reference definition: "shortcut"', + errorRange: [ + 1, + 10, + ], + 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: '[invalid][invalid]', + errorDetail: 'Missing link or image reference definition: "invalid"', + errorRange: [ + 1, + 18, + ], + 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: '[x]', + errorDetail: 'Missing link or image reference definition: "x"', + errorRange: [ + 3, + 3, + ], + fixInfo: null, + lineNumber: 12, + 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 (Ignored Labels Empty)␊ + ␊ + [full][full] {MD052}␊ + ␊ + [collapsed][] {MD052}␊ + ␊ + [shortcut] {MD052}␊ + ␊ + [invalid][invalid] {MD052}␊ + ␊ + - [ ] Unchecked task list item␊ + - [x] Checked task list item {MD052}␊ + ␊ + ␊ + `, + } + +## reference-links-and-images-ignored-labels.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '[invalid][invalid]', + errorDetail: 'Missing link or image reference definition: "invalid"', + errorRange: [ + 1, + 18, + ], + 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: '[x]', + errorDetail: 'Missing link or image reference definition: "x"', + errorRange: [ + 3, + 3, + ], + fixInfo: null, + lineNumber: 12, + 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 (Ignored Labels)␊ + ␊ + [full][full]␊ + ␊ + [collapsed][]␊ + ␊ + [shortcut]␊ + ␊ + [invalid][invalid] {MD052}␊ + ␊ + - [ ] Unchecked task list item␊ + - [x] Checked task list item {MD052}␊ + ␊ + ␊ + `, + } + +## 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: 116, + 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}␊ + ␊ + ## GitHub Flavored Markdown Task List Items␊ + ␊ + - [ ] Unchecked task list item␊ + - [x] Checked task list item␊ + ␊ + - [x] alpha␊ + - [ ] beta␊ + - [x] charlie␊ + - [ ] delta␊ + ␊ + ## 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␊ + ␊ + ## GitHub Flavored Markdown Task List Items␊ + ␊ + - [ ] Unchecked task list item␊ + - [x] Checked task list item␊ + `, + } + +## 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-question-extra.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '?', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Required heading structure', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', + ruleNames: [ + 'MD043', + 'required-headings', + ], + }, + ], + fixed: `# Project Name␊ + ␊ + ## Description␊ + ␊ + ␊ + ␊ + {MD043:+1}␊ + `, + } + +## required-headings-question-first.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Project Name␊ + ␊ + ## Description␊ + ␊ + ## Examples␊ + ␊ + ␊ + `, + } + +## required-headings-question-last.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Project Name␊ + ␊ + ## Description␊ + ␊ + ## Examples␊ + ␊ + ␊ + `, + } + +## required-headings-question-middle.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Project Name␊ + ␊ + ## Description␊ + ␊ + ## Examples␊ + ␊ + ␊ + `, + } + +## required-headings-question-missing.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: '## Examples', + errorDetail: null, + errorRange: null, + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Required heading structure', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md043.md', + ruleNames: [ + 'MD043', + 'required-headings', + ], + }, + ], + fixed: `# Project Name␊ + ␊ + ## Examples␊ + ␊ + ␊ + ␊ + {MD043:+1}␊ + `, + } + +## 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: [ + 7, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 7, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 7, + 1, + ], + 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: [ + 16, + 1, + ], + 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: [ + 20, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 13, + 1, + ], + 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: [ + 22, + 1, + ], + 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: [ + 7, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 7, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 8, + 1, + ], + 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: [ + 5, + 1, + ], + 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: [ + 2, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 2, + }, + 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: [ + 42, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 42, + }, + 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: '`` code``', + errorDetail: null, + errorRange: [ + 8, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 8, + }, + 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: [ + 12, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 12, + }, + 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: [ + 24, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 24, + }, + 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: [ + 28, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 28, + }, + 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: [ + 4, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 4, + }, + 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: [ + 42, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 42, + }, + 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: [ + 30, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 30, + }, + 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: [ + 34, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 34, + }, + 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: [ + 29, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 29, + }, + 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: [ + 33, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 33, + }, + 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: '` code `', + errorDetail: null, + errorRange: [ + 38, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 38, + }, + lineNumber: 114, + 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: [ + 43, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 43, + }, + lineNumber: 116, + 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: [ + 31, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 31, + }, + lineNumber: 118, + 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, + 2, + ], + fixInfo: { + deleteCount: 2, + editColumn: 37, + }, + lineNumber: 118, + 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: [ + 9, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 9, + }, + lineNumber: 132, + 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: [ + 15, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 15, + }, + lineNumber: 139, + 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: [ + 1, + 4, + ], + fixInfo: { + deleteCount: 4, + editColumn: 1, + }, + lineNumber: 153, + 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: [ + 1, + 4, + ], + fixInfo: { + deleteCount: 4, + editColumn: 1, + }, + lineNumber: 163, + 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␊ + ␊ + \`,\`, \`.\`␊ + ␊ + \`,\`, \`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\`␊ + ␊ + \`\`\` \` surrounding space allowed for backtick \`\`\` text \`code\`␊ + ␊ + \`\`\` \` multiple leading spaces not allowed\`\`\` text \`code\` {MD038}␊ + ␊ + \`\` surrounding 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: \` \` \` \` \` \` \` \`␊ + ␊ + All line endings: \`␊ + \`␊ + ␊ + 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 \`\`\` \` surrounding space␊ + allowed for backtick \`\`\` text␊ + ␊ + text \`\`\` \` multiple leading {MD038}␊ + spaces not allowed\`\`\` text␊ + ␊ + text \`\` surrounding 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 {MD038}␊ + \`\`\`␊ + ␊ + Text␊ + \`\`\`␊ + Code␊ + \`\`\`␊ + ␊ + Text␊ + \`\`\`␊ + Code {MD038}␊ + \`\`\`␊ + 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: [ + 9, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 17, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 31, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 18, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 17, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 31, + 1, + ], + 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: [ + 26, + 1, + ], + 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: [ + 42, + 1, + ], + 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: [ + 27, + 1, + ], + 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: [ + 41, + 1, + ], + 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: [ + 43, + 1, + ], + 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: [ + 70, + 1, + ], + 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: [ + 26, + 1, + ], + 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: [ + 42, + 1, + ], + 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: [ + 27, + 1, + ], + 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: [ + 41, + 1, + ], + 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: [ + 43, + 1, + ], + 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: [ + 70, + 1, + ], + 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: [ + 36, + 1, + ], + 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: [ + 52, + 1, + ], + 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: [ + 31, + 1, + ], + 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: [ + 47, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 27, + 1, + ], + 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: [ + 27, + 1, + ], + 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: [ + 12, + 1, + ], + 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: [ + 14, + 1, + ], + 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: [ + 25, + 1, + ], + 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: [ + 3, + 1, + ], + 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: [ + 4, + 1, + ], + 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: [ + 2, + 1, + ], + 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: [ + 3, + 1, + ], + 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: [ + 4, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 22, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 22, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 30, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 43, + 1, + ], + 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: [ + 30, + 1, + ], + 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: [ + 29, + 1, + ], + 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: [ + 43, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 26, + 1, + ], + 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: [ + 43, + 1, + ], + 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: [ + 41, + 1, + ], + 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: [ + 44, + 1, + ], + 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: [ + 10, + 1, + ], + 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: [ + 23, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 13, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 14, + 1, + ], + 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: [ + 8, + 1, + ], + 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: [ + 14, + 1, + ], + 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: [ + 15, + 1, + ], + 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: [ + 19, + 1, + ], + 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: [ + 4, + 1, + ], + 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: [ + 3, + 1, + ], + 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: [ + 15, + 1, + ], + 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: [ + 20, + 1, + ], + 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: [ + 19, + 1, + ], + 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: [ + 3, + 1, + ], + 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: [ + 13, + 1, + ], + 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: [ + 3, + 1, + ], + 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: [ + 16, + 1, + ], + 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: [ + 19, + 1, + ], + 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: [ + 9, + 1, + ], + 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: [ + 7, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 14, + 1, + ], + 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: [ + 20, + 1, + ], + 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: [ + 17, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 17, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 21, + 1, + ], + 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: [ + 26, + 1, + ], + 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: [ + 35, + 1, + ], + 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: [ + 40, + 1, + ], + 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-column-style-aligned.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 24, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 28, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 30, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 30, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 39, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 39, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 39, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 40, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 40, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 37, + 1, + ], + fixInfo: null, + lineNumber: 40, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 46, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 46, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 46, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 47, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 47, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 47, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 48, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 48, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 37, + 1, + ], + fixInfo: null, + lineNumber: 48, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 55, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 55, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 29, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 65, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 65, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 66, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 66, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 73, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 73, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 74, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 74, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 80, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 80, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 81, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 82, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 82, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 14, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 91, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 91, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 91, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 92, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 92, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 92, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 3, + 1, + ], + fixInfo: null, + lineNumber: 98, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 98, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 98, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 99, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 99, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 99, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 100, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 100, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 100, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 106, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 107, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 107, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 108, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 108, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 108, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 109, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 109, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 117, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 117, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 118, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 118, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 2, + 1, + ], + fixInfo: null, + lineNumber: 124, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 124, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 125, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 125, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 126, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 126, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 132, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 133, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 133, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 134, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 134, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 135, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 135, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + fixed: `# Table Column Style - Aligned␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | -------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text tex | Text |␊ + ␊ + {MD060:-5} {MD060:-3} {MD060:-2}␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading | Heading␊ + ------- | -------- | --------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text tex | Text␊ + ␊ + {MD060:-5} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | ------- | ------- |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | - | - | - |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | - | --- | - |␊ + | Text | Text text | Text |␊ + | Text | Text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | ------- | -------␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + -- | -- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + -- | --- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / Edge Pipes␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|-------|-------|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + |Heading|Heading|Heading|␊ + |-|-|-|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + |Heading|Heading |Heading|␊ + |-------|-------|------- |␊ + | Text|Text text |Text|␊ + |Text text |Text text text|Text|␊ + |Text| Text |Text|␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / No Edge Pipes␊ + ␊ + Heading|Heading|Heading␊ + -------|-------|-------␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading|Heading|Heading␊ + -|-|-␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading|Heading |Heading␊ + -------|-------| -------␊ + Text |Text text|Text␊ + Text text|Text text text|Text␊ + Text| Text |Text␊ + ␊ + {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ␊ + `, + } + +## table-column-style-compact.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 54, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 54, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 54, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 54, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 55, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 55, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 29, + 1, + ], + fixInfo: null, + lineNumber: 56, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 14, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 88, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 89, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 3, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 3, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 101, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 103, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 103, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 103, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 103, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 104, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 104, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 104, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 104, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 104, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 105, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 105, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 105, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 105, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 111, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 111, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 111, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 111, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 112, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 112, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 112, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 112, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 113, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 113, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 113, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 113, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 114, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 114, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 114, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 114, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 115, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 115, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 115, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 115, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 2, + 1, + ], + fixInfo: null, + lineNumber: 120, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 2, + 1, + ], + fixInfo: null, + lineNumber: 120, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 120, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 120, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 121, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 121, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 121, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 121, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 122, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 122, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 122, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 122, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 123, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 123, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 123, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 123, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 128, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 128, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 128, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 129, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 129, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 129, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 130, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 130, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 130, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 25, + 1, + ], + fixInfo: null, + lineNumber: 130, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the left for style "compact"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 131, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe is missing space to the right for style "compact"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 131, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + fixed: `# Table Column Style - Compact␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + {MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | -------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text tex | Text |␊ + ␊ + {MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + {MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + ------- | -------- | --------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text tex | Text␊ + ␊ + {MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | ------- | ------- |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | - | - | - |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | - | --- | - |␊ + | Text | Text text | Text |␊ + | Text | Text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | ------- | -------␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + Heading | Heading | Heading␊ + -- | -- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + Heading | Heading | Heading␊ + -- | --- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2}␊ + ␊ + ## Tight / Edge Pipes␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|-------|-------|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + |Heading|Heading|Heading|␊ + |-|-|-|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + |Heading|Heading |Heading|␊ + |-------|-------|------- |␊ + | Text|Text text |Text|␊ + |Text text |Text text text|Text|␊ + |Text| Text |Text|␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / No Edge Pipes␊ + ␊ + Heading|Heading|Heading␊ + -------|-------|-------␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading|Heading|Heading␊ + -|-|-␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading|Heading |Heading␊ + -------|-------| -------␊ + Text |Text text|Text␊ + Text text|Text text text|Text␊ + Text| Text |Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ␊ + `, + } + +## table-column-style-default.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 24, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 28, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 30, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 30, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 29, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 71, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 73, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 73, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the right for style "compact"', + errorRange: [ + 14, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 93, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 95, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 96, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 97, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 115, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 116, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 117, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 119, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + fixed: `# Table Column Style - Default␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | -------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text tex | Text |␊ + ␊ + {MD060:-5} {MD060:-3} {MD060:-2}␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading | Heading␊ + ------- | -------- | --------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text tex | Text␊ + ␊ + {MD060:-5} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | ------- | ------- |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | - | - | - |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | - | --- | - |␊ + | Text | Text text | Text |␊ + | Text | Text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | ------- | -------␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + Heading | Heading | Heading␊ + -- | -- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + Heading | Heading | Heading␊ + -- | --- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2}␊ + ␊ + ## Tight / Edge Pipes␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|-------|-------|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + |Heading|Heading|Heading|␊ + |-|-|-|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + |Heading|Heading |Heading|␊ + |-------|-------|------- |␊ + | Text|Text text |Text|␊ + |Text text |Text text text|Text|␊ + |Text| Text |Text|␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / No Edge Pipes␊ + ␊ + Heading|Heading|Heading␊ + -------|-------|-------␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + Heading|Heading|Heading␊ + -|-|-␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + Heading|Heading |Heading␊ + -------|-------| -------␊ + Text |Text text|Text␊ + Text text|Text text text|Text␊ + Text| Text |Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2}␊ + ␊ + ␊ + `, + } + +## table-column-style-emoji.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has extra space to the left for style "compact"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 19, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 29, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + fixed: `# Table Column Style - Emoji␊ + ␊ + ## Aligned␊ + ␊ + | Response | Emoji |␊ + | -------- | ----- |␊ + | Yes | ✅ |␊ + | No | ❎ |␊ + | Oops | ❌ |␊ + ␊ + {MD060:-2}␊ + ␊ + ## Compact␊ + ␊ + | Response | Emoji |␊ + | --- | --- |␊ + | Yes | ✅ |␊ + | No | ❎ |␊ + | Oops | ❌ |␊ + ␊ + {MD060:-2}␊ + ␊ + ## Tight␊ + ␊ + |Response|Emoji|␊ + |---|---|␊ + |Yes|✅|␊ + |No|❎|␊ + |Oops|❌ |␊ + ␊ + {MD060:-2}␊ + `, + } + +## table-column-style-tight.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 5, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 6, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 7, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 9, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 24, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 24, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 33, + 1, + ], + fixInfo: null, + lineNumber: 16, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 25, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 27, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 32, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 32, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 32, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 32, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 10, + 1, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 41, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 37, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 45, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 49, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 27, + 1, + ], + fixInfo: null, + lineNumber: 51, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 37, + 1, + ], + fixInfo: null, + lineNumber: 52, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 8, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 15, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 57, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 32, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 23, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 59, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 29, + 1, + ], + fixInfo: null, + lineNumber: 60, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 31, + 1, + ], + fixInfo: null, + lineNumber: 61, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 67, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 68, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 68, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 68, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 68, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 69, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 69, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 69, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 69, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 70, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 70, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 70, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 70, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 71, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 71, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 71, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 71, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 19, + 1, + ], + fixInfo: null, + lineNumber: 75, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 76, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 77, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 78, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 78, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 78, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 78, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 79, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 83, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 84, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 84, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 84, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 84, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 21, + 1, + ], + fixInfo: null, + lineNumber: 85, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 11, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 28, + 1, + ], + fixInfo: null, + lineNumber: 86, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 14, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 14, + 1, + ], + fixInfo: null, + lineNumber: 87, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 105, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 26, + 1, + ], + fixInfo: null, + lineNumber: 106, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 107, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 107, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 108, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 109, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 109, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 127, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 16, + 1, + ], + fixInfo: null, + lineNumber: 128, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 6, + 1, + ], + fixInfo: null, + lineNumber: 129, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the right for style "tight"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 131, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + { + errorContext: null, + errorDetail: 'Table pipe has space to the left for style "tight"', + errorRange: [ + 12, + 1, + ], + fixInfo: null, + lineNumber: 131, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + }, + ], + fixed: `# Table Column Style - Tight␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | -------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text tex | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + ------- | -------- | --------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text tex | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | ------- | ------- |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | - | - | - |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + | Heading | Heading | Heading |␊ + | - | --- | - |␊ + | Text | Text text | Text |␊ + | Text | Text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Compact / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | ------- | -------␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + -- | -- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + Heading | Heading | Heading␊ + -- | --- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / Edge Pipes␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|-------|-------|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + |Heading|Heading|Heading|␊ + |-|-|-|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + |Heading|Heading |Heading|␊ + |-------|-------|------- |␊ + | Text|Text text |Text|␊ + |Text text |Text text text|Text|␊ + |Text| Text |Text|␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2}␊ + ␊ + ## Tight / No Edge Pipes␊ + ␊ + Heading|Heading|Heading␊ + -------|-------|-------␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + Heading|Heading|Heading␊ + -|-|-␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + Heading|Heading |Heading␊ + -------|-------| -------␊ + Text |Text text|Text␊ + Text text|Text text text|Text␊ + Text| Text |Text␊ + ␊ + {MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2}␊ + ␊ + ␊ + `, + } + +## table-column-style-trailing-spaces.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Table Column Style - Trailing Spaces␊ + ␊ + ## Aligned␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text | ␊ + | Text | Text text | Text | ␊ + | Text | Text text | Text | ␊ + ␊ + ## Compact␊ + ␊ + | Heading | Heading | Heading |␊ + | --- | --- | --- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text | ␊ + | Text | Text text | Text | ␊ + | Text | Text text | Text | ␊ + ␊ + ## Tight␊ + ␊ + |Heading|Heading|Heading|␊ + |---|---|---|␊ + |Text|Text text|Text|␊ + |Text|Text text|Text| ␊ + |Text|Text text|Text| ␊ + |Text|Text text|Text| ␊ + ␊ + ␊ + `, + } + +## 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: [ + 4, + 1, + ], + 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: [ + 11, + 1, + ], + 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: [ + 5, + 1, + ], + fixInfo: { + deleteCount: 1, + editColumn: 5, + }, + 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', + ], + }, + { + errorContext: '[link ]', + errorDetail: null, + errorRange: [ + 4, + 5, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + { + errorContext: '[link]', + errorDetail: null, + errorRange: [ + 4, + 4, + ], + fixInfo: null, + lineNumber: 13, + ruleDescription: 'Link text should be descriptive', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md', + ruleNames: [ + 'MD059', + 'descriptive-link-text', + ], + }, + ], + fixed: `# 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} {MD059} |␊ + | [link]() | {MD042} {MD059} |␊ + `, + } + +## 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: 149, + 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: 151, + 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: 133, + 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: 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: trailing_only; Missing leading pipe', + errorRange: [ + 3, + 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 leading pipe', + errorRange: [ + 3, + 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: no_leading_or_trailing; 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: [ + 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_and_trailing; Actual: trailing_only; Missing leading pipe', + errorRange: [ + 1, + 1, + ], + fixInfo: null, + lineNumber: 29, + 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: 34, + 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: 34, + 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: 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: [ + 17, + 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: [ + 1, + 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: [ + 18, + 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: 42, + 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: 42, + 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: 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: [ + 17, + 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: [ + 1, + 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: [ + 18, + 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: [ + 2, + 1, + ], + fixInfo: null, + lineNumber: 48, + 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: 48, + 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: 54, + 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: 54, + 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: 58, + 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: 58, + 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: 65, + 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: 65, + 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: 72, + 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: 72, + 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: 78, + 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: 82, + 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: 89, + 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: 96, + 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: 102, + 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: 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: trailing_only; Missing leading pipe', + errorRange: [ + 3, + 1, + ], + fixInfo: null, + lineNumber: 113, + 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: 120, + 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: 127, + 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: 127, + 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: 131, + 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: 133, + 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: 127, + 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.mjs.snap b/test/snapshots/markdownlint-test-scenarios.mjs.snap new file mode 100644 index 00000000..812d7332 Binary files /dev/null and b/test/snapshots/markdownlint-test-scenarios.mjs.snap differ diff --git a/test/table-column-style-aligned.md b/test/table-column-style-aligned.md new file mode 100644 index 00000000..1cc12c61 --- /dev/null +++ b/test/table-column-style-aligned.md @@ -0,0 +1,144 @@ +# Table Column Style - Aligned + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +| Heading | Heading | Heading | +| ------- | -------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text tex | Text | + +{MD060:-5} {MD060:-3} {MD060:-2} + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text text | Text +Text | Text text | Text + +Heading | Heading | Heading +------- | -------- | -------- +Text | Text text | Text +Text | Text text | Text +Text | Text tex | Text + +{MD060:-5} {MD060:-3} {MD060:-2} + +## Compact / Edge Pipes + +| Heading | Heading | Heading | +| ------- | ------- | ------- | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +{MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| - | - | - | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| - | --- | - | +| Text | Text text | Text | +| Text | Text | Text | +| Text | Text | Text | + +{MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / No Edge Pipes + +Heading | Heading | Heading +------- | ------- | ------- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +-- | -- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +-- | --- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / Edge Pipes + +|Heading|Heading|Heading| +|-------|-------|-------| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +{MD060:-4} {MD060:-3} {MD060:-2} + +|Heading|Heading|Heading| +|-|-|-| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +|Heading|Heading |Heading| +|-------|-------|------- | +| Text|Text text |Text| +|Text text |Text text text|Text| +|Text| Text |Text| + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / No Edge Pipes + +Heading|Heading|Heading +-------|-------|------- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +{MD060:-4} {MD060:-3} {MD060:-2} + +Heading|Heading|Heading +-|-|- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading|Heading |Heading +-------|-------| ------- +Text |Text text|Text +Text text|Text text text|Text +Text| Text |Text + +{MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + + diff --git a/test/table-column-style-compact.md b/test/table-column-style-compact.md new file mode 100644 index 00000000..071a6f32 --- /dev/null +++ b/test/table-column-style-compact.md @@ -0,0 +1,140 @@ +# Table Column Style - Compact + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +{MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| ------- | -------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text tex | Text | + +{MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2} + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text text | Text +Text | Text text | Text + +{MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +------- | -------- | -------- +Text | Text text | Text +Text | Text text | Text +Text | Text tex | Text + +{MD060:-6} {MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / Edge Pipes + +| Heading | Heading | Heading | +| ------- | ------- | ------- | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +| Heading | Heading | Heading | +| - | - | - | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +| Heading | Heading | Heading | +| - | --- | - | +| Text | Text text | Text | +| Text | Text | Text | +| Text | Text | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / No Edge Pipes + +Heading | Heading | Heading +------- | ------- | ------- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +Heading | Heading | Heading +-- | -- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +Heading | Heading | Heading +-- | --- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2} + +## Tight / Edge Pipes + +|Heading|Heading|Heading| +|-------|-------|-------| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +|Heading|Heading|Heading| +|-|-|-| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +|Heading|Heading |Heading| +|-------|-------|------- | +| Text|Text text |Text| +|Text text |Text text text|Text| +|Text| Text |Text| + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / No Edge Pipes + +Heading|Heading|Heading +-------|-------|------- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading|Heading|Heading +-|-|- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading|Heading |Heading +-------|-------| ------- +Text |Text text|Text +Text text|Text text text|Text +Text| Text |Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + + diff --git a/test/table-column-style-default.md b/test/table-column-style-default.md new file mode 100644 index 00000000..1034f04d --- /dev/null +++ b/test/table-column-style-default.md @@ -0,0 +1,125 @@ +# Table Column Style - Default + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +| Heading | Heading | Heading | +| ------- | -------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text tex | Text | + +{MD060:-5} {MD060:-3} {MD060:-2} + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text text | Text +Text | Text text | Text + +Heading | Heading | Heading +------- | -------- | -------- +Text | Text text | Text +Text | Text text | Text +Text | Text tex | Text + +{MD060:-5} {MD060:-3} {MD060:-2} + +## Compact / Edge Pipes + +| Heading | Heading | Heading | +| ------- | ------- | ------- | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +| Heading | Heading | Heading | +| - | - | - | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +| Heading | Heading | Heading | +| - | --- | - | +| Text | Text text | Text | +| Text | Text | Text | +| Text | Text | Text | + +{MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / No Edge Pipes + +Heading | Heading | Heading +------- | ------- | ------- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +Heading | Heading | Heading +-- | -- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +Heading | Heading | Heading +-- | --- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2} + +## Tight / Edge Pipes + +|Heading|Heading|Heading| +|-------|-------|-------| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +|Heading|Heading|Heading| +|-|-|-| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +|Heading|Heading |Heading| +|-------|-------|------- | +| Text|Text text |Text| +|Text text |Text text text|Text| +|Text| Text |Text| + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / No Edge Pipes + +Heading|Heading|Heading +-------|-------|------- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +Heading|Heading|Heading +-|-|- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +Heading|Heading |Heading +-------|-------| ------- +Text |Text text|Text +Text text|Text text text|Text +Text| Text |Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2} + + diff --git a/test/table-column-style-emoji.md b/test/table-column-style-emoji.md new file mode 100644 index 00000000..58120159 --- /dev/null +++ b/test/table-column-style-emoji.md @@ -0,0 +1,31 @@ +# Table Column Style - Emoji + +## Aligned + +| Response | Emoji | +| -------- | ----- | +| Yes | ✅ | +| No | ❎ | +| Oops | ❌ | + +{MD060:-2} + +## Compact + +| Response | Emoji | +| --- | --- | +| Yes | ✅ | +| No | ❎ | +| Oops | ❌ | + +{MD060:-2} + +## Tight + +|Response|Emoji| +|---|---| +|Yes|✅| +|No|❎| +|Oops|❌ | + +{MD060:-2} diff --git a/test/table-column-style-tight.md b/test/table-column-style-tight.md new file mode 100644 index 00000000..85e952d1 --- /dev/null +++ b/test/table-column-style-tight.md @@ -0,0 +1,140 @@ +# Table Column Style - Tight + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| ------- | -------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text tex | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text text | Text +Text | Text text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +------- | -------- | -------- +Text | Text text | Text +Text | Text text | Text +Text | Text tex | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / Edge Pipes + +| Heading | Heading | Heading | +| ------- | ------- | ------- | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| - | - | - | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +| Heading | Heading | Heading | +| - | --- | - | +| Text | Text text | Text | +| Text | Text | Text | +| Text | Text | Text | + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Compact / No Edge Pipes + +Heading | Heading | Heading +------- | ------- | ------- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +-- | -- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +Heading | Heading | Heading +-- | --- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / Edge Pipes + +|Heading|Heading|Heading| +|-------|-------|-------| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +|Heading|Heading|Heading| +|-|-|-| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +|Heading|Heading |Heading| +|-------|-------|------- | +| Text|Text text |Text| +|Text text |Text text text|Text| +|Text| Text |Text| + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-3} {MD060:-2} + +## Tight / No Edge Pipes + +Heading|Heading|Heading +-------|-------|------- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +Heading|Heading|Heading +-|-|- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +Heading|Heading |Heading +-------|-------| ------- +Text |Text text|Text +Text text|Text text text|Text +Text| Text |Text + +{MD060:-6} {MD060:-5} {MD060:-4} {MD060:-2} + + diff --git a/test/table-column-style-trailing-spaces.md b/test/table-column-style-trailing-spaces.md new file mode 100644 index 00000000..fe72c2e8 --- /dev/null +++ b/test/table-column-style-trailing-spaces.md @@ -0,0 +1,35 @@ +# Table Column Style - Trailing Spaces + +## Aligned + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +## Compact + +| Heading | Heading | Heading | +| --- | --- | --- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +## Tight + +|Heading|Heading|Heading| +|---|---|---| +|Text|Text text|Text| +|Text|Text text|Text| +|Text|Text text|Text| +|Text|Text text|Text| + + diff --git a/test/table-pipe-style.md b/test/table-pipe-style.md index e419549e..00ce1f48 100644 --- a/test/table-pipe-style.md +++ b/test/table-pipe-style.md @@ -1,6 +1,7 @@ # Table Pipe Style