summaryrefslogtreecommitdiffstats
path: root/doc/src/qmlapp
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2023-07-05 20:02:01 +0200
committerAndreas Eliasson <andreas.eliasson@qt.io>2023-08-01 08:32:21 +0000
commit202bb1798153097094b1c5c5536a1dd664d9bcb5 (patch)
treec2a547ec414da4063a8ebf71be7dfb6bdbd3c8ee /doc/src/qmlapp
parentaf709fd6c86e4f069b802d6e4e70bfcf580b2c72 (diff)
Doc: Replace \code with \qml for QML code snippet
Let's start off with proper QML color theme on the 'First Steps with QML' page. Pick-to: 6.6 6.5 6.2 5.15 Change-Id: Idb37305ef2e58177bea25757a12057e1cf6f5077 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'doc/src/qmlapp')
-rw-r--r--doc/src/qmlapp/firststepsqml.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/qmlapp/firststepsqml.qdoc b/doc/src/qmlapp/firststepsqml.qdoc
index a0f9fd5cb..b4f665b41 100644
--- a/doc/src/qmlapp/firststepsqml.qdoc
+++ b/doc/src/qmlapp/firststepsqml.qdoc
@@ -18,9 +18,9 @@ import.
To use the \l{Qt Quick} module, a QML document needs to
import it. The import syntax looks like this:
-\code
+\qml
import QtQuick
-\endcode
+\endqml
The types and functionality that \l{Qt Quick} provides can now
be used in the QML document!