From 959ea742916fcfa007aa5da15b311552076637ed Mon Sep 17 00:00:00 2001
From: Thomas Keller To embed any previously uploaded resource into your wiki page, you can use the To embed any previously uploaded resource into your wiki page, you can use the The rendering of the resource can then be further fine-tuned:
{trans 'How can I embed images and other resources in my documentation pages?'}
{blocktrans}
-[!ResourceName]
syntax.[[!ResourceName]]
syntax.
-
[!ImageResource, align=right, width=200]
renders "ImageResource" right-aligned and scale its width to 200[!TextResource, align=center, width=300, height=300]
renders "TextResource" in a centered, 300 by 300 px iframe[!AnyResource, preview=no]
does not render a preview of the resource, but only provides a download link (default for binary resources)[!BinaryResource, title=Download]
renders the download link of "BinaryResource" with an alternative title[[!ImageResource, align=right, width=200]]
renders "ImageResource" right-aligned and scale its width to 200[[!TextResource, align=center, width=300, height=300]]
renders "TextResource" in a centered, 300 by 300 px iframe[[!AnyResource, preview=no]]
does not render a preview of the resource, but only provides a download link (default for binary resources)[[!BinaryResource, title=Download]]
renders the download link of "BinaryResource" with an alternative title
Instructions:
The content of the page can use the Markdown syntax with the Extra extension.
Website addresses are automatically linked and you can link to another page in the documentation using double square brackets like that [[AnotherPage]]
.
If you want to embed uploaded resources, use the [!ResourceName]
syntax for that. This is described more in detail in the FAQ.
If you want to embed uploaded resources, use the [[!ResourceName]]
syntax for that. This is described more in detail in the FAQ.
To directly include a file content from the repository, embrace its path with triple square brackets: [[[my/file.txt]]]
.