shikijs / shiki

A beautiful yet powerful syntax highlighter
http://shiki.style/
MIT License
9.19k stars 330 forks source link

docs: example typo #704

Closed Jayden12138 closed 2 weeks ago

Jayden12138 commented 2 weeks ago

Description

codeToHast is the same as the others, the return is a Promise, here in the sample code also need to use await to get the expected results

image

Linked Issues

Additional context

first pr submission :)

netlify[bot] commented 2 weeks ago

Deploy Preview for shiki-matsu ready!

Name Link
Latest commit 45b5387bc2614bd255ef7dd29edb3a7340f49f8e
Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/667135b65eec5f0008721514
Deploy Preview https://deploy-preview-704--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.

netlify[bot] commented 2 weeks ago

Deploy Preview for shiki-next ready!

Name Link
Latest commit 45b5387bc2614bd255ef7dd29edb3a7340f49f8e
Latest deploy log https://app.netlify.com/sites/shiki-next/deploys/667135b6e49511000889966f
Deploy Preview https://deploy-preview-704--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.