Skip to content

Commit

Permalink
feat: add placeholder in plain layout
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasriegel authored and mrueg committed Jul 19, 2024
1 parent cdee2c4 commit d168ec8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/mark/renderer/htmlblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ func (r *ConfluenceHTMLBlockRenderer) renderHTMLBlock(w util.BufWriter, source [
case "<!-- ac:layout-cell end -->":
_, _ = w.WriteString("</ac:layout-cell>\n")
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

}
}
Expand Down

0 comments on commit d168ec8

Please sign in to comment.