-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adding Right-to-Left support for template #875
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
Conversation
to RTL problem because some English paragraphs are also Right-to-Left and must be fixed. Now every post that want to be RTL must add an `rtl = true` in the `extra` section of post.
Thanks! Using an Instead of adding a separate CSS file and applying the .right-to-left p, .right-to-left h1, … {
direction: rtl;
font-family: "Vazir, Sahel, Yekan";
} This should allow us to set the text direction per block. In the We could also add a |
Yeah you are right, using a However i don't know how we can apply |
We could just add an additional |
Ok, i have done changes based on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update! I left some simplification suggestions inline:
Thanks a lot for suggestions!, now code is cleaner and so straight forward. |
Thanks! |
Adding Right-to-Left support for template. This is not a full solution to RTL problem because some English paragraphs are also Right-to-Left and must be fixed.
Now every post that want to be RTL must add an
rtl = true
in theextra
section of post.