mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 Improve exporting data https://github.com/siyuan-note/siyuan/issues/13500
This commit is contained in:
parent
5fb2b78911
commit
b81de5d2da
4 changed files with 32 additions and 42 deletions
|
|
@ -317,8 +317,7 @@ func exportNotebookMd(c *gin.Context) {
|
|||
}
|
||||
|
||||
notebook := arg["notebook"].(string)
|
||||
p := arg["path"].(string)
|
||||
zipPath := model.ExportNotebookMarkdown(notebook, p)
|
||||
zipPath := model.ExportNotebookMarkdown(notebook)
|
||||
ret.Data = map[string]interface{}{
|
||||
"name": path.Base(zipPath),
|
||||
"zip": zipPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue