fn: inject /input
[contents]
f++ :
n++ :
Contents
Syntax
The syntax for
input{options}(string) inject{options}(string)
@input{options}(string) @inject{options}(string)
Description
The
Note:
Options
The following options are available for
option | description |
---|---|
inject output of specified file parsed with |
|
inject output of specified file parsed with |
|
inject specified file as raw text | |
inject specified file only if it exists (normally throws an error otherwise) | |
do not indent | |
option | description |
f++ example
Example of
- <html>
- <head>
- @input("template/head.content")
- </head>
- <body>
- @content
- </body>
- </html>
n++ example
Example of
- <html>
- <head>
- @input("template/head.content")
- </head>
- <body>
- @content
- </body>
- </html>