quarto-dev / quarto-dev/quarto

Different source code rendering in Quarto Source and Visual modes

Open
#733 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description

System details:

Positron and OS details:

Positron Version: 2025.06.0 (Universal) build 167
Code - OSS Version: 1.100.0
Commit: e7e5d5590adc6bf7b760f837051cd2f57ea9e3dc
Date: 2025-05-29T20:44:08.369Z (1 wk ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.5.0

Interpreter details:

R 4.4.2

Describe the issue:

The source code is rendered differently in source and visual modes.

Steps to reproduce the issue:

Source mode:

Image

Visual mode:

Image

Notice the different colours and how the ligatures aren't rendered in the visual mode.

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

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 reproducing the issue in Quarto Source and Visual modes with the supplied Positron and R environment, then compare the source-code colors and ligature rendering shown in the attached examples. Done means both modes render the source consistently, including matching colors and ligatures.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.