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

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

Open
4 of 5 tasks
olets opened this issue Jan 3, 2025 · 0 comments
Open
4 of 5 tasks

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

olets opened this issue Jan 3, 2025 · 0 comments

Comments

@olets
Copy link
Contributor

olets commented Jan 3, 2025

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
@olets olets changed the title @shikijs/rehype: transformers in transformer hooks do not apply @shikijs/rehype: transformers in postprocess hook is not run Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant