This commit is contained in:
Daniel
2024-08-12 18:03:10 +08:00
parent 19ceaf050a
commit 4ac3e9d397
+1
View File
@@ -1164,6 +1164,7 @@ func CreateWithMarkdown(boxID, hPath, md, parentID, id string, withMath bool) (r
if withMath {
luteEngine.SetInlineMath(true)
}
luteEngine.SetHTMLTag2TextMark(true)
dom := luteEngine.Md2BlockDOM(md, false)
retID, err = createDocsByHPath(box.ID, hPath, dom, parentID, id)
WaitForWritingFiles()