From 12a4204b0b44c7a7ea51a1b7df2e5624abc2a4d1 Mon Sep 17 00:00:00 2001 From: Alex 'Avunia' Takiya Date: Wed, 6 Jan 2021 03:48:19 +0100 Subject: [PATCH] Allow md files to have trailing whitespace (#55951) Allows markdown files to have trailing whitespace preceding newline characters. This enables non-paragraph newlines to be used, as they are made in markdown by ending a line with two space characters. Please see the [original markdown specification](https://daringfireball.net/projects/markdown/syntax#p) for more details. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index e050ceea120..66766861c43 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,3 +12,6 @@ indent_size = 2 [*.py] indent_style = space + +[*.md] +trim_trailing_whitespace = false