FileContentFormatter Plugin

Modified on 2016/01/08 23:46 by Administrator — Categorized as: Uncategorized


download
Version2.0.1.0
Rating  
DeveloperChristian Hollerup Mikkelsen
Updated2016-01-09
Homepagehttp://master-garrett.blogspot.com/
Works withScrewTurn Wiki v5.0.x
LicenseGPLv2
Supported languages-
Visual-editorno

Displays the contents of a txt based file, for example html,css,txt, directly on a wiki page.


Table of Contents [Hide/Show]



Administrators

No special actions required.

Note that this plugin creates it's own help and test pages inside your wiki, for your benefit.

These pages cannot be deleted without disabeling the formatter first.



Markup Usage

What can you do?



Usage:


{ FileCont file=XXX prov=YYY height=ZYX width=XYZ raw=ZZZ rows=XXY cols=YYX }


Where:




All args which have a value that contains whitespaces, must be encapsulated in ' ', ex. '/Folder name with spaces/File.txt'.

There's no guarantee that your file can be displayed, it depends on the browser used, plugins installed, server etc.. However basic Text files and standard wide spread video/pdf file types should work in most browsers.


It may require a couple of attempts find the right way of displaying your file, remember that there are < nowiki > and < nobr > tags which might help you get the right result.




Examples

Image

Image

Image

Image