# Help with YAML

**URL:** <https://discourse.julialang.org/t/help-with-yaml/90493>\
**Category:** General Usage\
**Tags:** yaml\
**Created:** [November 19, 2022, 12:33pm UTC](https://discourse.julialang.org/t/help-with-yaml/90493 "2022-11-19T12:33:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roh\_codeur](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Post date:** [November 19, 2022, 12:33pm UTC](https://discourse.julialang.org/t/help-with-yaml/90493/1 "2022-11-19T12:33:31Z")

</div>

Hi

is there a way to include a YAML in another YAML please?

```julia
#bar.yaml
a: 1
b: 2
z: &z1
baseProp: 123

```

```julia
#foo.yaml
!include bar.yaml
a: 100 
y: [1, 2, 3]
z2: *z1

```

```julia
resulting yml:
a:100
b: 2
z2: 
   baseProp: 123

```

I define out a base.yaml and several override.yaml which refer to the tags in base.yaml and override some of the tags. Any hints on how to approach this please?

something on lines of:  
[https://docs.magnolia-cms.com/product-docs/6.2/Developing/Reusing-configuration/YAML-inherit-and-include.html](https://docs.magnolia-cms.com/product-docs/6.2/Developing/Reusing-configuration/YAML-inherit-and-include.html)

thanks!
