mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-02 21:51:49 +01:00
🎨 Improve exporting to YueQue https://github.com/siyuan-note/siyuan/issues/14846
This commit is contained in:
parent
ca93066171
commit
248c0c1704
3 changed files with 8 additions and 3 deletions
|
|
@ -44,7 +44,11 @@ func copyStdMarkdown(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
ret.Data = model.ExportStdMarkdown(id)
|
||||
assetsDestSpace2Underscore := false
|
||||
if nil != arg["assetsDestSpace2Underscore"] {
|
||||
assetsDestSpace2Underscore = arg["assetsDestSpace2Underscore"].(bool)
|
||||
}
|
||||
ret.Data = model.ExportStdMarkdown(id, assetsDestSpace2Underscore)
|
||||
}
|
||||
|
||||
func html2BlockDOM(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue