Sha256: 85f8f30dd3dce1eec8574b0590aafa5775fe8791dd9db25ca99e28eca250fdff

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

module Nanoc2::Filters
  class Old < Nanoc2::Filter

    identifiers :eruby, :markdown, :smartypants, :textile

    def run(content)
      raise Nanoc2::Error.new(
        "The 'eruby', markdown', 'smartypants' and 'textile' filters no " +
        "longer exist. Instead, use the following filters:\n" +
        "\n" +
        "* for Markdown:      bluecloth, rdiscount, redcloth\n" +
        "* for Textile:       redcloth\n" +
        "* for embedded Ruby: erb, erubis\n" +
        "* for Smartypants:   rubypants"
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/filters/old.rb