Class: ReverseMarkdown::Converters::P
- Inherits:
-
Base
- Object
- Base
- ReverseMarkdown::Converters::P
- Defined in:
- lib/github_to_canvas_quiz/reverse_markdown/converters/p.rb
Instance Method Summary collapse
Instance Method Details
#convert(node, state = {}) ⇒ Object
8 9 10 11 |
# File 'lib/github_to_canvas_quiz/reverse_markdown/converters/p.rb', line 8 def convert(node, state = {}) content = treat_children(node, state) "\n\n#{wrap(content).strip}\n\n" end |