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

feature suggestion: Text Direction Support #37

Open
SRamezanH opened this issue Aug 29, 2017 · 3 comments
Open

feature suggestion: Text Direction Support #37

SRamezanH opened this issue Aug 29, 2017 · 3 comments

Comments

@SRamezanH
Copy link

Hi,
Uncolored is really brilliant. I Checked and it supports writing rtl languages and doesn't mess with them. But unfortunately, we cannot change text direction to Right-to-Left. In Html output it'll be simple, I think. Just a line in css with direction:rtl; . I don't know any thing about markdown at depth but I see this project in python which is a Persian rtl markdown editor. I hope it'll not take much time and effort.
Other than rtl support I think the option to making texts center too will be useful.

@n457
Copy link
Owner

n457 commented Nov 4, 2017

Hi @SRamezanH,

Alright I keep this in mind for the next version, gotta some tests ;) Thanks for your feedback !

@mohsenkhanpour
Copy link

You can add a button in the menu setting the direction to rtl or ltr and auto.
To further clarify how to do this:

This text is one saved markdown file hosted on GitHub. (Viewed on GitHub too.)
It shows how adding an English word jumbles up the whole content.
screenshot_1
After applying this code with a custom CSS extension:

screenshot_2

The text is shown currently.
screenshot_3

@mohsenkhanpour
Copy link

@n457 I guess the same can be done with div=auto HTML attribute.

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

No branches or pull requests

3 participants