Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
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 |
427271,13 | QDoc: Add support for en-dash and em-dash | dev | qt/qttools | Status: MERGED | +2 | 0 |
427537,2 | Doc: Wrap command line argument in \c{} | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
427538,8 | Doc: Format certain operators in text | dev | qt/qtbase | Status: MERGED | +2 | 0 |
427600,2 | Doc: Wrap command line argument in \c{} | dev | qt/qtopcua | Status: MERGED | +2 | 0 |
427601,2 | Doc: Wrap command line argument in \c{} | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
427602,2 | Doc: Wrap command line argument in \c{} | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |