🎨 Attribute View export https://github.com/siyuan-note/siyuan/issues/8710
This commit is contained in:
parent
16cb93d730
commit
4dd8ec6ccb
1 changed files with 4 additions and 0 deletions
|
@ -1850,6 +1850,10 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,
|
|||
mdTableRow.AppendChild(mdTableCell)
|
||||
var val string
|
||||
if nil != cell.Value {
|
||||
if av.KeyTypeDate == cell.Value.Type && nil != cell.Value.Date {
|
||||
cell.Value.Date = av.NewFormattedValueDate(cell.Value.Date.Content, cell.Value.Date.Content2, av.DateFormatNone)
|
||||
}
|
||||
|
||||
val = cell.Value.String()
|
||||
}
|
||||
mdTableCell.AppendChild(&ast.Node{Type: ast.NodeText, Tokens: []byte(val)})
|
||||
|
|
Loading…
Add table
Reference in a new issue