<commit_before># Markdown Includes

A [markdown injection widget](/modular-markdown/injection.md) provide a simple way to inject a **reusable markdown snippet** on any slide. Markdown includes provide a simple way to inject **reusable slides** into any slide deck.

?> Markdown includes are one more way GitPitch supports modular design for slide decks.

### Include Paths

All paths on the `---?incude=` slide delimiter specified within [PITCHME.md](/conventions/pitchme-md.md) markdown must be relative to the root directory of your local working directory or Git repository.

### Include Syntax

Special `--?include=` delimiter syntax can be used to import modular slide content directly into your slide deck:

```markdown
---?include=path/to/PITCHME.md
```

The slide contents within the `path/to/PITCHME.md` file is automaticaly inlined into your markdown file at the point where you declared the delimiter. There are no limits on the number of `---?include=` slide delimiters you can use to create a slide deck.

### Sample Deck

Consider the following sample project files and directories. Imagine these files have been developed for an introductory course on *functional* programming:

```
.
├── PITCHME.md
├── PITCHME.yaml
├── assets
│   ├── css
│   │   └── PITCHME.css<commit_msg>Modular Markdown Includes guide fixed typo.<commit_after># Markdown Includes

A [markdown injection widget](/modular-markdown/injection.md) provides a simple way to inject a **reusable markdown snippet** on any slide. Markdown includes provide a simple way to inject **reusable slides** into any slide deck.

?> Markdown includes are one more way GitPitch supports modular design for slide decks.

### Include Paths

All paths on the `---?incude=` slide delimiter specified within [PITCHME.md](/conventions/pitchme-md.md) markdown must be relative to the root directory of your local working directory or Git repository.

### Include Syntax

Special `--?include=` delimiter syntax can be used to import modular slide content directly into your slide deck:

```markdown
---?include=path/to/PITCHME.md
```

The slide contents within the `path/to/PITCHME.md` file is automaticaly inlined into your markdown file at the point where you declared the delimiter. There are no limits on the number of `---?include=` slide delimiters you can use to create a slide deck.

### Sample Deck

Consider the following sample project files and directories. Imagine these files have been developed for an introductory course on *functional* programming:

```
.
├── PITCHME.md
├── PITCHME.yaml
├── assets
│   ├── css
│   │   └── PITCHME.css
{'fraction_non_alphanumeric': 0.08847184986595175, 'fraction_numerical': 0.0, 'mean_word_length': 4.5221987315010574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5754957', 'n_tokens_mistral': 764, 'n_tokens_neox': 705, 'n_words': 350}