PluginIncludes


PluginIncludes

This plugin can be used to include files into a document before rendering.

In a new line use: $include: file $ to include a file.

Include file paths are to the current directory unless they start with '/'. In that case they are relative to the root of the wiki.

Included files can further include more files if needed.

The included article can contain barriers of the form:

Or

Whene these are present, only the lines between the barriers will be included. If the start barrier is missing, it will begin from the start of the article. If the stop barrier is missing, it will include all the way to the end of the article.

Barriers can be disabled using the syntax: $include: file --all.

You can change the include part of the barrier to a custom marker using the syntax: $include: file --mark=custom $. This example would change the barriers from include-start, include-stop to custom-start, custom-stop.