Parent

Jekyll::DivTag

Public Instance Methods

render(context) click to toggle source
# File doc/plugins/div_tag.rb, line 3
def render(context)
  content            = super

          |<#{tag} class="#{@markup}">        |  #{render_content context, content}        |</#{tag}>.gsub(/^ +\|/, '')
end
render_content(context, content) click to toggle source
# File doc/plugins/div_tag.rb, line 17
def render_content(context, content)
  context.registers[:site].converters.find { |c| c.is_a? Jekyll::Converters::Markdown }.convert(content)
end
tag() click to toggle source
# File doc/plugins/div_tag.rb, line 13
def tag
  @tag_name.split('_').first
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.