fcrespo82 / vscode-markdown-table-formatter

A (not so) simple Visual Studio Code markdown plugin to format tables and some other features.

Home Page:https://marketplace.visualstudio.com/items?itemName=fcrespo82.markdown-table-formatter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doesn't handle some emojis

natestemen opened this issue · comments

As an example the following snippet is not changed.

| a   | b |
|-----|---|
| one | ❌ |

but most other emojis I've test do work.

This is another one like #21 and I don't know if I can fix it.

Emojis are multiple length characters that render as "one" unique graphic (the emoji). Since it is not a font it cannot conform to the space that a letter uses, causing this sort of problem.

There is a good explanation about it here.

You can see in this image that even the face emoji with most correct size will add up if a lot is used.
image

I don't know how to address this issue at the moment.

Right, well thanks for taking a look, and if the other issue covers this one then feel free to close it. Still very much appreciate the tool nonetheless!