Skip to content

Commit

Permalink
Tell Git how to check Markdown (.md) source files
Browse files Browse the repository at this point in the history
Disallow tabs in document indentation.  We will use four spaces instead
of a tab to indent nested blocks.

Use large conflict markers because otherwise '=======' underlines in
Markdown section headers look like conflict markers to the automatic
checks.
  • Loading branch information
bradking authored and utkarshayachit committed Mar 18, 2015
1 parent 86ad106 commit 904a830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ pre-commit crlf=input
*.cmake whitespace=tab-in-indent,-blank-at-eol

*.c hooks.MaxObjectKiB=0

*.md whitespace=tab-in-indent conflict-marker-size=30

0 comments on commit 904a830

Please sign in to comment.