Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.14 KB

File metadata and controls

37 lines (25 loc) · 1.14 KB

Language Cell Decorator

This extension adds a decorator to the code cells to display the language name.

Warning

This extension has been superseded by the Code Window extension. Code Window shows the language name on code blocks by default and adds window-style decorations. Please update your project to use the new extension.

To install the new extension, see the installation instructions.

Installation

quarto add mcanouil/[email protected]

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

Usage

Add the extension to your document's YAML front matter:

filters:
  - language-cell-decorator

Example

Here is the source code for a minimal example: example.qmd.

Output of example.qmd: