Sha256: f783e26f33077af8d65c23fef9e1a41e34eb0b99b33eb64db4f105192520dfd3

Contents?: true

Size: 293 Bytes

Versions: 9

Compression:

Stored size: 293 Bytes

Contents

require 'slodown'

module Flutterby
  class MarkdownFormatter < Slodown::Formatter
    def complete
      markdown.autolink.sanitize
    end

    def kramdown_options
      {
        input: "GFM",
        syntax_highlighter: nil,
        syntax_highlighter_opts: { }
      }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
flutterby-0.6.2 lib/flutterby/markdown_formatter.rb
flutterby-0.6.1 lib/flutterby/markdown_formatter.rb
flutterby-0.6.0 lib/flutterby/markdown_formatter.rb
flutterby-0.5.2 lib/flutterby/markdown_formatter.rb
flutterby-0.5.1 lib/flutterby/markdown_formatter.rb
flutterby-0.5.0 lib/flutterby/markdown_formatter.rb
flutterby-0.4.0 lib/flutterby/markdown_formatter.rb
flutterby-0.3.1 lib/flutterby/markdown_formatter.rb
flutterby-0.2.0 lib/flutterby/markdown_formatter.rb