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

fix: codeToTokens's includeExplanation option #718

Merged
merged 2 commits into from
Jul 23, 2024
Merged

fix: codeToTokens's includeExplanation option #718

merged 2 commits into from
Jul 23, 2024

Conversation

uxiew
Copy link
Contributor

@uxiew uxiew commented Jul 20, 2024

Description

The options's includeExplanation field in codeToTokens doesn't work!

Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for shiki-next ready!

Name Link
🔨 Latest commit a81cbc7
🔍 Latest deploy log https://app.netlify.com/sites/shiki-next/deploys/669d058a05c8060008277444
😎 Deploy Preview https://deploy-preview-718--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.

Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit a81cbc7
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/669d058a08a8780008b5309c
😎 Deploy Preview https://deploy-preview-718--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.

@antfu antfu merged commit 55e857b into shikijs:main Jul 23, 2024
11 checks passed
diegohaz referenced this pull request in ariakit/ariakit Aug 7, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [shiki](https://github.com/shikijs/shiki)
([source](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki))
| [`1.10.3` ->
`1.12.1`](https://renovatebot.com/diffs/npm/shiki/1.10.3/1.12.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/shiki/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/shiki/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/shiki/1.10.3/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/shiki/1.10.3/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>shikijs/shiki (shiki)</summary>

### [`v1.12.1`](https://github.com/shikijs/shiki/releases/tag/v1.12.1)

[Compare
Source](https://github.com/shikijs/shiki/compare/v1.12.0...v1.12.1)

#####    🚀 Features

- New `dotenv` grammar, new `everforest` theme  -  by
[@&#8203;antfu](https://github.com/antfu)
[<samp>(29b1d)</samp>](https://github.com/shikijs/shiki/commit/29b1d3aa)

#####     [View changes on
GitHub](https://github.com/shikijs/shiki/compare/v1.12.0...v1.12.1)

### [`v1.12.0`](https://github.com/shikijs/shiki/releases/tag/v1.12.0)

[Compare
Source](https://github.com/shikijs/shiki/compare/v1.11.2...v1.12.0)

#####    🚀 Features

- Add static `initial` method for `GrammarState`,
[#&#8203;715](https://github.com/shikijs/shiki/issues/715)  -  by
[@&#8203;antfu](https://github.com/antfu) in
[https://github.com/shikijs/shiki/issues/715](https://github.com/shikijs/shiki/issues/715)
[<samp>(be07d)</samp>](https://github.com/shikijs/shiki/commit/be07da89)
- New `ts-tags` grammar, lit support, close
[#&#8203;725](https://github.com/shikijs/shiki/issues/725)  -  by
[@&#8203;antfu](https://github.com/antfu) in
[https://github.com/shikijs/shiki/issues/725](https://github.com/shikijs/shiki/issues/725)
[<samp>(3107a)</samp>](https://github.com/shikijs/shiki/commit/3107a2d0)

#####    🐞 Bug Fixes

- **core**: Fix decoration offset edge cases  -  by
[@&#8203;timothycohen](https://github.com/timothycohen) in
[https://github.com/shikijs/shiki/issues/728](https://github.com/shikijs/shiki/issues/728)
[<samp>(1349b)</samp>](https://github.com/shikijs/shiki/commit/1349bb4d)

#####     [View changes on
GitHub](https://github.com/shikijs/shiki/compare/v1.11.2...v1.12.0)

### [`v1.11.2`](https://github.com/shikijs/shiki/releases/tag/v1.11.2)

[Compare
Source](https://github.com/shikijs/shiki/compare/v1.11.1...v1.11.2)

#####    🐞 Bug Fixes

- **core**: Fix the incorrect parameter when using a single theme  -  by
[@&#8203;il-1337](https://github.com/il-1337) in
[https://github.com/shikijs/shiki/issues/723](https://github.com/shikijs/shiki/issues/723)
[<samp>(5e2a6)</samp>](https://github.com/shikijs/shiki/commit/5e2a69e2)
- **rehype**: Add the misssing `CodeToHastOptionsCommon` to
`RehypeShikiCoreOptions` for `rehype` plugin  -  by
[@&#8203;fwqaaq](https://github.com/fwqaaq) in
[https://github.com/shikijs/shiki/issues/726](https://github.com/shikijs/shiki/issues/726)
[<samp>(c8c14)</samp>](https://github.com/shikijs/shiki/commit/c8c1468d)

#####     [View changes on
GitHub](https://github.com/shikijs/shiki/compare/v1.11.1...v1.11.2)

### [`v1.11.1`](https://github.com/shikijs/shiki/releases/tag/v1.11.1)

[Compare
Source](https://github.com/shikijs/shiki/compare/v1.11.0...v1.11.1)

#####    🐞 Bug Fixes

- CodeToTokens's includeExplanation option  -  by
[@&#8203;uxiew](https://github.com/uxiew) in
[https://github.com/shikijs/shiki/issues/718](https://github.com/shikijs/shiki/issues/718)
[<samp>(55e85)</samp>](https://github.com/shikijs/shiki/commit/55e857b8)
- **vitepress-twoslash**: Correct client types  -  by
[@&#8203;sxzz](https://github.com/sxzz) in
[https://github.com/shikijs/shiki/issues/720](https://github.com/shikijs/shiki/issues/720)
[<samp>(c8f30)</samp>](https://github.com/shikijs/shiki/commit/c8f301c9)

#####     [View changes on
GitHub](https://github.com/shikijs/shiki/compare/v1.11.0...v1.11.1)

### [`v1.11.0`](https://github.com/shikijs/shiki/releases/tag/v1.11.0)

[Compare
Source](https://github.com/shikijs/shiki/compare/v1.10.3...v1.11.0)

#####    🚀 Features

- Update grammar and themes  -  by
[@&#8203;antfu](https://github.com/antfu)
[<samp>(91c7f)</samp>](https://github.com/shikijs/shiki/commit/91c7f016)

#####     [View changes on
GitHub](https://github.com/shikijs/shiki/compare/v1.10.3...v1.11.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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