Module: MCMarkdown::Formatter::Wistia
- Included in:
- Base
- Defined in:
- lib/mc_markdown/formatters/wistia.rb
Defined Under Namespace
Classes: WistiaFormatter
Instance Method Summary collapse
Instance Method Details
#preprocess(doc) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/mc_markdown/formatters/wistia.rb', line 5 def preprocess doc doc = Parser::ShortTag.new(doc, WistiaFormatter).parsed if defined?(super) return super(doc) else return doc end end |