Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code block repeat render ! #1545

Closed
3 tasks done
Zhengqbbb opened this issue Oct 27, 2022 · 0 comments · Fixed by innocenzi/shiki-processor#1 or #1546
Closed
3 tasks done

Code block repeat render ! #1545

Zhengqbbb opened this issue Oct 27, 2022 · 0 comments · Fixed by innocenzi/shiki-processor#1 or #1546
Labels
bug Something isn't working build Related to the build system

Comments

@Zhengqbbb
Copy link
Contributor

Zhengqbbb commented Oct 27, 2022

Describe the bug

when i use code theme. include light and dark mode
The code block repeat render

image

Reproduction

// config.ts
markdown: {
    headers: {
      level: [0, 0]
    },
    theme: {
      light: 'vitesse-light',
      dark: 'vitesse-dark'
    }
  },

Expected behavior

The code block only render once

System Info

System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1 Pro
    Memory: 311.92 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.11.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 107.0.5304.62
    Safari: 15.6.1

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@Zhengqbbb Zhengqbbb added the bug: pending triage Maybe a bug, waiting for confirmation label Oct 27, 2022
@brc-dd brc-dd added bug Something isn't working build Related to the build system and removed bug: pending triage Maybe a bug, waiting for confirmation labels Oct 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working build Related to the build system
Projects
None yet
2 participants