marked 将 Markdown 文本转换为 HTML import { marked } from 'marked' const markdownText = '# Hello, Markdown!\n\nThis is **bold** text.'; const htmlContent = marked(markdownText);