Class: FastHaml::FilterCompilers::Markdown

Inherits:
TiltBase show all
Defined in:
lib/fast_haml/filter_compilers/markdown.rb

Instance Method Summary collapse

Methods inherited from TiltBase

render_with_tilt

Instance Method Details

#compile(texts) ⇒ Object



10
11
12
13
# File 'lib/fast_haml/filter_compilers/markdown.rb', line 10

def compile(texts)
  temple = [:multi, [:newline]]
  compile_with_tilt(temple, 'markdown', texts)
end

#need_newline?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/fast_haml/filter_compilers/markdown.rb', line 6

def need_newline?
  false
end