diff options
Diffstat (limited to 'doc/markup/inline.rst')
| -rw-r--r-- | doc/markup/inline.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/markup/inline.rst b/doc/markup/inline.rst index 558f813d..a41d43b9 100644 --- a/doc/markup/inline.rst +++ b/doc/markup/inline.rst @@ -182,6 +182,11 @@ in a different style: labels, window titles, field names, menu and menu selection names, and even values in selection lists. + .. versionchanged:: 1.0 + An accelerator key for the GUI label can be included using an ampersand; + this will be stripped and displayed underlined in the output (example: + ``:guilabel:`&Cancel```). To include a literal ampersand, double it. + .. rst:role:: kbd Mark a sequence of keystrokes. What form the key sequence takes may depend @@ -227,6 +232,9 @@ in a different style: ellipsis some operating systems use to indicate that the command opens a dialog, the indicator should be omitted from the selection name. + ``menuselection`` also supports ampersand accelerators just like + :rst:role:`guilabel`. + .. rst:role:: mimetype The name of a MIME type, or a component of a MIME type (the major or minor |
