quarto-dev / quarto-dev/quarto-cli
How to center text in Quarto presentations?
Open
@cscheid is already working on this.
Since Jun 27, 2022.
enhancement
revealjs
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I'm creating a presentation with Quarto ( to revealjs) and wanted to have one slide with a line of text centered horizontally and vertically. I could not find a way to do this. I figured that I can use the .r-stack to center text horizontally like
##
:::{.r-stack}
centered text ^[with a footnote for extra fun]
:::
But how can one center the line of text also vertically?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.