Skip to content

Replace the link of rehype-shiki plugin with the official one #196

@logica0419

Description

@logica0419

Initial checklist

Problem

Currently, the suggested plugin for Shiki integration is https://github.com/rsclarke/rehype-shiki.
However, it has not been upgraded for 5 years, so it shouldn't be displayed here.
https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins

Current solutions

No current solutions

Proposed solutions

Shiki has its official implementation https://shiki.matsu.io/packages/rehype, so I guess replacing the link with this one is better.

However, it's in the Shiki monorepo https://github.com/shikijs/shiki/tree/main/packages/rehype, so they don't

  • pick a name prefixed by rehype-
  • have rehype-plugin in their package.json (this can be solved easily)
  • have rehype-plugin in their repo tags

I wonder if it's OK to list this plugin on the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🤞 phase/openPost is being triaged manually

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions