From 172023afcae36339a214ff75088aa1347b2bc726 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 26 Apr 2021 17:31:43 +0530 Subject: [PATCH] Forgot the double backslash in the docs --- docs/marks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/marks.rst b/docs/marks.rst index bc296e472..15c75366e 100644 --- a/docs/marks.rst +++ b/docs/marks.rst @@ -19,12 +19,12 @@ If you want to make it case-insensitive, use:: To make it match only complete words, use:: - map f1 toggle_marker regex 1 \bERROR\b + map f1 toggle_marker regex 1 \\bERROR\\b Suppose you want to highlight both :code:`ERROR` and :code:`WARNING`, case insensitively:: - map f1 toggle_marker iregex 1 \bERROR\b 2 \bWARNING\b + map f1 toggle_marker iregex 1 \\bERROR\\b 2 \\bWARNING\\b kitty supports up to 3 mark groups (the numbers in the commands above). You can control the colors used for these groups in :file:`kitty.conf` with::