From c815e580eacdc202d4683390a44bc61466eb14f0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Dec 2025 20:11:23 +0530 Subject: [PATCH] Fix warning when generating docs --- kittens/choose_files/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kittens/choose_files/main.py b/kittens/choose_files/main.py index 2d177a8ea..f11295fbb 100644 --- a/kittens/choose_files/main.py +++ b/kittens/choose_files/main.py @@ -100,10 +100,12 @@ Can be specified multiple times to setup different previewers for different type Note that previewers specified using this option take precedence over the builtin previewers. -The command must output preview data to STDOUT, in JSON format, of the form:: +The command must output preview data to STDOUT, as a JSON object: + +.. code-block:: json { - "lines": ["line1", "line2", ...], + "lines": ["line1", "line2", "..."], "image": "absolute path to generated image preview", "title_extra": "some text to show on the first line", }