Improvements to QTextDocument

Marknote uses QTextDocument for its WYSIWYG text editor. This is surpringly quite powerful and thanks to some code borrowed from KMail rich text editor, it wasn’t hard to implement huge part of the markdown specification.

This is a companion discussion topic for the original entry at

This is great. Open source doing its thing. All projects using QTextDocument will benefit. :+1: