Class: Flutterby::MarkdownFormatter

Inherits:
Slodown::Formatter
  • Object
show all
Defined in:
lib/flutterby/markdown_formatter.rb

Instance Method Summary collapse

Instance Method Details

#completeObject



5
6
7
# File 'lib/flutterby/markdown_formatter.rb', line 5

def complete
  markdown.autolink.sanitize
end

#kramdown_optionsObject



9
10
11
12
13
14
15
# File 'lib/flutterby/markdown_formatter.rb', line 9

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