Skip to content

fix: support ANSI language with multiple themes#1259

Merged
antfu merged 1 commit intoshikijs:mainfrom
dan-lee:fix/ansi-multi-themes
Mar 9, 2026
Merged

fix: support ANSI language with multiple themes#1259
antfu merged 1 commit intoshikijs:mainfrom
dan-lee:fix/ansi-multi-themes

Conversation

@dan-lee
Copy link
Copy Markdown
Contributor

@dan-lee dan-lee commented Mar 6, 2026

  • <- Keep this line and put an x between the brackts.

Description

Fixes ansi language throwing "Language ansi not found" when using multiple themes.

Let me know if this is the right fix/direction.

Linked Issues

fixes #1257

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 6, 2026

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit 50d8448
🔍 Latest deploy log https://app.netlify.com/projects/shiki-matsu/deploys/69aaff68147b1e0008c50615
😎 Deploy Preview https://deploy-preview-1259--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 project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 6, 2026

Deploy Preview for shiki-next ready!

Name Link
🔨 Latest commit 50d8448
🔍 Latest deploy log https://app.netlify.com/projects/shiki-next/deploys/69aaff6864ada5000847767f
😎 Deploy Preview https://deploy-preview-1259--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 project configuration.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.56%. Comparing base (69bec64) to head (50d8448).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1259      +/-   ##
==========================================
+ Coverage   89.53%   89.56%   +0.03%     
==========================================
  Files          79       79              
  Lines        3479     3480       +1     
  Branches     1009     1008       -1     
==========================================
+ Hits         3115     3117       +2     
+ Misses        328      327       -1     
  Partials       36       36              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@antfu antfu merged commit 2a23230 into shikijs:main Mar 9, 2026
16 checks passed
@dan-lee dan-lee deleted the fix/ansi-multi-themes branch March 11, 2026 18:33
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.

[v4] codeToHast with multiple themes throws "Language ansi not found"

2 participants