Include

Includes a file from the virtual file system.
The raw content of the file will be rendered where the shortcode appears. If the file does not exist nothing will be rendered.

Examples

Example usage to show the contents of test-include.html in the output

<?# Include "test-include.html" /?>

If the included file contains Markdown syntax, you can even include it before the Markdown engine runs with a slight syntax change:

<?! Include "test-include.md" /?>?

Parameters

The following parameters can be used without names in the order below or with names (provided they are named) in any order. When using named parameters, the syntax should be `Name=Value` or `Name="Value"`.

  • The path to the file to include.

GitHub