Sha256: c13d5c7a412a33dc911f00d10e4ab28a341660182557e996a59faec96e78a3a2

Contents?: true

Size: 198 Bytes

Versions: 8

Compression:

Stored size: 198 Bytes

Contents

require_relative './base_block_renderer'

module RichTextRenderer
  # H1 node renderer.
  class HeadingOneRenderer < BaseBlockRenderer
    protected

    def render_tag
      'h1'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rich_text_renderer-0.3.2 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.3.1 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.3.0 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.2.3 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.2.2 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.2.1 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.2.0 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb
rich_text_renderer-0.1.0 lib/rich_text_renderer/block_renderers/heading_one_renderer.rb