Class: Kramdown::Document
- Inherits:
-
Object
- Object
- Kramdown::Document
- Defined in:
- lib/kramdown/man.rb
Instance Method Summary collapse
-
#to_man(options = {}) ⇒ String
Converts the parsed markdown document to a man page.
Instance Method Details
#to_man(options = {}) ⇒ String
Converts the parsed markdown document to a man page.
23 24 25 26 27 28 |
# File 'lib/kramdown/man.rb', line 23 def to_man(={}) output, warnings = Kramdown::Man::Converter.convert(@root,) @warnings.concat(warnings) return output end |