diff --git a/json_to_md.py b/json_to_md.py index a6513f3a1..e9371694f 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -128,10 +128,10 @@ def make_test_block(test, status, emoji, level, runtime_params): skip_keys = {"nodeid", "global_number"} for phase in [k for k in test if isinstance(test[k], dict) and k not in skip_keys]: - body += f"- **{phase.capitalize()} Phase**\n" + body += f"**{phase.capitalize()} Phase**\n" for field, value in test[phase].items(): block = stringify(value) - body += f" **{field}:**\n\n```python\n{block}\n```\n\n" + body += f"**{field}:**\n\n```python\n{block}\n```\n\n" # Formatage final avec indentation cohérente body_content = "\n".join(f" {line}" for line in body.strip().splitlines())