mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-01 07:40:36 -05:00
🎨 Export preview mode supports focus use https://github.com/siyuan-note/siyuan/issues/15340
This commit is contained in:
+6
-1
@@ -49,12 +49,17 @@ func copyStdMarkdown(c *gin.Context) {
|
||||
assetsDestSpace2Underscore = arg["assetsDestSpace2Underscore"].(bool)
|
||||
}
|
||||
|
||||
fillCSSVar := false
|
||||
if nil != arg["fillCSSVar"] {
|
||||
fillCSSVar = arg["fillCSSVar"].(bool)
|
||||
}
|
||||
|
||||
adjustHeadingLevel := false
|
||||
if nil != arg["adjustHeadingLevel"] {
|
||||
adjustHeadingLevel = arg["adjustHeadingLevel"].(bool)
|
||||
}
|
||||
|
||||
ret.Data = model.ExportStdMarkdown(id, assetsDestSpace2Underscore, adjustHeadingLevel)
|
||||
ret.Data = model.ExportStdMarkdown(id, assetsDestSpace2Underscore, fillCSSVar, adjustHeadingLevel)
|
||||
}
|
||||
|
||||
func html2BlockDOM(c *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user