qt5base-lts/examples/widgets/richtext
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
..
calendar CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
orderform CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
syntaxhighlighter CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
textedit Support the markdown underline extension 2020-11-07 09:35:11 +01:00
CMakeLists.txt CMake: Add widgets examples 2019-03-26 15:25:39 +00:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
richtext.pro centralize and fixup example sources install targets 2012-11-29 20:21:11 +01:00

Qt provides powerful document-oriented rich text engine that supports Unicode
and right-to-left scripts. Documents can be manipulated using a cursor-based
API, and their contents can be imported and exported as both HTML and in a
custom XML format.

Text is rendered using anti-aliased outline fonts to provide the best
possible on-screen representation.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.