To add an image or attach a file to an article, first upload the it using the "Edit" link in the "Attachments" section of the sidebar.

When uploading the file you will be prompted to give it a "slug" or name. You can use letters, numbers, and dashes (-) in the name. After it is uploaded, you can refer to it with:


For example, I've attached an image named "mariadb" to this article and if I use the following code:


The image is shown like so:


I've also attached a pdf document that I've named "mariadb-seal-pdf". I can add a link to this document with:


Which shows up like so:


You can also provide alt-text, like with links. For example, I can change the displayed text for the attachment above like so:

{{mariadb-seal-pdf|The MariaDB seal logo (in pdf format)}}

Which shows up like so:

The MariaDB seal logo (in pdf format)


Comments loading...