Skip to content

Commit

Permalink
Add --soft-wraps to preserve newlines in paragraphs (less whitespace …
Browse files Browse the repository at this point in the history
…changes)
  • Loading branch information
Tit Petric committed Jun 10, 2024
1 parent b8170dd commit 5aa4915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tasks:
cmd: |
if [ -f "{{.change}}" ]; then
echo {{.change}}
mdox fmt {{.change}}
mdox fmt --soft-wraps {{.change}}
# list item formatting
perl -pi -e 's/^\* /- /g' {{.change}}
# leading space before list (-) after colon (:)
Expand Down

0 comments on commit 5aa4915

Please sign in to comment.