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/[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.
Add the extension to your document's YAML front matter:
filters:
- language-cell-decoratorHere is the source code for a minimal example: example.qmd.
Output of example.qmd: