Files
2 min
File blocks attach downloadable files directly to your documentation. They are useful for providing resources such as PDFs, releases, or additional supporting materials.
Syntax
You can add this component using either Markdown or MDX.
::File{src="https://example.com/document.pdf" signedSrc="https://example.com/document.pdf"}File blocks support the following properties:
- src specifies the file URL.
- signedSrc specifies the downloadable URL used by the component.
In most cases, both properties reference the same file.
MDX example
The following example attaches a downloadable file to a document.
<File
src="https://archbee.com/archbee-logo.svg"
signedSrc="https://archbee.com/archbee-logo.svg"
/>Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.