Parent

Methods

Files

Jekyll::GistTag

Public Instance Methods

render(context) click to toggle source
# File lib/jekyll/tags/gist.rb, line 10
def render(context)
  if tag_contents = determine_arguments(@markup.strip)
    gist_id, filename = tag_contents[0], tag_contents[1]
    gist_script_tag(gist_id, filename)
  else
    "Error parsing gist id"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.