Module: Ecrire::Markdown
- Defined in:
- lib/ecrire/markdown.rb,
lib/ecrire/markdown/node.rb,
lib/ecrire/markdown/parsers.rb,
lib/ecrire/markdown/document.rb,
lib/ecrire/markdown/nodes/image.rb,
lib/ecrire/markdown/nodes/heading.rb,
lib/ecrire/markdown/nodes/code_block.rb,
lib/ecrire/markdown/nodes/ordered_list.rb,
lib/ecrire/markdown/nodes/unordered_list.rb
Defined Under Namespace
Modules: Nodes, Parsers Classes: Document, Node
Class Method Summary collapse
Class Method Details
.parse(str) ⇒ Object
6 7 8 9 10 |
# File 'lib/ecrire/markdown.rb', line 6 def self.parse(str) document = Document.new(str) document.parse! document end |