Class: Jekyll::MarkdownConverter
- Inherits:
-
Converter
- Object
- Converter
- Jekyll::MarkdownConverter
- Defined in:
- lib/hj7/redcarpet_converter.rb
Instance Method Summary collapse
Instance Method Details
#convert(content) ⇒ Object
23 24 25 |
# File 'lib/hj7/redcarpet_converter.rb', line 23 def convert(content) markdown.render(content) end |
#markdown ⇒ Object
16 17 18 19 20 21 |
# File 'lib/hj7/redcarpet_converter.rb', line 16 def markdown @_markdown ||= ::Redcarpet::Markdown.new( HTMLwithPygments, autolink: true, fenced_code_blocks: true, strikethrough: true, superscript: true, no_intra_emphasis: true, tables:true) end |