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
layout-valign will create a div with the class quarto-layout-valign-top regardless of the option passed to it.
Steps to reproduce
This generates the same HTML output with layout-valign: bottom, layout-valign: top and layout-valign: center:
---title: Layout test---```{r}#| label: fig-charts#| fig-cap: #| - "Speed and Stopping Distances of Cars"#| - "Vapor Pressure of Mercury as a Function of Temperature"#| layout: "[1, 1]"#| layout-valign: bottomplot(cars)plot(pressure)```
Expected behavior
A div with the class quarto-layout-valign-top, quarto-layout-valign-bottom or quarto-layout-valign-center should be generated.
Actual behavior
This is generated regardless of the layout-valign option:
Thanks for the report.
It seems that the in-chunk options is not passed to the Markdown output by knitr
::: {.cell layout="[1, 1]"}
```{.r .cell-code}
plot(cars)
plot(pressure)
```
::: {.cell-output-display}
![Speed and Stopping Distances of Cars](test2_files/figure-html/fig-charts-1.png){#fig-charts-1 width=672}
:::
::: {.cell-output-display}
![Vapor Pressure of Mercury as a Function of Temperature](test2_files/figure-html/fig-charts-2.png){#fig-charts-2 width=672}
:::
:::
Bug description
layout-valign
will create a div with the classquarto-layout-valign-top
regardless of the option passed to it.Steps to reproduce
This generates the same HTML output with
layout-valign: bottom
,layout-valign: top
andlayout-valign: center
:Expected behavior
A div with the class
quarto-layout-valign-top
,quarto-layout-valign-bottom
orquarto-layout-valign-center
should be generated.Actual behavior
This is generated regardless of the
layout-valign
option:Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: