mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
parent
b29a0e004c
commit
3532e3110a
36 changed files with 11751 additions and 175 deletions
1
.github/dictionary.txt
vendored
1
.github/dictionary.txt
vendored
|
@ -32,6 +32,7 @@ config.
|
|||
CVE-\d+-\d+
|
||||
docs-util
|
||||
ECMAScript
|
||||
encodings
|
||||
ES2015
|
||||
ES6
|
||||
ESLint
|
||||
|
|
|
@ -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
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
|
@ -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`,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
59
doc-build/md060.md
Normal file
59
doc-build/md060.md
Normal file
|
@ -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:
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable extended-ascii -->
|
||||
|
||||
```markdown
|
||||
| Response | Emoji |
|
||||
| -------- | ----- |
|
||||
| Yes | ✅ |
|
||||
| No | ❎ |
|
||||
```
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
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
|
77
doc/Rules.md
77
doc/Rules.md
|
@ -2549,7 +2549,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
|
||||
|
||||
<a name="md056"></a>
|
||||
|
||||
|
@ -2589,7 +2589,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
|
||||
|
||||
<a name="md058"></a>
|
||||
|
||||
|
@ -2678,6 +2678,79 @@ More information:
|
|||
- <https://webaim.org/techniques/hypertext/>
|
||||
- <https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-link-only.html>
|
||||
|
||||
<a name="md060"></a>
|
||||
|
||||
## `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:
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable extended-ascii -->
|
||||
|
||||
```markdown
|
||||
| Response | Emoji |
|
||||
| -------- | ----- |
|
||||
| Yes | ✅ |
|
||||
| No | ❎ |
|
||||
```
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
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
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"no-inline-html": {
|
||||
"allowed_elements": [
|
||||
|
|
|
@ -52,4 +52,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
|
||||
|
|
|
@ -34,4 +34,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
|
||||
|
|
70
doc/md060.md
Normal file
70
doc/md060.md
Normal file
|
@ -0,0 +1,70 @@
|
|||
# `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:
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable extended-ascii -->
|
||||
|
||||
```markdown
|
||||
| Response | Emoji |
|
||||
| -------- | ----- |
|
||||
| Yes | ✅ |
|
||||
| No | ❎ |
|
||||
```
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
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
|
24
lib/configuration-strict.d.ts
vendored
24
lib/configuration-strict.d.ts
vendored
|
@ -1186,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
|
||||
*/
|
||||
|
@ -1279,7 +1301,7 @@ export interface ConfigurationStrict {
|
|||
*/
|
||||
images?: boolean;
|
||||
/**
|
||||
* table : MD055, MD056, MD058
|
||||
* table : MD055, MD056, MD058, MD060
|
||||
*/
|
||||
table?: boolean;
|
||||
}
|
||||
|
|
118
lib/md060.mjs
Normal file
118
lib/md060.mjs
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
|
@ -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();
|
||||
|
|
|
@ -333,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"
|
||||
}
|
||||
}
|
|
@ -297,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"
|
||||
|
|
|
@ -604,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;
|
||||
|
|
|
@ -1869,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",
|
||||
|
@ -1985,7 +2029,7 @@
|
|||
"default": true
|
||||
},
|
||||
"table": {
|
||||
"description": "table : MD055, MD056, MD058",
|
||||
"description": "table : MD055, MD056, MD058, MD060",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
|
|
|
@ -1869,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",
|
||||
|
@ -1985,7 +2029,7 @@
|
|||
"default": true
|
||||
},
|
||||
"table": {
|
||||
"description": "table : MD055, MD056, MD058",
|
||||
"description": "table : MD055, MD056, MD058, MD060",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
|
|
|
@ -109,16 +109,20 @@ Strong **with** different style {MD050}
|
|||
|--------|--------|
|
||||
{MD055} | cell |
|
||||
|
||||
{MD060:-2}
|
||||
|
||||
| table | header |
|
||||
|---------|--------|
|
||||
| {MD056} |
|
||||
|
||||
Text
|
||||
| table {MD058} |
|
||||
|-------|
|
||||
| ------- |
|
||||
| cell {MD058} |
|
||||
> Blockquote
|
||||
|
||||
[click here](https://example.org) {MD059}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"required-headings": {
|
||||
"headings": [
|
||||
|
|
|
@ -53,5 +53,6 @@
|
|||
| cell | cell |
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": false,
|
||||
"table-pipe-style": false
|
||||
} -->
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -8,16 +8,19 @@ import jsYaml from "js-yaml";
|
|||
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,13 +34,17 @@ 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
|
||||
|
|
|
@ -468,7 +468,7 @@ test("styleAll", async(t) => {
|
|||
"MD042": [ 81 ],
|
||||
"MD045": [ 85 ],
|
||||
"MD046": [ 49, 73, 77 ],
|
||||
"MD047": [ 140 ],
|
||||
"MD047": [ 144 ],
|
||||
"MD048": [ 77 ],
|
||||
"MD049": [ 90 ],
|
||||
"MD050": [ 94 ],
|
||||
|
@ -476,8 +476,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.");
|
||||
|
@ -516,7 +518,7 @@ test("styleRelaxed", async(t) => {
|
|||
"MD042": [ 81 ],
|
||||
"MD045": [ 85 ],
|
||||
"MD046": [ 49, 73, 77 ],
|
||||
"MD047": [ 140 ],
|
||||
"MD047": [ 144 ],
|
||||
"MD048": [ 77 ],
|
||||
"MD049": [ 90 ],
|
||||
"MD050": [ 94 ],
|
||||
|
@ -524,8 +526,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.");
|
||||
|
@ -833,7 +837,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) {
|
||||
|
@ -908,7 +912,7 @@ test("readme", async(t) => {
|
|||
});
|
||||
|
||||
test("validateJsonUsingConfigSchemaStrict", async(t) => {
|
||||
t.plan(204);
|
||||
t.plan(209);
|
||||
// @ts-ignore
|
||||
const ajv = new Ajv(ajvOptions);
|
||||
const validateSchemaStrict = ajv.compile(configSchemaStrict);
|
||||
|
@ -1030,7 +1034,7 @@ test("validateConfigExampleJson", (t) => {
|
|||
});
|
||||
|
||||
test("allBuiltInRulesHaveValidUrl", (t) => {
|
||||
t.plan(156);
|
||||
t.plan(159);
|
||||
for (const rule of rules) {
|
||||
// @ts-ignore
|
||||
t.truthy(rule.information);
|
||||
|
|
|
@ -252,7 +252,51 @@ Generated by [AVA](https://avajs.dev).
|
|||
|
||||
> Expected linting violations
|
||||
|
||||
'test-repos/electron-electron/docs/tutorial/menus.md: 203: 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]"]'
|
||||
`test-repos/electron-electron/docs/api/structures/notification-action.md: 10: 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: 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: 2329: 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: 2329: 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: 2329: 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: 2329: 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: 2329: 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: 2329: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
|
||||
|
||||
|
@ -311,8 +355,172 @@ Generated by [AVA](https://avajs.dev).
|
|||
|
||||
> Expected linting violations
|
||||
|
||||
`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/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/api/tls.md: 28: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]`
|
||||
|
||||
## https://github.com/v8/v8.dev
|
||||
|
||||
|
@ -418,6 +626,13 @@ Generated by [AVA](https://avajs.dev).
|
|||
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-80.md: 47: 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: 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: 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: 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: 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: 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: 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: 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]"]␊
|
||||
|
@ -496,6 +711,10 @@ Generated by [AVA](https://avajs.dev).
|
|||
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-combinators.md: 25: 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: 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: 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: 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: 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]␊
|
||||
|
@ -534,14 +753,45 @@ Generated by [AVA](https://avajs.dev).
|
|||
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-typescript-config/docs/target.md: 21: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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/getting-started/development-environment.md: 94: 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: 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: 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: 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: 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: 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/contributor-guide/index.md: 8: 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: 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: 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: 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: 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: 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: 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: 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: 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..."]␊
|
||||
|
@ -549,10 +799,44 @@ Generated by [AVA](https://avajs.dev).
|
|||
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/development-flow-integration/travis-and-azure.md: 405: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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/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/utils-compat-data/README.md: 65: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
|
||||
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
144
test/table-column-style-aligned.md
Normal file
144
test/table-column-style-aligned.md
Normal file
|
@ -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}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": {
|
||||
"style": "aligned"
|
||||
},
|
||||
"table-pipe-style": false
|
||||
} -->
|
140
test/table-column-style-compact.md
Normal file
140
test/table-column-style-compact.md
Normal file
|
@ -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}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": {
|
||||
"style": "compact"
|
||||
},
|
||||
"table-pipe-style": false
|
||||
} -->
|
125
test/table-column-style-default.md
Normal file
125
test/table-column-style-default.md
Normal file
|
@ -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}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-pipe-style": false
|
||||
} -->
|
31
test/table-column-style-emoji.md
Normal file
31
test/table-column-style-emoji.md
Normal file
|
@ -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}
|
140
test/table-column-style-tight.md
Normal file
140
test/table-column-style-tight.md
Normal file
|
@ -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}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": {
|
||||
"style": "tight"
|
||||
},
|
||||
"table-pipe-style": false
|
||||
} -->
|
35
test/table-column-style-trailing-spaces.md
Normal file
35
test/table-column-style-trailing-spaces.md
Normal file
|
@ -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|
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": {
|
||||
"style": "any"
|
||||
},
|
||||
"no-trailing-spaces": false
|
||||
} -->
|
|
@ -1,6 +1,7 @@
|
|||
# Table Pipe Style
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-column-style": false,
|
||||
"table-pipe-style": {
|
||||
"style": "leading_and_trailing"
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ code
|
|||
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) |
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue