Open chrisvaillancourt opened 1 year ago
Need to look more into this. Shiki doesn't have an easy hook into the code comment style.
Look into ShikiTransformer support which was introduced in astro v4.11.
Adds ShikiTransformer support to the
<Code />
component with a new transformers prop. Note that transformers only applies classes and you must provide your own CSS rules to target the elements of your code block.
Code comments in blog posts have insufficient color contrast and result in lower lighthouse scores.