support multi-line summaries
This commit is contained in:
@@ -88,6 +88,9 @@ class FileWriter:
|
|||||||
if description:
|
if description:
|
||||||
# Trim leading and trailing whitespace
|
# Trim leading and trailing whitespace
|
||||||
description = description.strip()
|
description = description.strip()
|
||||||
|
# Replace newlines with newline + blockquote marker to maintain
|
||||||
|
# blockquote formatting
|
||||||
|
description = description.replace("\n", "\n> ")
|
||||||
f.write(f"> {description}\n\n")
|
f.write(f"> {description}\n\n")
|
||||||
|
|
||||||
f.write("## Docs\n\n")
|
f.write("## Docs\n\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user