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

feat: add addClassToHast to transformer context #573

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Jan 31, 2024

Due to the high frequency this function is used, it's better to expose it directly in the context to make the usage similar and avoid accidentally introducing unnecessary deps

Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit 7a2f327
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/65ba627ceb28ba0007568121
😎 Deploy Preview https://deploy-preview-573--shiki-matsu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for shiki-next ready!

Name Link
🔨 Latest commit 7a2f327
🔍 Latest deploy log https://app.netlify.com/sites/shiki-next/deploys/65ba627ce76ddb00083b33a2
😎 Deploy Preview https://deploy-preview-573--shiki-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d123b4b) 96.94% compared to head (7a2f327) 96.94%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #573   +/-   ##
=======================================
  Coverage   96.94%   96.94%           
=======================================
  Files          55       55           
  Lines        5173     5178    +5     
  Branches      657      657           
=======================================
+ Hits         5015     5020    +5     
  Misses        154      154           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@antfu antfu merged commit 6dfcd98 into main Jan 31, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants