040dd7fe26
Importer fixes: - the first list item after a heading doesn't keep the heading font - the first text fragment after a bullet is the bullet text, not a separate paragraph - detect continuation lines and append to the list item text - detect continuation paragraphs and indent them properly - indent nested list items properly - add a test for QTextMarkdownImporter Writer fixes: - after bullet items, continuation lines and paragraphs are indented - indentation of continuations isn't affected by checkboxes - add extra newlines between list items in "loose" lists - avoid writing triple newlines - enhance the test for QTextMarkdownWriter Change-Id: Ib1dda514832f6dc0cdad177aa9a423a7038ac8c6 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
567 B
567 B
heading
-
bullet 1 continuation line 1, indented via tab
-
bullet 2 continuation line 2, indented via 4 spaces
-
bullet 3
continuation paragraph 3, indented via tab
-
bullet 3.1
continuation paragraph 3.1, indented via 4 spaces
-
bullet 3.2 continuation line, indented via 2 tabs
-
-
bullet 4
continuation paragraph 4, indented via 4 spaces and continuing onto another line too
-
bullet 5
continuation paragraph 5, indented via 2 spaces and continuing onto another line too
-
bullet 6
plain old paragraph at the end