---
metadata:
  - name: generator
    content: Diplodoc Platform v5.47.3
alternate:
  - https://yandex.com.tr/support/tracker/en/wysiwyg/file.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/tracker/en/llms.txt

[//]: # (Исходники yfmeditor/ хранятся в документации Yandex Wiki)

# Files

You can upload a file from a URL or your device. The maximum file size for upload is 128 MB.

## Embedding a file from the clipboard {#clipboard}

<!-- source: en/yfmeditor/file.md -->
1. Copy a file to the clipboard on your computer.

1. Paste the file from the clipboard into the page text.
<!-- endsource: en/yfmeditor/file.md -->

## Adding a file to a page {#new-file}

{% list tabs group=editor %}

- Visual editor

   <!-- source: en/yfmeditor/file.md -->
   1. On the toolbar, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M2.832 13.574a4.06 4.06 0 0 0 5.742 0l5.36-5.36a.315.315 0 0 0 0-.464l-.465-.465a.315.315 0 0 0-.465 0l-5.36 5.36a2.756 2.756 0 0 1-3.882 0 2.756 2.756 0 0 1 0-3.883l6.152-6.153a1.817 1.817 0 1 1 2.57 2.57l-5.168 5.169a.908.908 0 0 1-1.285 0c-.328-.329-.328-.903 0-1.258l4.403-4.375a.315.315 0 0 0 0-.465l-.465-.465a.315.315 0 0 0-.465 0L5.129 8.16c-.875.875-.875 2.27 0 3.117a2.147 2.147 0 0 0 3.09 0l5.195-5.168a3.12 3.12 0 0 0 0-4.43 3.12 3.12 0 0 0-4.43 0L2.832 7.833a4.06 4.06 0 0 0 0 5.742Z"/></svg></svg> **File**.

       <!-- source: en/yfmeditor/tools-tip.md -->
       You can also use the quick access menu: type `/` and select a command from the list. {#slash}
       <!-- endsource: en/yfmeditor/tools-tip.md -->

   1. Select how to upload the file:
       * To upload a file from a link, click **Add by link**. Next, enter the file URL and the display name.
       * To attach a file from a device, click **Upload from device** and select one or more files.

   1. Click **Save**.
   <!-- endsource: en/yfmeditor/file.md -->

- Markdown markup

   <!-- source: en/yfmeditor/file.md -->
   To embed a file on a page, add code in the following format:
   <!-- endsource: en/yfmeditor/file.md -->

   For example:
   ```
   {% file src="/ajax/v2/attachments/1a0e17460826" name="filename.zip" type="application/zip" %}
   ```


{% endlist %}
