Sha256: 4a5db119e717a92e600aec422dc79166e88dde52785b5023dba3caae73eb29d1
Contents?: true
Size: 732 Bytes
Versions: 17
Compression:
Stored size: 732 Bytes
Contents
# Liquid disregards tags it doesn't know, # so rather than define a new format for additions like {{#tip}}, # we'll convert them to bracket form module Jekyll class Renderer alias_method :old_run, :run def run if ExtendedMarkdownFilter.should_jekyll_replace?(site) document.content = ExtendedMarkdownFilter.convert_curly_to_bracket(document.content) end old_run end end end module Jekyll class Page alias_method :old_render, :render def render(layouts, site_payload) if ExtendedMarkdownFilter.should_jekyll_replace?(site) self.content = ExtendedMarkdownFilter.convert_curly_to_bracket(content) end old_render(layouts, site_payload) end end end
Version data entries
17 entries across 17 versions & 1 rubygems