.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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user