This extension adds a decorator to the code cells to display the language name.
quarto add mcanouil/quarto-language-cell-decoratorThis 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: