From e57981e69cecdcf4312c902b210c0deeeaf43f99 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 17 Jul 2025 15:07:57 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_to_md.py b/json_to_md.py index 70ad06c8..6bd8cca3 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -17,7 +17,7 @@ def stringify(obj, indent=0): elif isinstance(obj, (int, float, str, bool)): return str(obj) elif isinstance(obj, list): - return '\n'.join(f"{space}- {stringify(e, indent + 1)}" for e in obj) + return '\n'.join(f"{space} {stringify(e, indent + 1)}" for e in obj) elif isinstance(obj, dict): return '\n'.join(f"{space}{k}: {stringify(v, indent + 1)}" for k, v in obj.items()) elif hasattr(obj, '__str__'):