Bring back
[data-astro-source-file]removed in Astro 5.7.0
| Before | ![]() |
|---|---|
| After | ![]() |
-
Install
npm install @kidonng/astro-source-file
-
Add component to your Astro layout
--- import AstroSourceFile from '@kidonng/astro-source-file' --- <AstroSourceFile />
-
Profit!

