Class: Qiita::Markdown::Filters::Greenmat
- Inherits:
-
HTML::Pipeline::TextFilter
- Object
- HTML::Pipeline::TextFilter
- Qiita::Markdown::Filters::Greenmat
- Defined in:
- lib/qiita/markdown/filters/greenmat.rb
Constant Summary collapse
- DEFAULT_OPTIONS =
{ footnotes: true, }.freeze
Instance Method Summary collapse
Instance Method Details
#call ⇒ Nokogiri::HTML::DocumentFragment
10 11 12 |
# File 'lib/qiita/markdown/filters/greenmat.rb', line 10 def call Nokogiri::HTML.fragment(greenmat.render(@text)) end |