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
Left align slide text #1897
Comments
|
I was just looking for the same config but I think the only way is to adjust the CSS. If you use a theme, you can just add it there.
|
|
I haven't mastered adjusting CSS in RMarkdown yet, but I just came across this (clumsier) solution on Stack Overflow that left-aligns all text in the slides, although not the titles: |
|
Yep, you can use CSS to style text to left align it. For individual slides, you can even use inline styles, like |
I did follow these steps and it worked great. The only problem is that it adds a blank slide before ## First Slide. Any ideas on how to solve this? Here's what I have: |
I'm creating a presentation in rmarkdown with reveal.js and would like the text on my slides to be left-aligned, not centered. I understand there is a global option to toggle
centeron/off, but this only affects vertical centering when I knit the HTML file. How do I left-align text for the entire file? The output options I am using are:Thanks for the help and for creating such a useful tool!
The text was updated successfully, but these errors were encountered: