Skip to content

Commit

Permalink
Improve bullet point support
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmasuch committed Mar 15, 2021
1 parent ec7861b commit d4c95b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lazydocs/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def _doc2md(obj: Any) -> str:
out.append(line.replace("::", ":\n```"))
elif quote_block:
out.append(line.strip())
elif line.strip().startswith("-") and not arg_list:
elif line.strip().startswith("-"):
# Allow bullet lists
out.append("\n" + (" " * indent) + line)
elif indent > blockindent:
Expand Down

0 comments on commit d4c95b7

Please sign in to comment.