Skip to content

Code examples are not shown in the documentation #6206

@Dlazder

Description

@Dlazder

TanStack Table version


Framework/Library version


Describe the bug and the steps to reproduce it

Open any documentation page with code examples, e.g. https://tanstack.com/table/latest/docs/guide/column-defs,
use dark theme.

The "shiki" class adds the "display: none" property (check screenshot)

The theme switcher doesn't work, but if we remove the "dark" class from the element, the code examples are displayed (check screenshot)

I disabled all extensions, Chrome 145.0.7632.160, Edge 146.0.3856.59

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://stackblitz.placeholder.com

Screenshots or Videos (Optional)

Image Image Image

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions