-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
[0.27]: Seems like Shiki languages have changed; bash
& console
no longer valid.
#2798
Comments
This shouldn't have changed, mini-shiki is meant to be a complete drop in replacement. |
If you were using TypeDoc's CLI, it would have exited without generating docs due to the configuration error. Options aren't set if they fail validation. I'm not sure why I decided to only allow non-aliased languages when implementing this ages ago, I experimentally just allowed it and it all works as expected.... makes it an easy default. |
Yeah this is programmatic usage / special case / complex docs project. |
It seems like
shiki
was updated for0.27
andbash
andconsole
are no longer supported languages.While it seems like they are still listed in the default configuration internally in Typedoc if copying the default array as seen in Typedoc docs and setting this to
highlightLanguages
option this will trigger an error in the option validator.Ahh... I can see this being a consequence of your rebundling of shiki @gerrit0/mini-shiki
If
bash
andconsole
are no longer valid; easy suggestion is to remove them from Typedoc docs and internal default.Environment
0.27.2
The text was updated successfully, but these errors were encountered: