Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qiushiyan/language-marker
A quarto extension to display the language for code blocks.
https://github.com/qiushiyan/language-marker
Last synced: about 1 month ago
JSON representation
A quarto extension to display the language for code blocks.
- Host: GitHub
- URL: https://github.com/qiushiyan/language-marker
- Owner: qiushiyan
- License: other
- Created: 2022-08-02T19:33:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T19:58:30.000Z (over 2 years ago)
- Last Synced: 2023-03-04T17:07:24.138Z (almost 2 years ago)
- Language: CSS
- Homepage: https://qiushiyan.github.io/language-marker/example
- Size: 232 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# language-marker
A quarto extension to display the language for code blocks.
See examples at https://qiushiyan.github.io/language-marker/example.
Currently only includes some of my commonly used languages:
- Python
- R
- SQL
- JavaScript
- TypeScript
- bash
- C++
- Rust
- Java## Installation
To install this extension in your current directory (or into the Quarto project that you're currently working in), use the following command:
```
quarto install extension qiushiyan/language-marker
```## Enabling
Add this to your document or project options:
```yaml
filters:
- language-marker
```## Usage
````markdown
```{python}
#| display-language: trueimport matplotlib.pyplot as plt
plt.plot([1,23,2,4])
plt.show()
```
````