antfu / shikiji

A syntax highlighter based on TextMate grammars. ESM rewrite of shiki, with more features and capabilities.
https://shikiji.netlify.app/
MIT License
1.47k stars 38 forks source link

feat(rehype-shikiji): support metastring from node.properties #114

Closed zce closed 8 months ago

zce commented 8 months ago

Description

Try to obtain the metastring from node.properties.metastring when node.data.meta does not exist

Linked Issues

113

netlify[bot] commented 8 months ago

Deploy Preview for shikiji ready!

Name Link
Latest commit 13b742bdef4cc17ee412d95328ead33013409969
Latest deploy log https://app.netlify.com/sites/shikiji/deploys/65b2b0de871c8b0008d9520f
Deploy Preview https://deploy-preview-114--shikiji.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[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (57d298e) 97.27% compared to head (13b742b) 97.28%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #114 +/- ## ======================================= Coverage 97.27% 97.28% ======================================= Files 54 54 Lines 4956 4965 +9 Branches 639 639 ======================================= + Hits 4821 4830 +9 Misses 132 132 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.