quarto-dev / quarto-dev/quarto-cli

eval: false on mermaid not applying when publishing to confluence

Open
#10,969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Related to

  • #9407

Taking this doc

---
format: confluence-html
title: test diagrame
embed-resources: false
author: Me
engine: knitr
execute:
   echo: true
   eval: false
---

This is a diagram

```{mermaid}
%%| echo: true
%%| eval: false
flowchart LR
  A[Hard edge] --> B(Round edge)
  B --> C{Decision}
  C --> D[Result one]
  C --> E[Result two]
```

and doing quarto publish confluence index.qmd, a png file for the mermaid cell will still be done.

index_files/figure-publish/
└── mermaid-figure-1.png

I believe this should not happen

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

Reproduce the issue with the provided document and quarto publish confluence index.qmd; inspect the generated index_files/figure-publish/ directory and the Mermaid cell's handling of eval: false. Done means publishing no longer creates mermaid-figure-1.png when evaluation is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
cli, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.