diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-02-10 14:25:01 +0100 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-02-17 16:44:31 +0100 |
| commit | 280025fc7e97ad943ed2938f6434cadf94bd635f (patch) | |
| tree | 5a66c81cb7e57179df70b10ba5f306cde65cd85a /src/gui/platform/unix/qxkbcommon.cpp | |
| parent | 95f712c6cc7e504ca1b62aaeab1c43d5bbb47176 (diff) | |
doc: Add QTextDocument::MarkdownFeature docs
Detailed docs were omitted before (and QTextMarkdownImporter::Feature is
not public) because
- "GitHub dialect" is a moving target (although we may have supported
all known features when it was introduced). We should reserve the
right to add to the feature set accordingly: so the numeric flags
can be expected to change.
- the writer mostly ignores the feature flags and writes back to
GitHub dialect; only the front matter can be omitted that way
- recognizing non-URL links seems fuzzy; md4c does it, so we allow that
feature, but if it goes wrong it would be an md4c bug
- hex flags look strange: in fact they come from
https://github.com/mity/md4c/blob/master/src/md4c.h#L306
If we assume that they might change, it would be better not to
document the numeric values in detail. But so far, md4c has never
removed any, only added a few (and we don't yet support all the
new ones).
Change-Id: I6552da1226bf7ad6242432c1d5d3df9ec8f61d6f
Pick-to: 6.9
Reviewed-by: David Boddie <david.boddie@qt.io>
Reviewed-by: Tommi M. Tauriainen <tommi.m.tauriainen@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qxkbcommon.cpp')
0 files changed, 0 insertions, 0 deletions
