This extension provides support for Masonry.js: a fenced div with the .grid class becomes a cascading grid, and its options are written as ordinary attributes rather than as a JSON blob.
Caution
This is a work in progress repository, thus the content is highly experimental.
quarto add mcanouil/quarto-masonry@0.4.1This will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.
The full documentation lives at https://m.canouil.dev/quarto-masonry/: every attribute and the Masonry.js option it maps to, document-level defaults, the precedence between them, waiting for images, and working grids you can resize the window against.
example.qmd is a short, standalone starting point you can copy.
MIT.