# Set default behavior to automatically normalize line endings * text=auto # Explicitly declare text files to ensure they use LF *.html text eol=lf *.css text eol=lf *.js text eol=lf *.md text eol=lf *.json text eol=lf *.py text eol=lf *.txt text eol=lf # Declare MIME types for web files *.html text/html *.css text/css *.js text/javascript *.json application/json *.svg image/svg+xml *.png image/png *.jpg image/jpeg *.jpeg image/jpeg *.gif image/gif *.webp image/webp *.woff font/woff *.woff2 font/woff2 *.ttf font/ttf *.eot application/vnd.ms-fontobject *.otf font/otf # Declare files that should be treated as binary *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.webp binary *.woff binary *.woff2 binary *.ttf binary *.eot binary *.otf binary # Keep these specific file types unchanged *.md diff *.txt diff