This commit is contained in:
Andy Barnes 2022-07-15 12:31:04 +01:00 коммит произвёл GitHub
Родитель e99a958a28
Коммит 969a4bd906
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 9 удалений

Просмотреть файл

@ -18,7 +18,7 @@ topics:
{% warning %}
**Warning:** If you add an image or video to a pull request or issue comment, anyone can view the anonymized URL without authentication, even if the pull request is in a private repository{% ifversion ghes %}, or if private mode is enabled{% endif %}. To keep sensitive media files private, serve them from a private network or server that requires authentication. {% ifversion fpt or ghec %}For more information on anonymized URLs see "[About anonymized URLs](/github/authenticating-to-github/about-anonymized-urls)".{% endif %}
**Warning:** If you attach a file to a pull request or issue comment, anyone can view the anonymized URL without authentication, even if the pull request is in a private repository{% ifversion ghes %}, or if private mode is enabled{% endif %}. To keep sensitive media files private, serve them from a private network or server that requires authentication. {% ifversion fpt or ghec %}For more information on anonymized URLs see "[About anonymized URLs](/github/authenticating-to-github/about-anonymized-urls)".{% endif %}
{% endwarning %}
@ -35,7 +35,7 @@ To attach a file to an issue or pull request conversation, drag and drop it into
The maximum file size is:
- 10MB for images and gifs{% ifversion fpt or ghec %}
- 10MB for videos uploaded to a repository owned by a user or organization on a free GitHub plan
- 100MB for videos uploaded to a repository owned by a user or organization on a paid GitHub plan{% elsif ghes or ghae %}
- 100MB for videos uploaded to a repository owned by a user or organization on a paid GitHub plan{% elsif ghes or ghae-issue-7575 %}
- 100MB for videos{% endif %}
- 25MB for all other files
@ -51,13 +51,13 @@ We support these files:
* Microsoft Word (*.docx*), Powerpoint (*.pptx*), and Excel (*.xlsx*) documents
* Text files (*.txt*)
* PDFs (*.pdf*)
* ZIP (*.zip*, *.gz*)
* Video (*.mp4*, *.mov*)
* ZIP (*.zip*, *.gz*){% ifversion fpt or ghec or ghes or ghae-issue-7575 %}
* Video (*.mp4*, *.mov*){% endif %}
{% note %}
{% ifversion fpt or ghec or ghes or ghae-issue-7575 %}{% note %}
**Note:** 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.
{% endnote %}
{% endnote %}{% endif %}
![Attachments animated GIF](/assets/images/help/pull_requests/dragging_images.gif)

Просмотреть файл

@ -114,9 +114,6 @@ sections:
- |
You can now toggle between the source view and rendered Markdown view through the web UI by clicking the {% octicon "code" aria-label="The Code icon" %} button to "Display the source diff" at the top of any Markdown file. Previously, you needed to use the blame view to link to specific line numbers in the source of a Markdown file.
- |
You can now add images and videos to Markdown files in gists by pasting them into the Markdown body or selecting them from the dialog at the bottom of the Markdown file. For information about supported file types, see "[Attaching files](/github/writing-on-github/working-with-advanced-formatting/attaching-files)."
- |
GitHub AE now automatically generates a table of contents for Wikis, based on headings.