Class: Faml::FilterCompilers::Markdown
- Defined in:
- lib/faml/filter_compilers/markdown.rb
Instance Method Summary collapse
Methods inherited from TiltBase
Instance Method Details
#compile(ast) ⇒ Object
11 12 13 14 15 |
# File 'lib/faml/filter_compilers/markdown.rb', line 11 def compile(ast) temple = [:multi, [:newline]] compile_with_tilt(temple, 'markdown', ast) temple << [:static, "\n"] end |
#need_newline? ⇒ Boolean
7 8 9 |
# File 'lib/faml/filter_compilers/markdown.rb', line 7 def need_newline? false end |