Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with properly converting RTL tables #176

Open
scudway opened this issue Mar 29, 2023 · 0 comments
Open

issue with properly converting RTL tables #176

scudway opened this issue Mar 29, 2023 · 0 comments

Comments

@scudway
Copy link

scudway commented Mar 29, 2023

Describe the bug

word2md produces faulty rtl tables where it makes elements inside cells that are supposed to be aligned to the right side and makes them aligned to the left like LTR text would be. There is no issue with the text itself, but the direction is the problem. I'm no markdown specialist but I tried other doc to markdown converters and they got the tables right, so I checked the differences, and I found that at the header of the correct tables from other converters it says :

|**التنين**|**نوع الضرر**|**النفخة**|
| --- | --- | --- |
|أدهم|لاذع|5 × 30 قدم على خط مستقيم (تجربة تجربة)|
|أزرق|صاعق|5 × 30 قدم على خط مستقيم (تجربة تجربة)

where is word2md does it like this:

|**التنين**|**نوع الضرر**|**النفخة**|
| :- | :- | :- |
|أدهم|لاذع|5 × 30 قدم على خط مستقيم (تجربة تجربة)|
|أزرق|صاعق|5 × 30 قدم على خط مستقيم (تجربة تجربة)|

which as you can see the ":-" produces faulty direction from left to right whereas "---" does it right and gives elements that have a right to left direction.

I had to manually edit every table but that became cumbersome at a certain point, and I wanted to inform you of this which would do a great favor to the RTL community moving toward Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant