Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. QT Wiki Code Formatting
QtWS25 Last Chance

QT Wiki Code Formatting

Scheduled Pinned Locked Moved Unsolved Wiki Discussion
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mr01
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Duplicate of https://forum.qt.io/topic/124460/qt-wiki-code-formatting

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved