Skip to content

feat: support .py, .R, .jl files in QuartoPreview#203

Merged
jmbuhr merged 2 commits intomainfrom
copilot/fix-quarto-preview-python-support
Apr 22, 2026
Merged

feat: support .py, .R, .jl files in QuartoPreview#203
jmbuhr merged 2 commits intomainfrom
copilot/fix-quarto-preview-python-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

QuartoPreview was silently rejecting script files (.py, .R, .jl) that quarto preview supports natively, including Python files using jupytext format.

Change

  • Extended quarto_extensions allowlist in quartoPreview to include .py, .R, and .jl
-- before
local quarto_extensions = { '.qmd', '.Rmd', '.ipynb', '.md' }

-- after
local quarto_extensions = { '.qmd', '.Rmd', '.ipynb', '.md', '.py', '.R', '.jl' }

Copilot AI linked an issue Apr 22, 2026 that may be closed by this pull request
@jmbuhr jmbuhr marked this pull request as ready for review April 22, 2026 10:06
Copilot AI changed the title [WIP] Fix QuartoPreview to work with .py files feat: support .py, .R, .jl files in QuartoPreview Apr 22, 2026
Copilot AI requested a review from jmbuhr April 22, 2026 10:06
@jmbuhr jmbuhr merged commit cb72652 into main Apr 22, 2026
6 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.

I can't get QuartoPreview to work in Python files.

2 participants