# Combining content stored in different sibling folders?

#### ellis

27 Oct, 2015 11:21 AM

I've set up a report that works nicely with all the pages in the same folder (Documents/proposal-markdown/), and some content in a sub-folder (Documents/proposal-markdown/inclusions). For example, my Documents/proposal-markdown/index.md file includes content from a file called Documents/proposal-markdown/inclusions/address.md file, which contains the postal address.

I now want to set this up so I can have a folder for each new report that still takes content from the inclusions folder

So, for a report to ABC Co :

1. I create a folder called Documents/proposal-markdown/ABC
2. I add pages to that folder, including a Documents/proposal-markdown/ABC/index.md page for that report.

My question:
How do I get the index page in the Documents/proposal-markdown/ABC folder to include the content from the Documents/proposal-markdown/inclusions folder?

----
Transclude Base: ~/Users/ejpratt/Documents/proposal-markdown/

---

and

in the body of the Documents/proposal-markdown/ABC/index.md file, but it's not displaying the content in the inclusions/address.md file

What am I doing wrong?

(FYI, I'm using OS/X 10.10.5)

1. Support Staff Posted by Brett on 27 Oct, 2015 02:00 PM

Hi Ellis,

Transclude Base: ~/Users/ejpratt/Documents/proposal-markdown/

The tilde (~) represents your home folder, so ~/Users/ejprett is redundant. Just use ~/Documents....

A path that doesn't begin with a forward slash indicates it's relative to the location of the index file, so in this case it's looking for proposal-markdown/ABC/inclusions/address.md. To indicate that it should move up a folder, use .., e.g. ../inclusions/address.md, or an full path as you have above.

Let me know if that helps,

Brett

2. Posted by ellis on 27 Oct, 2015 02:10 PM

Doh, ../
Yes, of course.

That did it.

Thanks

3. ellis closed this discussion on 28 Oct, 2015 04:51 PM.

Comments are currently closed for this discussion. You can start a new one.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 21 Feb, 2020 11:32 PM Option to use MathJax 3? 20 Feb, 2020 03:12 PM Regular crashes 13 Feb, 2020 09:22 PM Markdown Formatting 11 Feb, 2020 11:53 AM Custom themes not working 10 Feb, 2020 06:48 PM KaTex Preview Update

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)