Closed fkgruber closed 5 months ago
Are tidyverse
and all the options you've set necessary? By the way, Quarto uses dash delimited code cell options: fig-asp
not fig.asp
(even if it works).
Is the following enough to produce the issue you are describing?
---
format: confluence-html
title: Test
author: Test
---
## Test 2 columns
::: {layout-ncol=2}
Text 1
Text 2
Text 3
:::
yes this minimal example works fine to reproduce error.
thanks
by the way I got the same error on a linux machine. So it is not mac specific either.
Thanks for the report. From the error trace, this looks like another instance of the stray nils we're getting from Pandoc given their recent Lua API fix in https://github.com/jgm/pandoc/issues/9613.
Ok, I can repro this. Unfortunately, the fix is to produce an error message that says "Confluence format can't render layouts without floats"; This is because multi-column layouts are simply not supported by Confluence.
The error will now be
ERROR (/Users/cscheid/repos/github/quarto-dev/quarto-cli/src/resources/filters/./layout/confluence.lua:61) Confluence format can't render layouts without floats. Will skip this layout element.
Bug description
If you try to publish a quarto document that has mutlticolumns (::: {layout-ncol=2} notation) it crashes with fatal error.
Even if multicolumn are not supported in confluence it should not just crash with fatal error. Hopefully it would do something sensible.
Steps to reproduce
::: {layout-ncol=2}
Test of 2
:::