feat: 全局启用代码块复制按钮与语言标签功能
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
import '../styles/global.css';
|
||||
import Sidebar from '../components/Sidebar.astro';
|
||||
import CodeBlockHelper from '../components/CodeBlockHelper.astro';
|
||||
const { title } = Astro.props;
|
||||
---
|
||||
<html lang="zh-CN">
|
||||
@@ -16,5 +17,6 @@ const { title } = Astro.props;
|
||||
<slot />
|
||||
</main>
|
||||
</div>
|
||||
<CodeBlockHelper />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user