Sha256: a25d0377d8c253a1cba126e7e25c47528ce53768202d6e92cfa496db3334f814
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true require_relative 'tilt_base' module Faml module FilterCompilers class Markdown < TiltBase def need_newline? false end def compile(ast) temple = [:multi, [:newline]] compile_with_tilt(temple, 'markdown', ast) temple << [:static, "\n"] end end register(:markdown, Markdown) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | lib/faml/filter_compilers/markdown.rb |
faml-0.8.0 | lib/faml/filter_compilers/markdown.rb |