Add NeuraPress vendor entry point for editor (#783)

This commit is contained in:
cloudneutral 2025-12-14 16:10:35 +08:00 committed by GitHub
parent e76285d810
commit 390e9be8ff

View File

@ -0,0 +1,8 @@
import { convertToWechat, defaultOptions } from './lib/markdown'
import { getExampleContent } from './lib/utils/loadExampleContent'
export const neurapressSample = getExampleContent()
export function renderMarkdown(markdown: string): string {
return convertToWechat(markdown, defaultOptions)
}