quarto-dev / quarto-dev/q2

code highlighting and WYSIWYG thoughts

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

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
255
Forks
17
Avg merge
6h 20m
Merged PRs (30d)
109

Description

  1. Vscode/monaco themes are the same as “text mate themes”
  2. Textmate themes are very expressive (although still depend on how languages annotate spans on code blocks), its probably possible to convert themes from other theming systems into text mate themes, but not vice versa
  3. I want WYSIWYG to be possible (editor looks identical to rendered) and using text mate themes with Monaco for editing and e.g. Shiki for rendering would work. Alternatively, If we want true WYSIWYG we could render code blocks using non-editable monaco editors, although that would be sort of wasteful of people's computational resources.
  4. In general, I advocate for us to think about how renderable things can be edited and to put that rendering and editing tech into user space so we can make it user customizable and extensible

Contributor guide

Open the contributing guide

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

No file, test, or entry point is named. Start by reviewing the Monaco/TextMate theme and Shiki rendering options described here; completion would require a decided, scoped implementation path for editable and rendered code blocks, including the intended user customization.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
design, developer-experience, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.