qt5base-lts/examples/widgets/richtext/textedit
Shawn Rutledge f5c7799f59 Support the markdown underline extension
MarkdownDialectGitHub now includes this feature, so *emph* is italicized
and _emph_ is underlined. This is a better fit for QTextDocument capabilities;
until now, _underlined_ markdown could be read, but would be rendered with
italics, because in CommonMark, *emphasis* and _emphasis_ are the same.
But QTextMarkdownWriter already writes underlining and italics distinctly
in this way.

[ChangeLog][QtGui][Text] By default (with MarkdownDialectGitHub), markdown
_underline_ and *italic* text styles are now distinct.

Fixes: QTBUG-84429
Change-Id: Ifc6defa4852abe831949baa4ce28bae5f1a82265
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-07 09:35:11 +01:00
..
images TextEdit example: add indent/unindent feature 2019-05-06 19:24:32 +00:00
.prev_CMakeLists.txt CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
CMakeLists.txt CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
example.html preserve HTML heading level in QTextBlockFormat; demonstrate in example 2018-03-02 08:05:00 +00:00
example.md Support the markdown underline extension 2020-11-07 09:35:11 +01:00
main.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
textedit.cpp Convert a couple of APIs to use views 2020-10-06 11:16:36 +02:00
textedit.h Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
textedit.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
textedit.qdoc Unify license header usage. 2016-03-29 10:20:03 +00:00
textedit.qrc TextEdit example: add indent/unindent feature 2019-05-06 19:24:32 +00:00