Class: NanDoc::Filters::General

Inherits:
Nanoc3::Filter
  • Object
show all
Defined in:
lib/nandoc/filters.rb

Instance Method Summary collapse

Instance Method Details

#run(content, params = {}) ⇒ String

Returns The filtered content.

Parameters:

  • content (String)

    The content to filter

  • params (Hash) (defaults to: {})
    • not used

Returns:

  • (String)

    The filtered content



81
82
83
# File 'lib/nandoc/filters.rb', line 81

def run content, params={}
  CustomTags.change_item_content content
end