Solved Why TextEdit.MarkdownText can't display bold and italic in the same time?
-
Hi everyone,
ScrollView { anchors.fill: parent TextArea { id: textEdit textFormat: TextEdit.MarkdownText focus: true text: "Emphasis, aka italics, with *asterisks* or _underscores_. Strong emphasis, aka bold, with **asterisks** or __underscores__. Combined emphasis with **asterisks and *asterisks***. Combined emphasis with **asterisks and _underscores_**." selectByMouse: true persistentSelection: true } }
My editor displays :
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and asterisks.
Combined emphasis with asterisks and underscores.But I want :
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and asterisks.
Combined emphasis with asterisks and underscores.When I try on Github I get the right format and the Qt documentation indicates that the markdown uses the Github syntax https://doc.qt.io/qt-5/qml-qtquick-textedit.html#textFormat-prop
Thanks for your help.
-
I have updated Qt to the last version and it is ok now...