Closed bmc closed 14 years ago
Standard Markdown:
$ echo "*Test*" | markdown <p><em>Test</em></p>
Knockoff (built against GitHub source with Scala 2.8):
scala> import com.tristanhunt.knockoff.DefaultDiscounter._ import com.tristanhunt.knockoff.DefaultDiscounter._ scala> toXHTML(knockoff("*Test*")).toString res0: String = <ul><li>Test*</li></ul>
In 0.7.1, I added special workarounds so that emphasis or strong markers leading a text paragraph will not mark the block as a list item.
Standard Markdown:
Knockoff (built against GitHub source with Scala 2.8):