Rodrigo Pombo
Rodrigo Pombo
The deck.run domain was only $4 ...
hi, what's the issue?
sorry for that, ~~the idea is to support multiple themes in code hike soon (not with CSS variables)~~
We are closer to shipping this: https://github.com/code-hike/lighter/pull/25
Found another problem, [Astro converts children to static HTML](https://docs.astro.build/en/core-concepts/framework-components/#nesting-framework-components), and Code Hike needs to process them as objects.
We won't have full support for Astro in the near future. I tried, but there were at least 4 different problems blocking the integration.
Main blocker is [the inability to pass React children in Astro's MDX](https://github.com/withastro/roadmap/discussions/465). The rest of the issues could be solved from CodeHike's side I think.
> Is Astro v2 supported now? It isn't, but there's now an experimental flag in Astro that may help in the future. It's still not working as expected though. [Read...
Ideally the syntax highlighting should be done at build time, but I'm going to replace shiki with something custom soon and these problems should disappear.
I'm working on PR #308. There's a canary version there if anyone wants to try it and see if it fixes the problem.