wallyqs / org-ruby

An Org mode parser written in Ruby.
218 stars 51 forks source link

BEGIN_VERSE/END_VERSE not working #82

Open satyanash opened 4 years ago

satyanash commented 4 years ago

As per the Org Manual[1], one can preserve line breaks, indentation and blank lines while keeping everything else the same using the #+BEGIN_VERSE/#+END_VERSE blocks. When I try to use this with org-ruby, it seems to completely ignore the block. This is on latest master.

> require 'org-ruby'
=> false
> p = Orgmode::Parser.new(<<~ORG)
" #+BEGIN_VERSE
"  Great clouds overhead
"  Tiny black birds rise and fall
"  Snow covers Emacs
"
"     ---AlexSchroeder
" #+END_VERSE
" ORG
> 
> p.to_html
=> "\n"
> p.to_textile
=> ""
> p.to_markdown
=> ""

[1] https://orgmode.org/manual/Paragraphs.html