Imported code snippets
This example demonstrates using Vite’s ?raw import syntax to import source code and how to render it with syntax highlighting using Starlight’s <Code> component.
See also
Section titled “See also” Code snippet component Component that loads and renders imported code from a folder in your project