From 59664d139d8757fa5f403be04409d85b20e399f1 Mon Sep 17 00:00:00 2001
From: xy <10816187@qq.com>
Date: Mon, 6 Jul 2026 18:54:15 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9F=BA=E7=A1=80=E6=96=87=E7=AB=A0?=
=?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/posts/[...slug].astro | 12 ++++++------
src/styles/github-markdown.css | 8 +++++++-
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro
index 2c27ec2..75f130f 100644
--- a/src/pages/posts/[...slug].astro
+++ b/src/pages/posts/[...slug].astro
@@ -1,9 +1,10 @@
---
+import "github-markdown-css/github-markdown-light.css"
+import "@/styles/github-markdown.css"
+
import Layout from "@/layouts/Layout.astro";
import {http} from "@/lib/request.ts";
import {highlightHtmlWithJsdom} from "@/lib/highlight.js";
-import "github-markdown-css/github-markdown-light.css"
-import "@/styles/github-markdown.css"
import {formatDatetime} from "@/lib/format.ts";
const {slug} = Astro.params;
@@ -40,7 +41,7 @@ const content = await highlightHtmlWithJsdom(data.content)