File Element

Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Plugins | Mobile | Troubleshooting | About

Table of Contents

1 File Element - #file{}

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

Usage

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

Attributes

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: 2013-10-20 21:59:26 CDT

Author: Jesse Gumm (@jessegumm)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

Comments

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


comments powered by Disqus