Display errors in code fences

This commit is contained in:
Zanie
2023-10-26 17:02:25 -05:00
parent 1bbe88f0a0
commit 2270485c09

View File

@@ -186,7 +186,7 @@ def markdown_check_result(result: Result) -> str:
lines.extend(
markdown_project_section(
title="error",
content=str(error),
content=f"```\n{error}\n```",
options=project.check_options,
project=project,
)