# Markdown Script Include

> Learn how to include external files in markdown scripts using the @include directive

Markdown scripts support including external files using the `@include` directive, allowing you to compose larger prompts from reusable components.

## Basic Usage

[Section titled “Basic Usage”](#basic-usage)

Use the `@include "filepath"` directive to insert the contents of an external file into your markdown script:

main.genai.md

```markdown
---
title: "My Script"
description: "Script with included content"
---