From 699c3e118c4845c27b782867be1d3476be66b3dc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 10 Oct 2025 07:52:31 +0530 Subject: [PATCH] Add docs for handling selected text with << snippet This is documented already for the previous snippet but some people may not read that and then get confused. --- manual/snippets.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manual/snippets.rst b/manual/snippets.rst index 052a9c10e1..abf15687d1 100644 --- a/manual/snippets.rst +++ b/manual/snippets.rst @@ -125,6 +125,8 @@ Insert an arbitrary HTML tag [<<] This allows you to insert an arbitrary full HTML tag (or wrap previously selected text in the tag). To use it, simply type ``<<`` and press |ct|. +If you want to wrap selected text, first select the text, press |ct| then +type ``<<`` and press |ct| again. The editor will expand it to:: <|>