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

Blade language not highlighting #164

Open
smth opened this issue Sep 25, 2022 · 2 comments
Open

Blade language not highlighting #164

smth opened this issue Sep 25, 2022 · 2 comments

Comments

@smth
Copy link

smth commented Sep 25, 2022

I'm running the Eleventy package with a few different languages, most look like they are working great, but I've noticed Blade isn't. This comment is added after the code block <!-- Note from shiki-twoslash: the language blade was not set up for Shiki to use, and so there is no code highlighting -->. Blade is listed as one of the default languages, and as far as I can tell all languages are enabled by default. If I do try to explicitly add it via the config I get an error: Cannot read properties of undefined (reading 'id'). Am I missing something or is this a bug?

@smth
Copy link
Author

smth commented Oct 30, 2022

It looks like the reason is that the addition of Blade was tagged v0.11.0, which hasn't been released yet (so it's in the docs but not the Eleventy package). So I guess this issue is blocked by shikijs/shiki#364

@smth
Copy link
Author

smth commented Mar 6, 2023

Any reason not to bump the Shiki version in Eleventy plugin, now that there are newer versions?

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

No branches or pull requests

1 participant