GitHub

code-window is an extension for Quarto that frames code blocks as application windows: a title bar with the filename, traffic lights or title-bar buttons, and optional folding.

Installation

quarto add mcanouil/quarto-code-window@1.3.3

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Documentation

The full documentation lives at https://m.canouil.dev/quarto-code-window/: every option and per-block attribute, the three window styles, the folding, and the Typst hot-fixes.

example.qmd is a short, standalone starting point you can copy.

Licence

MIT.

Read the original on github.com ↗