mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Export preview mode supports focus use https://github.com/siyuan-note/siyuan/issues/15340
This commit is contained in:
parent
81644059ac
commit
49d233d92a
2 changed files with 12 additions and 6 deletions
|
|
@ -431,7 +431,12 @@ func exportMdContent(c *gin.Context) {
|
|||
fillCSSVar = arg["fillCSSVar"].(bool)
|
||||
}
|
||||
|
||||
hPath, content := model.ExportMarkdownContent(id, refMode, embedMode, yfm, fillCSSVar)
|
||||
adjustHeadingLevel := false
|
||||
if nil != arg["adjustHeadingLevel"] {
|
||||
adjustHeadingLevel = arg["adjustHeadingLevel"].(bool)
|
||||
}
|
||||
|
||||
hPath, content := model.ExportMarkdownContent(id, refMode, embedMode, yfm, fillCSSVar, adjustHeadingLevel)
|
||||
ret.Data = map[string]interface{}{
|
||||
"hPath": hPath,
|
||||
"content": content,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue