Skip to content

fix: minor doc updates#395

Merged
orta merged 1 commit intoshikijs:mainfrom
muenzpraeger:rw/docs-update
Dec 23, 2022
Merged

fix: minor doc updates#395
orta merged 1 commit intoshikijs:mainfrom
muenzpraeger:rw/docs-update

Conversation

@muenzpraeger
Copy link
Copy Markdown
Collaborator

Minor docs update

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 20, 2022

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit fa88734
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/63a1bf0c75b6010009d23be0
😎 Deploy Preview https://deploy-preview-395--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 settings.

// It is recommended to use a Response object. Oniguruma will then use WebAssembly.instantiateStreaming(), which
// means it can start parsing the file while it's still downloading.
const wasmResponse = new Response(await fetch('/your/path/onig.wasm'))
const wasmResponse = await fetch('/your/path/onig.wasm')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this await force the full load ahead of time, instead of streaming like the comment? (both old and new may be wrong here?)

@orta orta merged commit 4432d44 into shikijs:main Dec 23, 2022
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