Uncolored icon indicating copy to clipboard operation
Uncolored copied to clipboard

feature suggestion: Text Direction Support

Open SRamezanH opened this issue 7 years ago • 3 comments

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.

SRamezanH avatar Aug 29 '17 05:08 SRamezanH

Hi @SRamezanH,

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

n457 avatar Nov 04 '17 20:11 n457

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 avatar Jul 20 '18 17:07 mohsenkhanpour

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

mohsenkhanpour avatar Jul 26 '18 09:07 mohsenkhanpour