Replies: 2 comments 3 replies
-
|
Yes, that's possible, the best course of action is to use your favourite browser inspect / developer mode to look at the selector to use for your (S)CSS rule. See: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Hi Thanks for your response. I read these documents. While they provide some information about using custom html and css in revealjs presentations, they don't specifically address the issues of content alignment. Would you be able to provide some specific guidance on this topic? /*-- scss:defaults --*/
.right {
text-align: right;
}
.center {
text-align: center;
}
.justified {
text-align: justifed;
}---
title: "Test"
format:
revealjs:
theme: [default, custom.scss]
---
# A slide
Text which should be left-aligned
[Text which should be right-aligned]{.right}
[Text which should be centered]{.center}
[Text which should be justified]{.justified}
| FOO | BAR |
|:---:|:---:|
| 1 | 2 |
| 3 | 4 | |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi,
Is it possible to control the horizontal alignment of text in Reveal.js slides (ideally using css)? Is it possible to control the position of a markdown, kable, or flextable table (I am specifically referring to the horizontal position of the table in the slide rather than the alignment of text within the table cells themselves) ?
Thanks in advance for your advice
Beta Was this translation helpful? Give feedback.
All reactions