Use heading markdown to demarcate sections of commands

Its a little tought to notice that the COMMANDS section is actually 3 sections. Use markdown to make this easier to see for the user.
This commit is contained in:
Jon Wallace 2024-08-26 22:15:55 -07:00 committed by Simon Ser
parent 77b9ddabe2
commit f2b2a81149

View file

@ -52,7 +52,7 @@ Throughout the documentation, *|* is used to distinguish between arguments for
which you may only select one. *[...]* is used for optional arguments, and which you may only select one. *[...]* is used for optional arguments, and
*<...>* for arguments where you are expected to supply some value. *<...>* for arguments where you are expected to supply some value.
# COMMANDS # COMMANDS - CONFIG ONLY
This section only lists general commands. For input and output commands, refer This section only lists general commands. For input and output commands, refer
to *sway-input*(5) and *sway-output*(5). to *sway-input*(5) and *sway-output*(5).
@ -98,6 +98,8 @@ The following commands may only be used in the configuration file.
machines, it may be desirable to have Xwayland started immediately by machines, it may be desirable to have Xwayland started immediately by
using _force_ instead of _enable_. using _force_ instead of _enable_.
# COMMANDS - RUNTIME ONLY
The following commands cannot be used directly in the configuration file. The following commands cannot be used directly in the configuration file.
They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
@ -385,6 +387,8 @@ set|plus|minus|toggle <amount>
The default format is "%title". The default format is "%title".
# COMMANDS - CONFIG OR RUNTIME
The following commands may be used either in the configuration file or at The following commands may be used either in the configuration file or at
runtime. runtime.