mermaid blocks cannot be tabset

未关闭
#5,145 3 条评论 4 个 reaction 已指派 1 人 在 GitHub 查看

@cscheid 已经在做这个了。

开始于 2023年4月13日。

评估

这个 Issue 还没有评估数据。

描述

bug diagrams-mermaid tabsets
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.
主要语言
JavaScript
星标
6k
派生
458
平均合并
1 天 9 小时
30 天内合并 PR
41

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/quarto-cli 的其他 Issue

查看 quarto-dev/quarto-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。