Line-tree now support multi-line values

Example

require 'line-tree'

s =<<EOF
a
  line:markdown

    # heading

    * line 1b
    * line 2b

  lineb h123
    lineb2 eee
  linec
EOF

puts LineTree.new(s).to_xml

output:


# heading

  * line 1b
  * line 2b

h123eee

Note: To make an element multi-line enabled simply put a colon followed by 1 or more characters after the element name.

Tags:
Source:
2255hrs.txt
Published:
05-10-2013 22:55