class LiquidMarkdown::TemplateHandler::LIQMD
Public Class Methods
call(template)
click to toggle source
# File lib/liquid_markdown/template_handler.rb, line 32 def self.call(template) if template.formats.include?(:html) "LiquidMarkdown::TemplateHandler.render(#{template.source.inspect}, self, :html)" else "LiquidMarkdown::TemplateHandler.render(#{template.source.inspect}, self, :text)" end end