clone of http://code.google.com/p/markdown4j/