mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🧑💻 Improve kernel API exportMdContent https://github.com/siyuan-note/siyuan/issues/14032
This commit is contained in:
parent
e9c7ba082e
commit
615b749d6a
2 changed files with 6 additions and 8 deletions
|
|
@ -412,12 +412,12 @@ func exportMdContent(c *gin.Context) {
|
|||
|
||||
refMode := model.Conf.Export.BlockRefMode
|
||||
if nil != arg["refMode"] {
|
||||
refMode = arg["refMode"].(int)
|
||||
refMode = int(arg["refMode"].(float64))
|
||||
}
|
||||
|
||||
embedMode := model.Conf.Export.BlockEmbedMode
|
||||
if nil != arg["embedMode"] {
|
||||
embedMode = arg["embedMode"].(int)
|
||||
embedMode = int(arg["embedMode"].(float64))
|
||||
}
|
||||
|
||||
yfm := true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue