You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
YAML autocompletion suggests incorrect 'category' (singular) instead of Quarto's 'categories' (plural); schema type should be array #16524
Go to File → New File → Quarto Document (any format, e.g., HTML).
Trigger YAML autocompletion:
In the YAML frontmatter, type cat and pause to let autocompletion suggest fields.
Observe the suggested field: category: (singular, string type).
Verify incorrect behavior:
Accept the suggestion (category: "Test").
Render the document (e.g., "Render" button or quarto render).
Result: Quarto ignores category: (no error, but no effect).
Manual correction:
Replace category: "Test" with categories: [Test].
Re-render. Result: Works correctly.
Describe the problem in detail
RStudio’s YAML autocompletion suggests the incorrect fieldcategory: (singular, string) for Quarto documents (.qmd), but the official Quarto documentation specifies that the correct field is categories: (plural, array).
Root cause:
The schema in RStudio’s internal YAML validator (/opt/quarto/share/editor/tools/yaml/web-worker.js, line ~16457) defines:
{
"name": "category",
"schema": "string",
"description": "The document category."
}
The Quarto issue got bumped to the 1.11 release, so this is NOT fixed in the RStudio 2026.09 pre-release (with Quarto 1.10). Moving to 2026.10 and will check again. Sigh.
Activity
gtritchie commentedon Oct 6, 2025
Opened issue in Quarto repo: quarto-dev/quarto-cli#13519
ronblum commentedon Jan 6, 2026
Note: This is targeted for Quarto CLI 1.9 which is the current pre-release version. https://quarto.org/docs/download/prerelease.html
ronblum commentedon Mar 30, 2026
This isn't addressed in Quarto 1.9.36, and the target milestone has been shifted to 1.10, so moving this issue out.
4 remaining items
gtritchie commentedon Jul 20, 2026
Marking as blocked and moving back to TODO. My understanding is we are waiting for a new version of Quarto in order to test a fix in Quarto.
gtritchie commentedon Aug 4, 2026
RStudio 2026.09 will bundle Quarto 1.10 per #18355, so we'll see if this is fixed when that happens.
gtritchie commentedon Aug 26, 2026
The Quarto issue got bumped to the 1.11 release, so this is NOT fixed in the RStudio 2026.09 pre-release (with Quarto 1.10). Moving to 2026.10 and will check again. Sigh.