From 1119bcc0228d295c1901d47686ba9188109796ce Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sat, 19 Jul 2025 18:27:16 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/json_to_md.py b/json_to_md.py index 7f38ace6..e0fda8a7 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -97,10 +97,14 @@ def make_test_block(test, status, emoji, level, runtime_params): body.append("".join(phase_content)) body_content = "\n".join(body).strip() + ''' body_indented = indent(body_content, " ") return f" -
\n {summary}\n\n{body_indented}\n
\n\n" + ''' + markdown = f" -
\n {summary}\n\n{body_content}\n
\n\n" + return "\n".join(line if line.startswith("```") else " " + line for line in markdown.splitlines()) def json_to_md_nested(json_path, md_path, runtime_params=None): with open(json_path) as f: