quarto-dev / quarto-dev/quarto-cli

Confluence does not show `gt()` tables correctly

Open
#7,349 4 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Nov 30, 2023.

bug publishing-confluence tables
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

I am not sure, if this is Quarto issue, or gt() library's issue or Confluence, so I apologize if I address the issue using the wrong channel.

I have written a report using .qmd and published it on confluence. In my report i did use gt() and gtsummary() libraries to create tables. In quarto preview the tables are rendered and displayed correctly, however once published, the tables are are displayed as broken.

Steps to reproduce
---
title: "test"
format: html-confluence
---

## This is a test

```{r}
suppressMessages(library(tidyverse))
library(gt)
```

```{r}
mtcars|>
    group_by(cyl)|>
    summarise(avg_mpg=mean(mpg))|>
    gt()|>
    tab_header(title = "The title of the table")
```
Expected behavior

image

Actual behavior

image

Your environment
Quarto check output
[✓] 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.450
      Path: /opt/quarto/bin

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

[✓] Checking Python 3 installation....OK
      Version: 3.11.6 (Conda)
      Path: /home/pc/miniconda3/envs/home/bin/python
      Jupyter: 5.4.0
      Kernels: python3, ir

(-) Checking Jupyter engine render....0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.3.1
      Path: /usr/lib/R
      LibPaths:
        - /home/pc/R/x86_64-pc-linux-gnu-library/4.3
        - /usr/local/lib/R/site-library
        - /usr/lib/R/site-library
        - /usr/lib/R/library
      knitr: 1.44
      rmarkdown: 2.25

[✓] Checking Knitr engine render......OK
### Tasks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.