Skip to content

Commit d4c95b7

Browse files
committed
Improve bullet point support
1 parent ec7861b commit d4c95b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lazydocs/generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _doc2md(obj: Any) -> str:
374374
out.append(line.replace("::", ":\n```"))
375375
elif quote_block:
376376
out.append(line.strip())
377-
elif line.strip().startswith("-") and not arg_list:
377+
elif line.strip().startswith("-"):
378378
# Allow bullet lists
379379
out.append("\n" + (" " * indent) + line)
380380
elif indent > blockindent:

0 commit comments

Comments
 (0)