Skip to contents

Insert a div for a horizontal two-column layout with percentage widths in a Revealjs presentation slide. Will embed text selected by the user into the left column and helper text into the right, otherwise skeleton help text will be inserted into both columns.

Usage

stamp_columns()

Value

Nothing. Text is updated in the active document.

Details

The output looks like this if the user hadn't selected any text:

:::: {.columns}

::: {.column width='40%'}
Left column
:::

::: {.column width='60%'}
Right column
:::

::::