fix: solid-element

This commit is contained in:
2026-02-26 00:47:26 +08:00
parent b5f5e853bd
commit 795c2c4389
7 changed files with 63 additions and 27 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { Marked } from 'marked';
import { createDirectives } from 'marked-directive';
// 使用 marked-directive 来支持通过 @solidjs/element 添加的 UI 组件
// 使用 marked-directive 来支持指令语法
const marked = new Marked().use(createDirectives());
export function parseMarkdown(content: string): string {