-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Currently, if I want to adjust, say, narrative-sidebar-width
, for a particular cr-section, I have to wrap it in a div like below. It would be neat if I could specify this like how I would layout
, so something like ::::{.cr-section narrative-sidebar-width="3fr"}
.
---
title: My First Closeread
format: closeread-html
---
Hello World!
<div style="--cr-narrative-sidebar-width: 3fr;">
::::{.cr-section}
This is trigger 1.
@cr-mpg
:::{#cr-mpg}
```{r mpg}
library(ggplot2)
ggplot(mtcars, aes(x = mpg, y = hp)) +
geom_point()
```
:::
::::
</div>
charliejhadley
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request