Skip to content

Commit

Permalink
extra newline
Browse files Browse the repository at this point in the history
Signed-off-by: Miek Gieben <[email protected]>
  • Loading branch information
miekg committed Nov 15, 2024
1 parent 431fe31 commit 867ca40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions render/text/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (r *Renderer) heading(w io.Writer, node *ast.Heading, entering bool) {

r.headingTransformFunc = noopHeadingTransferFunc
r.newline(w)
r.newline(w)
if node.Level == 1 {
r.newline(w)
}
Expand Down

0 comments on commit 867ca40

Please sign in to comment.