From 2c07ec779c2dcb87e7205622bf8819e5bfaca276 Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Sat, 18 Apr 2026 22:34:39 +0800 Subject: [PATCH] fix(markdown): hide front matter in editor preview and renderSafeMarkdown Made-with: Cursor --- app/components/PostBodyMarkdownEditor.vue | 8 ++++++++ app/pages/@[publicSlug]/posts/[postSlug].vue | 4 ++-- app/utils/markdown-front-matter.ts | 16 +++++++++++++++- app/utils/render-markdown.ts | 3 ++- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/app/components/PostBodyMarkdownEditor.vue b/app/components/PostBodyMarkdownEditor.vue index a19074e..7a4bf65 100644 --- a/app/components/PostBodyMarkdownEditor.vue +++ b/app/components/PostBodyMarkdownEditor.vue @@ -1,6 +1,8 @@