You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/get-started/writing-on-github/working-with-advanced-formatting/attaching-files.md
+26-15Lines changed: 26 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,10 +57,10 @@ The maximum file size is:
57
57
58
58
## Supported file types
59
59
60
-
### Image and media files
61
-
62
60
The following image and media file types are supported in all contexts.
63
61
62
+
### Image and media files
63
+
64
64
* PNG (`.png`)
65
65
* GIF (`.gif`)
66
66
* JPEG (`.jpg`, `.jpeg`)
@@ -72,62 +72,73 @@ The following image and media file types are supported in all contexts.
72
72
> [!NOTE]
73
73
> Video codec compatibility is browser specific, and it's possible that a video you upload to one browser is not viewable on another browser. At the moment we recommend using H.264 for greatest compatibility.
74
74
75
-
###Additional file types
75
+
## Additional file types
76
76
77
77
The following file types are supported for uploads in issue comments, pull request comments, and discussion comments within repositories. This list of file types is also supported in organization discussions.
78
78
79
-
### Supported file types for uploads
80
-
81
-
#### Documents
79
+
### Documents
82
80
83
81
* PDFs (`.pdf`)
84
-
* Microsoft Office documents (`.docx`, `.pptx`, `.xlsx`, `.xls`, `.xlsm`)
82
+
* Microsoft Office documents (`.docx`, `.pptx`, `.xlsx`, `.xls`{% ifversion fpt or ghec or ghes > 3.18 %}` ,.xlsm`{% endif %})
0 commit comments