coworking-stream-guide/src/components/PreBlock.astro
2024-03-06 17:34:44 +08:00

12 lines
214 B
Text

---
import { Prism } from "@astrojs/prism";
const props = Astro.props;
---
<!-- Code block, include copy button -->
<pre
class="language-js">
<code class="language-js">
<slot />
</code>
</pre>