primer/github-vscode-theme

Code Blocks in Markdown Preview Don't Sync with Theme

Opened this issue · 0 comments

Description

In the Markdown Preview, no matter how I change the Color Theme in VSCode, the code blocks in the Markdown Preview do not reflect the selected theme. I have tried various themes, including GitHub and Nord, but the preview colors remain in the default scheme.

Could you please advise on how to make the code blocks in Markdown Preview sync with the chosen Color Theme? This would greatly improve the experience of writing Markdown, as currently, I have two different syntax color schemes on my screen.

Screenshot 2024-06-09 at 10 28 44 PM

Steps to reproduce

  1. Select the GitHub Theme as the Color Theme

  2. Open *.md and paste the code in the below:

    int n;
    
    buffer = n;             // each can hold one item
    semaphore mutex = 1;
    semaphore empty = n;
    semaphore full = 0;
  3. It happened, the code blocks in Markdown preview don't sync with GitHub Theme

Version

v6.3.4

Theme

GitHub Dark