mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
feat: add placeholder in plain layout
This commit is contained in:
parent
cdee2c4e0c
commit
d168ec8b14
@ -71,6 +71,12 @@ func (r *ConfluenceHTMLBlockRenderer) renderHTMLBlock(w util.BufWriter, source [
|
|||||||
case "<!-- ac:layout-cell end -->":
|
case "<!-- ac:layout-cell end -->":
|
||||||
_, _ = w.WriteString("</ac:layout-cell>\n")
|
_, _ = w.WriteString("</ac:layout-cell>\n")
|
||||||
return ast.WalkContinue, nil
|
return ast.WalkContinue, nil
|
||||||
|
case "<!-- ac:placeholder -->":
|
||||||
|
_, _ = w.WriteString("<ac:placeholder>\n")
|
||||||
|
return ast.WalkContinue, nil
|
||||||
|
case "<!-- ac:placeholder end -->":
|
||||||
|
_, _ = w.WriteString("</ac:placeholder>\n")
|
||||||
|
return ast.WalkContinue, nil
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user