diff --git a/kitty/rc/create_marker.py b/kitty/rc/create_marker.py index 56fb3e72c..aaab8cf47 100644 --- a/kitty/rc/create_marker.py +++ b/kitty/rc/create_marker.py @@ -3,7 +3,6 @@ from typing import TYPE_CHECKING, Optional -from kitty.constants import website_url from kitty.options.utils import parse_marker_spec from .base import ( @@ -25,9 +24,9 @@ class CreateMarker(RemoteCommand): short_desc = 'Create a marker that highlights specified text' desc = ( - 'Create a marker which can highlight text in the specified window. For example: ' - 'create_marker text 1 ERROR. For full details see: {}' - ).format(website_url('marks')) + 'Create a marker which can highlight text in the specified window. For example:' + ' :code:`create_marker text 1 ERROR`. For full details see: :doc:`marks`' + ) options_spec = MATCH_WINDOW_OPTION + '''\n --self type=bool-set diff --git a/kitty/rc/get_colors.py b/kitty/rc/get_colors.py index 8015cafb6..4bb094ac5 100644 --- a/kitty/rc/get_colors.py +++ b/kitty/rc/get_colors.py @@ -25,8 +25,8 @@ class GetColors(RemoteCommand): short_desc = 'Get terminal colors' desc = ( - 'Get the terminal colors for the specified window (defaults to active window). ' - 'Colors will be output to stdout in the same syntax as used for kitty.conf' + 'Get the terminal colors for the specified window (defaults to active window).' + ' Colors will be output to stdout in the same syntax as used for kitty.conf' ) options_spec = '''\ --configured -c