Skip to content

Quarto language detection for vscode#3465

Merged
elijah-potter merged 2 commits into
Automattic:masterfrom
silverhikari:quarto-language-detect
May 22, 2026
Merged

Quarto language detection for vscode#3465
elijah-potter merged 2 commits into
Automattic:masterfrom
silverhikari:quarto-language-detect

Conversation

@silverhikari
Copy link
Copy Markdown
Contributor

Issues

closes #3340

Description

this code adds "onLanguage:quarto" to the package.json to allow for suggestions when working in quarto documents using the official quarto extension

How Has This Been Tested?

i have tested the code by adding the line to pre-built extension's package.json and after adding it and restarting vscode, it was able to give suggestions when opening a document in quarto language mode

AI Disclosure

  • I am a human and didn't use any AI.

Checklist

  • I have performed a self-review of my own code

@hippietrail hippietrail requested a review from mcecode May 22, 2026 06:00
Copy link
Copy Markdown
Collaborator

@mcecode mcecode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Just know that we currently don't have any special handling for Quarto and simply treat it as Markdown:

"markdown" | "quarto" => Some(Box::new(Markdown::new(markdown_options))),

The OP in the PR (#3053) that added support mentioned that it should be fine, though our Markdown parser only more or less guarantees CommonMark compliance so you might see some breakages when using Quarto-specific syntax.

@elijah-potter elijah-potter added this pull request to the merge queue May 22, 2026
Merged via the queue into Automattic:master with commit a49cfab May 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add quarto language mode to language detection in vscode plugin

3 participants