Skip to content

Commit

Permalink
Add a second newline after ending a code fence
Browse files Browse the repository at this point in the history
  • Loading branch information
alexg-axis committed Nov 24, 2021
1 parent 70ca77e commit cea351b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/html2md.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def handle_endtag(self, tag: str) -> None:
print("__", end="")
elif tag == "code":
if self.is_in_tag("pre"):
print("```")
print("```\n")
else:
print("`", end="")

Expand Down

0 comments on commit cea351b

Please sign in to comment.