Skip to content

Commit 7b02866

Browse files
committed
feat(markdown): pass content to onMDRender callback
1 parent 431a634 commit 7b02866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export function Markdown(props: {
265265
setTimeout(() => {
266266
setShow(true)
267267
runHighlight && hljs.highlightAll()
268-
window.onMDRender && window.onMDRender()
268+
window.onMDRender && window.onMDRender(content)
269269
})
270270
}),
271271
)

0 commit comments

Comments
 (0)