Class: EngineOfWar::TemplateEngines::Markdown

Inherits:
Tilt::RDiscountTemplate
  • Object
show all
Includes:
Filters
Defined in:
lib/engine_of_war/template_engines/markdown.rb

Constant Summary

Constants included from Filters

Filters::BASE_IMAGE_URL

Instance Method Summary collapse

Methods included from Filters

#block_is_template?, #code_filter, #image_basedir, #image_directory_exists?, #image_filter, #meta_for_image, #unknown_image_tag, #uploaded_image_tag

Instance Method Details

#prepareObject



7
8
9
10
# File 'lib/engine_of_war/template_engines/markdown.rb', line 7

def prepare
  @engine = RDiscount.new(image_filter(code_filter(data)))
  @output = nil
end