mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-09 20:02:33 +01:00
Tokens inside tables that lack a map should get it from the surrounding table row (which is more scoped than the table body) (fixes #463).
This commit is contained in:
parent
1e82f76596
commit
11806dc5cb
6 changed files with 106 additions and 34 deletions
42
test/token-map-spans.md
Normal file
42
test/token-map-spans.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Token Map Spans
|
||||
|
||||
Text *emphasis* text __strong__ text `code` text [link](https://example.com).
|
||||
|
||||
Paragraph with *emphasis
|
||||
spanning lines* and __strong
|
||||
spanning lines__ and `code
|
||||
spanning lines` and [link
|
||||
spanning lines](https://example.com).
|
||||
|
||||
> Blockquote
|
||||
> [link](https://example.com)
|
||||
> > Nested
|
||||
> > blockquote
|
||||
> > [link](https://example.com)
|
||||
|
||||
Heading
|
||||
-------
|
||||
|
||||
```lang
|
||||
Fenced
|
||||
code
|
||||
```
|
||||
|
||||
Indented
|
||||
code
|
||||
|
||||
1. List
|
||||
2. List
|
||||
- Sub-list
|
||||
- Sub-list
|
||||
3. List
|
||||
|
||||
| Table | Column 1 | Column 2 | Column 3 | Column 4 |
|
||||
|-------|------------|------------|----------|----------------------------|
|
||||
| Text | *emphasis* | __strong__ | `code` | [link](https://example.com) |
|
||||
| Text | *emphasis* | __strong__ | `code` | [link](https://example.com) |
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"code-block-style": false,
|
||||
"heading-style": false
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue