class Bookify::Node::H3

Public Instance Methods

render() click to toggle source
# File lib/bookify/node/h3.rb, line 5
def render
  move_down 10 unless pdf.y == page_top
  break_if_close_to_bottom

  font :h3 do
    text decode_html(node.inner_html.strip)
  end

  move_down 5
end