mProjectsCode / mProjectsCode/obsidian-shiki-plugin

Take into account Obsidian theme (style settings) colors

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

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.