How can I align the list items at the left page margin of the slide?
It seems that revealjs
is always using the longest list item text, centers it at the slide then left aligns all other list items under this one:
---
title:
output:
revealjs::revealjs_presentation
---
## list items
* a
* picture
* says more
* than a thousand words
or
1. item 1
1. item 2
I have tried to embed a CSS style sheet after the slide header, but it has no impact:
<style type="text/css">
.reveal li {
text-align: left;
}
</style>
PS: I am using RStudio with the revealjs
package.