qjebbs/vscode-markdown-extended

Format Table command produces unaligned result when cell contains an emoji

redactedscribe opened this issue ยท 0 comments

Emoji Color Color 2
๐Ÿ‰ Red Green
๐Ÿˆ Lime Brown
๐ŸŒ Yellow -

Markdown:

| Emoji | Color | Color 2 |
| - | - | - |
| ๐Ÿ‰ | Red | Green |
| ๐Ÿˆ | Lime | Brown |
| ๐ŸŒ | Yellow | - |

After Format Table command:

| Emoji | Color  | Color 2 |
| ----- | ------ | ------- |
| ๐Ÿ‰      | Red    | Green   |
| ๐Ÿˆ      | Lime   | Brown   |
| ๐ŸŒ      | Yellow | -       |

Note: Even when fixing the table after the fact by hand, the table isn't perfectly aligned, at least on my system (but better than before):

| Emoji | Color  | Color 2 |
| ----- | ------ | ------- |
| ๐Ÿ‰    | Red    | Green   |
| ๐Ÿˆ    | Lime   | Brown   |
| ๐ŸŒ    | Yellow | -       |

Markdown Extended 1.1.3
VS Code 1.78