docs: Add some markup

Use <kbd> for keys, to improve the consistency of our docs.
This commit is contained in:
Emmanuele Bassi 2024-10-25 16:49:58 +00:00 committed by Matthias Clasen
parent c1e5609565
commit 5a2d55c4d3

View File

@ -88,11 +88,11 @@ typedef enum
* GdkModifierType:
* @GDK_SHIFT_MASK: the Shift key.
* @GDK_LOCK_MASK: a Lock key (depending on the Windowing System configuration,
* this may either be CapsLock or ShiftLock).
* this may either be <kbd>CapsLock</kbd> or <kbd>ShiftLock</kbd>).
* @GDK_CONTROL_MASK: the Control key.
* @GDK_ALT_MASK: the fourth modifier key (it depends on the Windowing System
* configuration which key is interpreted as this modifier, but normally it
* is the Alt key).
* is the <kbd>Alt</kbd> key).
* @GDK_BUTTON1_MASK: the first mouse button.
* @GDK_BUTTON2_MASK: the second mouse button.
* @GDK_BUTTON3_MASK: the third mouse button.