-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
enhancementImprovement over existing featureImprovement over existing feature
Description
Description
Currently, I identify two issues with Shiki Code Hightlight:
- I am unable to change the colors on the go (dark/light mode toggle).
- I tried multiple approaches. Maybe I'm doing something wrong.
- The colors are stored in style attribute as rgb values. This means they will remain in the scheme they are written in even after exporting to html.
- I export html and store it in the db, then display html instead of rendering lexical editor in non-edit mode.
Users will be able to see the code highlight in their preferred mode (potentially even theme).
Use vars instead of rgb values.
Impact
Basically anyone with dual color scheme.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementImprovement over existing featureImprovement over existing feature