Skip to content
Discussion options

You must be logged in to vote

For completeness, the following example using layout does what I want it to do (fragment works, as does the centering and coloring of text and figures):

---
title: "A working example"
format: 
  revealjs:
    smaller: true
---

---

### A title

::::::{.columns}

:::::{.column width="30%"}
Some text

Some more text
:::::

:::::{.column width="69%"}

:::: {layout="[[1,1,1], [1]]"}

:::{#skipjack}
:::{style="text-align: center"}
Skipjack tuna
![](https://upload.wikimedia.org/wikipedia/commons/a/ac/Thunnus_obesus_%28bigeye_tuna%29.jpg)
:::
:::

:::{#yellowfin}
:::{style="text-align: center"}
Yellowfin tuna
![](https://upload.wikimedia.org/wikipedia/commons/a/ac/Thunnus_obesus_%28bigeye_tuna%…

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cscheid
Comment options

@mcanouil
Comment options

Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Comment options

You must be logged in to vote
5 replies
@mcanouil
Comment options

@dmkaplan2000
Comment options

@mcanouil
Comment options

@dmkaplan2000
Comment options

@mcanouil
Comment options

Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Answer selected by dmkaplan2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format themes Related to HTML theming or any other style related issue (like highlight-style)
3 participants