Sha256: acdfef9a3c842e8398b5cd70ecf1d0873d6d8c731ff4da3ea4670f581b2a948f

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

module Nanoc::Filter::Markdown
  class MarkdownFilter < Nanoc::Filter

    identifiers :markdown, :bluecloth

    def run(content)
      nanoc_require 'bluecloth'

      ::BlueCloth.new(content).to_html
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nanoc-2.0.3 lib/nanoc/filters/markdown.rb
nanoc-2.0 lib/nanoc/filters/markdown.rb
nanoc-2.0.1 lib/nanoc/filters/markdown.rb
nanoc-2.0.2 lib/nanoc/filters/markdown.rb
nanoc-2.0.4 lib/nanoc/filters/markdown.rb