quarto-dev / quarto-dev/quarto-cli

mermaid blocks cannot be tabset

Offen
#5,145 3 Kommentare 4 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@cscheid arbeitet bereits daran.

Seit 13.4.2023.

bug diagrams-mermaid tabsets
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
458
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
41

Beschreibung

Bug description

when trying to nest mermaid diagrams in tabsets, diagrams beyond the first one are cut off:

image

---
title: mermaid tabsets
---

::: {.panel-tabset}

## first mermaid

```{mermaid}
flowchart TD
one---two
```

## second mermaid

```{mermaid}
flowchart TD
three---four
```

## third mermaid

```{mermaid}
flowchart TD
five---six
```

:::


## level two


::: {.panel-tabset}

### first mermaid

```{mermaid}
flowchart TD
one---two
```

### second mermaid

```{mermaid}
flowchart TD
three---four
```

### third mermaid

```{mermaid}
flowchart TD
five---six
```

:::

quarto check:

❯ quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.313
      Path: /Users/edavidaja/.local/share/qvm/versions/v1.3.313/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.8.6
      Path: /Users/edavidaja/.pyenv/versions/3.8.6/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.0
      Path: /Library/Frameworks/R.framework/Versions/4.2/Resources
      LibPaths:
        - /Users/edavidaja/Library/R/x86_64/4.2/library
        - /Library/Frameworks/R.framework/Versions/4.2/Resources/library
      knitr: 1.42
      rmarkdown: 2.20

[✓] Checking Knitr engine render......OK
Checklist
  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
  • Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.