# coding: UTF-8

module MarkdownUI
  module Content
    class ItemBlock
      def initialize(element, content)
        @element = element
        @content = content
      end

      def render
        klass   = "ui #{@element} item"
        content = @content.strip

        MarkdownUI::NavTag.new(content, klass).render
      end
    end
  end
end
