Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT Wiki Code Formatting



  • Hi all,
    as a Qt beginner I started walking through this tutorial - perfect introduction:
    https://wiki.qt.io/Qt_for_Beginners

    But I noticed that (on Firefox 78.8.0esr (64-bit), Debian 10) all sourcecode formatted using the <code> tag is scattered:

    See this screenshot for example:

    5d537cbe-d4a3-4396-b725-f9b618aa508e-image.png

    I updated the article by replacing <code> tags by <syntaxhighlighting lang=cpp-qt> which will give this result:

    b78eb8fa-cb20-4b4b-ad7c-617e9683196c-image.png

    The updated article is waiting for moderation.
    Easy fix for this article - but then I noticed that the code tag with similar scattered result is used on numerous other pages.

    https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
    Looks like that:
    beb6f291-b0f7-43c8-8a5f-59fc5980fb82-image.png

    Maybe it should be checked if the <code> tag broke on any recent wiki update?

    Best wishes
    mr01


Log in to reply