Sha256: 3d276e02e917cffa31b4ccd4914d5b5ac3dfd47d7aa75353ca6086ba1c3ba997

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

require_relative './base_block_renderer'

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

    def render_tag
      'h1'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
structured_text_renderer-0.0.2 lib/structured_text_renderer/block_renderers/heading_one_renderer.rb
structured_text_renderer-0.0.1 lib/structured_text_renderer/block_renderers/heading_one_renderer.rb