Open madcampos opened 1 month ago
The shikiConfig
options don't accept every option supported by codeToHtml
, because they're not passed through as-is. It could in theory support more of them. Currently this is implemented here.
Got some help with this issue, will submit a pull request with a fix :)
FYI this won't be considered a fix but a new feature
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
The configuration for markdown doesn't do anything if we set
defaultColor
tofalse
. According to Shiki's docs it should remove the inline styling on code blocks.What's the expected result?
Code blocks to have no default style when the setting is set.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-shehh9?file=astro.config.mjs
Participation