mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
adb942b4d5
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ func html2BlockDOM(c *gin.Context) {
|
|||
luteEngine.SetGFMStrikethrough(true)
|
||||
luteEngine.SetInlineAsterisk(true)
|
||||
luteEngine.SetInlineUnderscore(true)
|
||||
luteEngine.SetHTMLTag2TextMark(true)
|
||||
markdown, withMath, err := model.HTML2Markdown(dom, luteEngine)
|
||||
if err != nil {
|
||||
ret.Data = "Failed to convert"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue