You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Markdown defines that two trailing spaces means a new line, hence trailing whitespace shouldn't be cleared from the document when running mdformat (see here).
Link to your repository or website
No response
Steps to reproduce
Create a .md file
Write a line, say a block quote, that has trailing whitespace like:
>this line has two trailing spaces after it
>so that this is actually a newline
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Hard line breaks are always a backslash preceding a line ending. The alternative syntax, two or more spaces before a line ending, is not used because it is not visible.
Describe the problem
Markdown defines that two trailing spaces means a new line, hence trailing whitespace shouldn't be cleared from the document when running
mdformat
(see here).Link to your repository or website
No response
Steps to reproduce
.md
filemdformat
on the fileThe version of Python you're using
3.9
Your operating system
Linux 5.12 kernel
Versions of your packages
mdformat 0.7.7
mdformat-gfm 0.3.2
mdformat-tables 0.4.1
Additional context
No response
The text was updated successfully, but these errors were encountered: