fix: misc

This commit is contained in:
2026-02-26 16:35:57 +08:00
parent 04dfa77eaf
commit e57e09ae05
4 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { createDirectives } from 'marked-directive';
const marked = new Marked().use(createDirectives());
export function parseMarkdown(content: string): string {
return marked.parse(content) as string;
return marked.parse(content.trimStart()) as string;
}
export { marked };