Can you make callouts collapsable by default? #2869
-
You can make callout blocks collapsable by adding Can you make this the default for all callout blocks in a project, e.g. via the project YAML? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I am not sure there's a straightforward YAML option to do this, but I can offer a solution using Lua filter. _quarto.yml
callouts.qmd
callouts.lua
But I don't know how to add this lua filter to the project YAML file so that it applies all the |
Beta Was this translation helpful? Give feedback.
-
Just note that since Quarto 1.3, there are custom AST nodes, and here is an example of the Lua filter to use to achieve this |
Beta Was this translation helpful? Give feedback.
I am not sure there's a straightforward YAML option to do this, but I can offer a solution using Lua filter.
_quarto.yml
callouts.qmd