mProjectsCode / mProjectsCode/obsidian-shiki-plugin
Take into account Obsidian theme (style settings) colors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
The theme I use (Baseline) allows the user to change syntax highlighting colors via Style Settings. But Shiki Plugin offers no way to keep those colors, forcing me to override them with one of the offered themes.
Selecting "Obsidian included" overrides the theme with the default Obsidian colors, not my current theme.
Describe the solution you'd like
Add a new option to the theme list: "Use current Obsidian theme colors"
Additional context
The reason I use this plugin is to add language support for languages not supported by Obsidian, but I would love to be able to keep the colors I have set with Style Settings
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the theme-list option handling and how the plugin obtains Obsidian’s current theme colors, including Style Settings overrides. Add the “Use current Obsidian theme colors” option and verify that syntax highlighting follows the active theme rather than the default Obsidian colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100