Class: Fir::MarkdownAdapter

Inherits:
ErbAdapter show all
Defined in:
lib/fir/pages.rb

Overview

Uses Maruku

Instance Method Summary collapse

Methods included from Helpers

#absolutize, #content_tag, #link_to, #menu

Methods inherited from TemplateAdapter

#initialize, #render_with_layout

Constructor Details

This class inherits a constructor from Fir::TemplateAdapter

Instance Method Details

#render(options) ⇒ Object



169
170
171
# File 'lib/fir/pages.rb', line 169

def render(options)
	render_markdown(render_erb(source, options), options)
end