Skip to content

mcanouil/quarto-language-cell-decorator

Repository files navigation

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/quarto-language-cell-decorator@0.4.0

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:

About

Quarto extension to add a decorator to the code cells to display the language name.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages