mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-19 11:38:07 +01:00
Update MD060/table-column-style to account for emoji and CJK characters rendering at 2x Latin width (fixes #1869).
This commit is contained in:
parent
ec380a87c0
commit
9b116ae889
13 changed files with 254 additions and 61 deletions
57
test/table-column-style-wide-characters.md
Normal file
57
test/table-column-style-wide-characters.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Table Column Style - Wide Characters
|
||||
|
||||
## Emoji
|
||||
|
||||
| AB | CD |
|
||||
| -- | -- |
|
||||
| EF | GH |
|
||||
| ✅ | KL |
|
||||
| MN | ✅ |
|
||||
| ✅ | ✅ |
|
||||
|
||||
| ✅ | CD |
|
||||
| -- | -- |
|
||||
| EF | GH |
|
||||
| ✅ | KL |
|
||||
| MN | ✅ |
|
||||
| ✅ | ✅ |
|
||||
|
||||
| AB | ✅ |
|
||||
| -- | -- |
|
||||
| EF | GH |
|
||||
| ✅ | KL |
|
||||
| MN | ✅ |
|
||||
| ✅ | ✅ |
|
||||
|
||||
| ✅ | ✅ |
|
||||
| -- | -- |
|
||||
| EF | GH |
|
||||
| ✅ | KL |
|
||||
| MN | ✅ |
|
||||
| ✅ | ✅ |
|
||||
|
||||
## Hello World
|
||||
|
||||
| Language | Translation |
|
||||
|---------------------|----------------|
|
||||
| Emoji | 👋🌎 |
|
||||
| Portuguese (Brazil) | Olá mundo |
|
||||
| Turkish | Merhaba dünya |
|
||||
| Chinese (Mandarin) | 你好,世界 |
|
||||
| Japanese | こんにちは世界 |
|
||||
| Korean | 안녕 세상 |
|
||||
|
||||
## ANSI Escape Codes
|
||||
|
||||
| Style | Escape codes |
|
||||
| --------- | ------------------------------------------------------- |
|
||||
| Bold | \u001B[1m大胆な\u001B[22m |
|
||||
| Underline | \u001B[4mUnderline\u001B[0m |
|
||||
| Link | \u001B]8;;https://example.com\u0007Link\u001B]8;;\u0007 |
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"no-bare-urls": false,
|
||||
"table-column-style": {
|
||||
"style": "aligned"
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue