doc: cross-link markdown functions in QTextDocumentFragment, QTextCursor

Followup to 7c76064604

Task-number: QTBUG-76105
Change-Id: I15ec22fb2bb40dc7b0f6f685cb2dc77a08c89918
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
bb10
Shawn Rutledge 2022-05-18 11:16:55 +02:00
parent 057cce5e85
commit f53e4b5860
1 changed files with 5 additions and 6 deletions

View File

@ -239,8 +239,8 @@ void QTextDocumentFragmentPrivate::insert(QTextCursor &_cursor) const
static functions, fromPlainText() and fromHtml().
The contents of a document fragment can be obtained as raw text
by using the toRawText() function, or it can be obtained as HTML
with toHtml().
by using the toRawText() function, as ASCII with toPlainText(),
as HTML with toHtml(), or as Markdown with toMarkdown().
*/
/*!
@ -337,8 +337,7 @@ bool QTextDocumentFragment::isEmpty() const
If you need the precise contents of the document, use toRawText()
instead.
\sa toHtml(), toRawText()
\sa toHtml(), toMarkdown(), toRawText()
*/
QString QTextDocumentFragment::toPlainText() const
{
@ -353,7 +352,7 @@ QString QTextDocumentFragment::toPlainText() const
formatting information).
\since 6.4
\sa toHtml(), toPlainText()
\sa toHtml(), toMarkdown(), toPlainText()
*/
QString QTextDocumentFragment::toRawText() const
{
@ -370,7 +369,7 @@ QString QTextDocumentFragment::toRawText() const
Returns the contents of the document fragment as HTML.
\sa toPlainText(), QTextDocument::toHtml()
\sa toPlainText(), toMarkdown(), QTextDocument::toHtml()
*/
QString QTextDocumentFragment::toHtml() const
{