Skip to content

update docs installation guide for install both packages(rehype-pretty-code, shiki) #258

@whdgur5717

Description

@whdgur5717

In the documentation, it currently suggests installing both packages using:

npm install rehype-pretty-code shiki

However, after installing both, I encountered some issues because Shiki v3 changed its API (specifically getSingletonHighlighter)
and in latest version(0.14.0), it is not updated yet.
and rehype-pretty-code relies on dependencies and peerDependencies for a specific version of Shiki, so I think installing both is not necessary.

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