code highlighting and WYSIWYG thoughts
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 255
- Forks
- 17
- Avg merge
- 6h 20m
- Merged PRs (30d)
- 109
Description
- Vscode/monaco themes are the same as “text mate themes”
- 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
- 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.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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