|
|
| Version | 0.9.2 | | Rating |
| | Developer | Franz Fiala | | Updated | May 24, 2011 | | Homepage | PlugIn Transclude Files | | Works with | ScrewTurn Wiki v3.0.x | | License | GPLv2 |
|
More about this Plugin
The External File Formatter transcludes the content of files in a wiki page using the same markup as for images.
It extends the basic syntax for images [image|<caption>|<file>|<link>] in replacing the keyword image through one of the following alternatives. In addition parameters can be defined following the keyword, e.g. using the markup [image(auto,100x200)|...] images can be sized.
Discuss
No Messages for this Page. Be the first!
| Markup | Example | file restrictions | sizeable | link on | Output |
|---|
image | Examples | jpg,png,gif,tif | yes | image | displays the image in an img tag (STW default); the behaviour of image stays unchanged |
frame | Examples | none | yes | caption | renders the file in an iframe tag |
raw | Examples | txt,htm,html | no | caption | transcludes the content |
code | Examples | cs,js,vb... | no | caption | transcludes the content an renders as code (highlighting needs Syntax Highlighter) |
hex | Examples | none | no | caption | transcludes the content as hex dump |
script | Examples | js | no | none | caption: inline code link: codefile |
style | Examples | css | no | none | caption: inline style link: stylesheet |
object | Examples | none | yes | caption | mimetype derived from extension |
audio | Examples | none | yes | caption | mimetype forced to "application/x-mplayer2" |
video | Examples | none | yes | caption | mimetype forced to "video/X-ms-wmv" |