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
Add right to left stylesheet #3137
Comments
You're talking about in the |
Yes right. Right now every user willing to use Persian, Arabic or Hebrew should change the stylesheet to make the contents look properly in right to left context. So I thought that might be a good idea to add it to jekyll generated website by default, then users will know where to tweak RTL related stylesheet. I have more RTL issues which I have encountered during building my own website with jekyll and I will register them in separate tickets. |
I think it should be an option – either we write a RTL or LTR stylesheet to the new site. I suspect LTR should be the default, but I can see a RTL option being valuable. |
I could think of something like |
One method that can be used is writing scss with direction control , see: https://github.com/parhumm/sass-direction-controller |
@navidkashani I think it is a good idea. Then based on a keyword in |
This is not currently in the roadmap. If someone were to propose it, I would certainly accept a PR that added a That said, this is not something the Core Team has time to work on, so I'm going to close. If someone comes across my comment and has time to implement, please send a PR and reference this issue. Thanks! |
I altered the basic Jekyll theme's direction and style to help people speed things up. I know this isn't a real RTL support, but it can save sometime for people to use it. |
I would like to see RTL support in jekyll. Right now I add a new rtl.scss to change direction and do some css to have a proper RTL output. How about adding this file to default styles and having a new
direction
keyword in config file to change direction (which defaults to LTR)? If this suffices I will send a pull request. Please let me know your ideas.The text was updated successfully, but these errors were encountered: