Skip to content

@shikijs/rehype: transformers in postprocess hook is not run #884

@olets

Description

@olets

Validations

Describe the bug

When processing code with shikijs/rehype, a transformer in the postprocess hook is not running… I think. I'm new to remark, and might be missing something in my parse / rehype / plugin / stringify setup.

Willing to work on a PR, but am new to remark, rehype, and this package.

Reproduction

https://stackblitz.com/edit/shikijs-rehype-transformer-hook-shikijs-shiki-884

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests

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