Skip to content

code highlighting and WYSIWYG thoughts #29

@vezwork

Description

@vezwork
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions