# Welcome


This is the main content.


@include "templates/greeting.md"


More content after the include.
```

templates/greeting.md

```markdown
## Hello World


This greeting template can be reused across multiple scripts.


Welcome to GenAIScript!
```

## File Resolution

[Section titled “File Resolution”](#file-resolution)

File paths in `@include` directives are resolved relative to the directory containing the markdown script:

* `@include "file.txt"` - file in the same directory as the script
* `@include "templates/header.md"` - file in a subdirectory
* `@include "../shared/common.md"` - file in a parent directory

## Multiple Includes

[Section titled “Multiple Includes”](#multiple-includes)

You can use multiple `@include` directives in the same markdown script:

complex.genai.md

```markdown