.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 <nwaddington@cncf.io>
pull/24753/head
Nate W 2020-10-27 09:39:22 -07:00
parent 2ba7b9ade5
commit b04ff89c23
1 changed files with 3 additions and 0 deletions

View File

@ -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