quarto-dev / quarto-dev/quarto

Background colour for div attributes & font size for chunks in Positron Visual Mode

Open
#784 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Positron Version: 2025.08.0 build 130
Code - OSS Version: 1.102.0
Commit: https://github.com/posit-dev/positron/commit/76ddce53e85437b013671fe7d91a3a1c54f48341
Date: 2025-08-01T20:08:51.894Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 23.6.0

Session details: R version 4.4.2 (2024-10-31)

Describe the issue:

The background of sections surrounded by "Div attributes" in visual mode for Positron is difficult to distinguish from other parts because it is not highlighted unlike in RStudio.
I would like to change the font size for the contents of chunks separately from the main text in the visual mode for Positron.

Image ↑↑ RStudio
Image ↑↑Positron

Expected or desired behavior:

  1. I would like to set a different background colour to the parts for div attributes like in RStudio.
  2. I would like to set a different font size to R chunks from the main text like in RStudio.

Could anyone please help with these issues? Is it possible to achieve them just by changing the settings.json?
Thank you very much in advance.

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 by checking Positron Visual Mode and the settings.json options referenced in the issue. Determine where div-attribute backgrounds and R chunk text sizing are controlled, then verify that each can be configured separately from the surrounding visual-mode text as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
frontend
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.