Skip to content

Commit da9bc5a

Browse files
committed
feat(editors): provide qmd and rmd languages in vscode
1 parent b5c0b5b commit da9bc5a

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

editors/code/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ Pin to a specific release from a specific repository:
6464
`false` and provide `panache.commandPath`.
6565
- If download fails, the extension shows a warning and falls back to
6666
`panache.commandPath`.
67+
- The extension contributes `quarto` (`.qmd`) and `rmarkdown` (`.Rmd`, `.rmd`)
68+
language registrations, so it works even without installing a separate Quarto
69+
extension. If Quarto is also installed, both can coexist.
6770

6871
## Settings
6972

editors/code/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

editors/code/package.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "panache",
33
"displayName": "Panache",
44
"description": "Language server for Pandoc, Quarto, and R Markdown documents",
5-
"version": "2.20.0",
5+
"version": "2.24.1",
66
"publisher": "jolars",
77
"license": "MIT",
88
"icon": "icon.png",
@@ -41,6 +41,29 @@
4141
],
4242
"main": "./dist/extension.js",
4343
"contributes": {
44+
"languages": [
45+
{
46+
"id": "quarto",
47+
"aliases": [
48+
"Quarto",
49+
"quarto"
50+
],
51+
"extensions": [
52+
".qmd"
53+
]
54+
},
55+
{
56+
"id": "rmarkdown",
57+
"aliases": [
58+
"R Markdown",
59+
"rmarkdown"
60+
],
61+
"extensions": [
62+
".Rmd",
63+
".rmd"
64+
]
65+
}
66+
],
4467
"configuration": {
4568
"title": "Panache",
4669
"properties": {

0 commit comments

Comments
 (0)