quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.98k stars 328 forks source link

tab groups in revealjs format #10861

Open davidahirshberg opened 2 months ago

davidahirshberg commented 2 months ago

It'd be nice if they worked the same way they do in html format.

cderv commented 2 months ago

Hi,

Can you share an example about what you mean exactly ?

This is the repository for VS Code extension and other tooling - the main repo is at https://github.com/quarto-dev/quarto-cli

I want to make sure I understand the suggestion before moving it over the other repo.

THanks

davidahirshberg commented 2 months ago

title: "Test" format: revealjs

Slide 1

::: {.panel-tabset group="group1"}

Tab 1

Tab 2

:::

::: {.panel-tabset group="group1"}

Tab 1

Tab 2

:::

If the output format were html, selecting Tab 2 in the first tabset would flip over to Tab 2 in the second tabset. In revealjs format, it doesn't.

cderv commented 2 months ago

Just putting back your example as code block (which can't be done in email response)

---
title: "Test"
format: revealjs
---

## Slide 1

::: {.panel-tabset group="group1"}

## Tab 1

## Tab 2

:::

::: {.panel-tabset group="group1"}

## Tab 1

## Tab 2

:::

I'll look into this. Probably this feature is not yet available in Revealjs. I'll check the limitations. Thanks !