class Octopress::Tags::Markdown::Tag

Public Class Methods

new(tag_name, markup, tokens) click to toggle source
Calls superclass method
# File lib/octopress-markdown-tag.rb, line 9
def initialize(tag_name, markup, tokens)
  super
end

Public Instance Methods

render(context) click to toggle source

Uses the default Jekyll markdown parser to parse the contents of this block

# File lib/octopress-markdown-tag.rb, line 16
def render(context)
  site = context.registers[:site]
  converter = site.getConverterImpl(::Jekyll::Converters::Markdown)
  converter.convert(render_block(context))
end
Also aliased as: render_block
render_block(context)
Alias for: render