quarto-dev / quarto-dev/quarto-cli

[Confluence] Code Folding Support

Open
#4,660 7 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description

As far as I can tell, code folding is not (yet) supported in confluence output? It would be amazing to have this and I think confluence provides expand macros that could be used for this purpose?

quarto version 1.3.242

e.g. for file

---
title: "Test code folding"
format: 
  confluence-html:
    code-fold: true
---

```{r}
2 + 2
```

It looks like there's no code folding available.

Screenshot 2023-03-07 at 08 45 03
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.

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.

Research direction

Start with the reproducible .qmd example and the confluence-html format using code-fold: true. Compare the generated Confluence HTML with the expected expand-macro behavior described in the issue. Done means code blocks can be folded in Confluence output when code folding is enabled, while existing output remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.