Render blockquotes in a figure

Render cite and caption too.
This commit is contained in:
Eryn Wells 2024-11-06 09:31:16 -08:00
parent 25eaca442c
commit e04e7dafa3
5 changed files with 33 additions and 3 deletions

View file

@ -61,7 +61,7 @@ p + p {
/* Figures */
{{- $elementsWithXLBlockMargins := "blockquote, table, .codeblock, .figure--code, .figure--image, .figure--video, .figure--youtube, .highlight" -}}
{{- $elementsWithXLBlockMargins := "blockquote, table, .codeblock, .figure--main-column, .figure--code, .figure--image, .figure--video, .figure--youtube, .highlight" -}}
p + :is({{ $elementsWithXLBlockMargins }}) {
margin-block-start: var(--space-xl);