quarto-dev / quarto-dev/quarto

Proper handling of webr chunks

Open
#820 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

This issue is a follow up from this discussion: https://github.com/posit-dev/positron/discussions/9446#discussioncomment-14421016

The feature request is for support webr/pyodide chunks and interactively treat them identically to R/python chunks respectively. "Support" here would mean the ability to run code in the codes and have proper syntax highlighting.

For example with normal R chunks in positron we might see something like this:

Image

but when we create a webr chunk we lose the code running ability and the syntax highlighting:

Image

Is this something this extension would consider supporting? Alternatively is there a workaround to make working with quarto-live code a bit more friendly?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Positron discussion and compare the existing handling of R and Python chunks with the reported webr and pyodide behavior. Identify the entry points for interactive execution and syntax highlighting; done means both chunk types run code and receive the corresponding highlighting, or the supported workaround is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.