We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e333fe5 commit 05ac315Copy full SHA for 05ac315
.changes/smithy_changelog/render.py
@@ -90,7 +90,19 @@ def render(title: str = _DEFAULT_TITLE) -> None:
90
91
92
def render_change(change: Change) -> str:
93
- rendered = f"- {change.description.strip()}"
+ lines = change.description.strip().splitlines()
94
+ rendered = f"- {lines[0]}"
95
+
96
+ # Indend any additional lines in the description if they have
97
+ # content.
98
+ if len(lines) > 1:
99
+ for line in lines[1:]:
100
+ if not line:
101
+ rendered += "\n"
102
+ continue
103
104
+ rendered += f"\n {line}"
105
106
if prs := change.pull_requests:
107
rendered += f" ({', '.join(prs)})"
108
return rendered + "\n"
0 commit comments