qt5base-lts/tests/auto
Shawn Rutledge b3cc9403c4 QTextMarkdownWriter: write fenced code blocks with language declaration
MD4C now makes it possible to detect indented and fenced code blocks:
https://github.com/mity/md4c/issues/81
Fenced code blocks have the advantages of being easier to write by hand,
and having an "info string" following the opening fence, which is commonly
used to declare the language.

Also, the HTML parser now recognizes tags of the form
<pre class="language-foo">
which is one convention for declaring the programming language
(as opposed to human language, for which the lang attribute would be used):
https://stackoverflow.com/questions/5134242/semantics-standards-and-using-the-lang-attribute-for-source-code-in-markup
So it's possible to read HTML and write markdown without losing this information.

It's also possible to read markdown with any type of code block:
fenced with ``` or ~~~, or indented, and rewrite it the same way.

Change-Id: I33c2bf7d7b66c8f3ba5bdd41ab32572f09349c47
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
2019-06-04 08:01:34 +02:00
..
android
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake Export modules' enabled/disabled features to cmake 2018-09-28 13:10:28 +00:00
concurrent Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
corelib QLatin1String, QStringView: add contains 2019-06-04 10:07:26 +00:00
dbus Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gui QTextMarkdownWriter: write fenced code blocks with language declaration 2019-06-04 08:01:34 +02:00
guiapplauncher
installed_cmake
network Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Handle missing enum value in test 2019-05-13 16:39:44 +00:00
printsupport Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
shared Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
sql QSqlError: fix redundant space in text() output 2019-03-26 06:12:10 +00:00
testlib Merge remote-tracking branch 'origin/5.13' into dev 2019-05-13 08:04:58 +02:00
tools Merge remote-tracking branch 'origin/5.13' into dev 2019-05-15 07:11:41 +02:00
widgets tst_qtextbrowser: add markdown test data to TESTDATA 2019-06-01 17:11:42 +02:00
xml Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Port tst_qtcpsocket to the docker server 2019-02-28 15:48:31 +00:00