Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105729

QDoc should support the use of en and em dashes in documentation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • None
    • Build tools: qdoc
    • None
    • 1bc41bf8fb (qt/qttools/dev) 1bc41bf8fb (qt/tqtc-qttools/dev)
    • Da Vinci 61

    Description

      It would be nice if one could use en dashes and/or em dashes in documentation. Several developers have requested this feature over the years, and to date we haven't received a feature request for it in Jira (at least not that I could find). So this, then, is the feature request.

      I would like QDoc to keep up with TeX-like syntax, and treat - and - (two and three hyphens) as markup to generate en dash and em dash, respectively. I would also like QDoc to respect the decrement operator in code, and to not generate a bunch of en or em dashes if I create my own visually striking horizontal rule, e.g. like this: -----.

      Attachments

        For Gerrit Dashboard: QTBUG-105729
        # Subject Branch Project Status CR V

        Activity

          People

            paulwicking Paul Wicking
            paulwicking Paul Wicking
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes