mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-02 22:18:49 +01:00
Update MD055/table-pipe-style to support "consistent" and other styles, use micromark positioning, report ranges, add more tests.
This commit is contained in:
parent
a563c082a5
commit
7d2248d211
28 changed files with 4413 additions and 185 deletions
31
test/table-pipe-style-explicit-trailing.md
Normal file
31
test/table-pipe-style-explicit-trailing.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Table Pipe Style Explicit Trailing
|
||||
|
||||
## Style: both {MD055:+2} {MD055:+3} {MD055:+4}
|
||||
|
||||
| Table | Heading |
|
||||
| ----- | ------- |
|
||||
| Cell | Cell |
|
||||
|
||||
## Style: none {MD055:+2} {MD055:+3} {MD055:+4}
|
||||
|
||||
Table | Heading
|
||||
----- | -------
|
||||
Cell | Cell
|
||||
|
||||
## Style: leading {MD055:+2} {MD055:+3} {MD055:+4}
|
||||
|
||||
| Table | Heading
|
||||
| ----- | -------
|
||||
| Cell | Cell
|
||||
|
||||
## Style: trailing
|
||||
|
||||
Table | Heading |
|
||||
----- | ------- |
|
||||
Cell | Cell |
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"table-pipe-style": {
|
||||
"style": "trailing_only"
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue