From b04ff89c23d782e242021af0619a3ddc4c225205 Mon Sep 17 00:00:00 2001 From: Nate W Date: Tue, 27 Oct 2020 09:39:22 -0700 Subject: [PATCH] .editorconfig: turning off trim_trailing_whitespace for markdown files Adding *.md section to turn off trim_trailing_whitespace for .md files. (Fixes: https://github.com/kubernetes/website/issues/24731) Signed-off-by: Nate W --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index e49c89c4e8b..bc1dfe40c8f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,9 @@ charset = utf-8 max_line_length = 80 trim_trailing_whitespace = true +[*.md] +trim_trailing_whitespace = false + [*.{css,html,js,json,sass,md,mmark,toml,yaml}] indent_style = space indent_size = 2