You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs (and past experience), mermaid cells allow users to specify the output size of the diagram. Unfortunately, those figure size directives are now ignored in reveal js. (Perhaps this is also true for other formats. This issue describes a similar problem for PPT.)
Steps to reproduce
---format:
revealjs:
mermaid:
theme: defaultexecute:
eval: trueecho: false---## Figure size directive ignored```{mermaid}%%| fig-width: 6.5flowchart LR %% create nodes this["This thing"] that["That thing"] %% connect notes into diagram this --> | goes to | that```
Actual behavior
The diagram appears as its (very small) inherent size. I cannot find a size directive that alters this.
Expected behavior
The diagram should be the specified size--or at least larger than its (very small) inherent size.
Bug description
According to the docs (and past experience), mermaid cells allow users to specify the output size of the diagram. Unfortunately, those figure size directives are now ignored in reveal js. (Perhaps this is also true for other formats. This issue describes a similar problem for PPT.)
Steps to reproduce
Actual behavior
The diagram appears as its (very small) inherent size. I cannot find a size directive that alters this.
Expected behavior
The diagram should be the specified size--or at least larger than its (very small) inherent size.
Your environment
Version: 1.99.3 (user setup)
Commit: 17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Quarto check output
The text was updated successfully, but these errors were encountered: