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.
quarto add mcanouil/quarto-language-cell-decorator@0.4.3This 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-language-cell-decorator/: the language label, the filename attribute, decorated blocks in several languages, and how to move to Code Window.
example.qmd is a short, standalone starting point you can copy.
MIT.