Skip to content

Repository files navigation

Code Window Extension for Quarto

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.

About

A Quarto extension that styles code blocks as macOS-style windows with traffic light buttons and a filename bar. Supports HTML, Reveal.js, and Typst formats.

Topics

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Contributors

Languages