Quarto support for the Zed editor.
- Full syntax highlighting for
.qmdfiles- Headers, lists, block quotes, thematic breaks
- Bold, italic, strikethrough, inline code
- Links and images
- Tables
- YAML front matter (with YAML syntax highlighting)
- Code block injections for:
- R (
{r}) - Python (
{python}) - Julia (
{julia}) - Observable JS (
{ojs}) - Mermaid diagrams (
{mermaid}) - Graphviz/Dot (
{dot}) - LaTeX/TeX (
{latex},{tex}) - Standard markdown code blocks (
python,r, etc.)
- R (
- Outline view for document navigation (headings)
- Code snippets for common Quarto patterns
Search for "Quarto" in Zed's extension marketplace.
- Clone this repository:
git clone https://github.com/prefrontal-systems/zed-quarto-plugin.git
- Open Zed
- Open the Command Palette (
Cmd+Shift+P) - Search for "zed: install dev extension"
- Select the
zed-quarto-plugindirectory
The extension includes snippets for common Quarto patterns:
r- R code chunkpy- Python code chunknote- Callout note blockyaml- YAML front matter template
To preview your Quarto document:
- Open the integrated terminal in Zed (
Ctrl+~orCmd+J) - Run:
quarto preview your-document.qmd
- Open the preview URL in your browser
zed-quarto-plugin/
├── extension.toml # Extension metadata
├── languages/
│ ├── quarto/ # Main Quarto language
│ │ ├── config.toml # Language configuration
│ │ ├── highlights.scm # Syntax highlighting queries
│ │ ├── injections.scm # Language injection queries
│ │ └── outline.scm # Outline/symbol queries
│ └── markdown-inline/ # Inline markdown (bold, italic, etc.)
│ ├── config.toml
│ └── highlights.scm
├── grammars/ # Tree-sitter grammar source
└── snippets/
└── quarto.json # Code snippets
Contributions are welcome! Please feel free to submit issues or pull requests.
MIT
- Uses tree-sitter-markdown grammar
- Built by Prefrontal Systems