method
convert
v1_8_6_287 -
Show latest stable
- Class:
SM::SimpleMarkup
convert(str, op)public
We take a string, split it into lines, work out the type of each line, and from there deduce groups of lines (for example all lines in a paragraph). We then invoke the output formatter using a Visitor to display the result