кварто презентация многоколоночный текст
Хотите знать, как получить несколько столбцов
toc
в представлении кварто . Код
Test1.qmd
приведен ниже:
---
title: "Test"
author: "A B c"
format:
revealjs:
toc: true
toc_float: true
toc-depth: 2
toc-location: body
toc-title: "Contents"
css: styles.css
---
# Intro1
## Intro11
AS
# Intro2
## Intro21
AS
1 ответ
Я не знаю о существующих многоколоночных YAML
TOC
.
Для достижения желаемого результата вы можете поместить код CSS ниже, внутри вашего
styles.css
:
.reveal ul {
display: flex;
justify-content: space-evenly; /* space-around */
}
Для справки, можно размещать контент в столбцах рядом друг с другом .
Беги снова
.qmd
:
---
title: "Test"
author: "M Yaseen"
format:
revealjs:
toc: true
toc_float: true
toc-depth: 2
toc-location: body
toc-title: "Contents"
css: styles.css
---
# Intro 1
## Intro 1.1
:::: {.columns}
::: {.column width="40%"}
Content in left column
:::
::: {.column width="60%"}
Content in right column
:::
::::
# Intro 2
## Intro 2.1
Content...
# Intro 3
## Intro 3.1
Content...
# Intro 4
## Intro 4.1
Content...