quarto-dev / quarto-dev/quarto-cli
`df-print` ignored on Confluence
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
When publishing to Confluence, the df-print option [kable, tibble, paged] is ignored. (It is applied to the preview, however, and at least kable and tibble outputs are possible on Confluence. I haven't tested, whether paged is supported on Confluence).
Steps to reproduce
Publish the following to Confluence:
---
title: "confluence df-print kable"
format:
confluence-html:
df-print: kable
---
```{r}
head(mtcars)
```
Expected behavior
The table output is rendered as specified in df-print (as in the preview, in this case (kable) like a markdown table):
Actual behavior
The table output is rendered with the default S3 method for the data frame.
Your environment
─ Session info ────────────────────────────────
setting value
version R version 4.3.2 (2023-10-31 ucrt)
os Windows 11 x64 (build 22631)
system x86_64, mingw32
ui RStudio
language en
collate German_Germany.utf8
ctype German_Germany.utf8
tz Europe/Berlin
date 2023-11-16
rstudio 2023.09.1+494 Desert Sunflower (desktop)
pandoc 3.1.9 @ C:\\PROGRA~1\\Pandoc\\pandoc.exe
Quarto check output
dpprdan@Notebook-DP MINGW64 ~/Documents/R/quarto-test
$ 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.450
Path: C:\Program Files\Quarto\bin
CodePage: 1252
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.3.2
Path: C:/PROGRA~1/R/R-43~1.2
LibPaths:
- C:/Users/dpprdan/AppData/Local/R/win-library/4.3
- C:/Program Files/R/R-4.3.2/library
knitr: 1.45
rmarkdown: 2.25
[>] Checking Knitr engine render......OK
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by publishing the provided R and Confluence example, then compare its output with the preview. Trace how the confluence-html format handles the df-print option for kable and tibble output. Done means the Confluence table uses the selected df-print method rather than the default data-frame rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100