File Element

Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Advanced Guides | Troubleshooting | About

Table of Contents

1 File Element - #file{}

Loads the content of the specified file and displays it in the browser.


#file { file="/path/to/some/file" }


file - (string)
Path to the file to load
include_panel - (boolean)
If true, the file contents will be wrapped in a Nitrogen #panel{} element (which is an HTML <div>). If false, the file contents will merely be sent directly, without any wrapper.
html_encode - (boolean)
Tells whether to safely HTML encode the contents of the file or not before presenting.

See Also

Date: 2014-11-12 19:51:07 CST

Author: Jesse Gumm (@jessegumm)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0


Note:To specify code blocks, just use the generic code block syntax:
<pre><code>your code here</code></pre>

comments powered by Disqus