An open API service indexing awesome lists of open source software.

https://github.com/mcanouil/quarto-language-cell-decorator

Quarto extension to add a decorator to the code cells to display the language name.
https://github.com/mcanouil/quarto-language-cell-decorator

code codecell computing-language quarto quarto-extension quarto-pub

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Language Cell Decorator

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

## Installation

```bash
quarto add mcanouil/quarto-language-cell-decorator
```

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:

```yaml
filters:
- language-cell-decorator
```

## Example

Here is the source code for a minimal example: [example.qmd](example.qmd).

Outputs of `example.qmd`:

- [HTML](https://m.canouil.dev/quarto-language-cell-decorator/)
- [Reveal.js (HTML)](https://m.canouil.dev/quarto-language-cell-decorator/example-revealjs.html)