What to get inline syntax highlighting working in markdown files in @astro.build? Learn about my solution at the link below (it's a pretty small change). camdecoster.dev/posts/add-in...
0 reposts1 like
What to get inline syntax highlighting working in markdown files in @astro.build? Learn about my solution at the link below (it's a pretty small change). camdecoster.dev/posts/add-in...
0 reposts1 like
Hi! You might be interested in Expressive Code, built by one of our Astro maintainers first for Astro's own docs, and then as a separate package. It's very popular for Astro projects, and is even built in to Starlight for a very robust syntax highlighting solution! https://expressive-code.com/
@sarah11918.rainsberger.ca I'm just getting around to trying Expressive Code. It looks like it doesn't support inline highlighting yet (github.com/expressive-c...). I like the ease of use, but I'll probably stick with the native Astro highlighting to be able to use the inline highlighting of Shiki.