# Org-transclusion-mode does not show the desired content

**URL:** <https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941>\
**Category:** Development\
**Created:** [November 6, 2020, 8:55pm UTC](https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941 "2020-11-06T20:55:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool\_ran](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/cool_ran/32/130_2.png) [@cool\_ran](https://org-roam.discourse.group/u/cool_ran)\
**Post date:** [November 6, 2020, 8:55pm UTC](https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941/1 "2020-11-06T20:55:28Z")

</div>

If a user is in a working note. The user would like to link a note to  
this file. The expected procedure would be `org-roam-insert`, then  
find the corresponding note.

```
* testing example
If a user is in a working note. The user would like to link a note to
this file. The expected procedure would be `org-roam-insert`, then
find the corresponding note.

    [[file:20201106143208-testing_example_using_file.org][testing example using file note]]
    [[file:20201106143003-testing_example_a.org::*headline 2][testing example using headline]]

```

This is before activing `org-transclusion-mode`:

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/1X/2009d942edf07fd85ce81afe20866ff9050c03b3.png)

This is after activing `org-transclusion-mode`:

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/1X/17d124e81d9f0501a2578a121aa210f174de6549.png)

**Two issues observed:**

1. `transclusion` with file only shows the last paragraph.
2. `transclusion` with `org-id` shows extra information (i.e. `:PROPERTIES:,:ID:,:END:`)

Contents of file:  
Note using a single file:  
`20201106143208-testing_example_using_file.org`

```
#+begin_export ascii
#+TITLE: testing example using file
#+CREATED: [2020-11-06 Fri 14:32]
#+LAST_MODIFIED: [2020-11-06 Fri 15:30]

This is the 1st paragraph. I like org-roam.

This is the 2nd paragraph. I like org-transclusion.

This is the 3rd paragraph. I like emacs.
#+end_export

```

Note using headline and reference them using `org-id`  
`file:20201106143003-testing_example_a.org::*headline 2`

```
#+begin_export ascii
#+TITLE: testing example A
#+CREATED: [2020-11-06 Fri 14:30]
#+LAST_MODIFIED: [2020-11-06 Fri 15:31]

* headline 1
  :PROPERTIES:
  :ID: UUID-A
  :END:
* headline 2
  :PROPERTIES:
  :ID: UUID-B
  :END:

I wrote something in headline 2, and this is the 1st paragraph.

I wrote something in secondary paragraph.

I also wrote something in third paragraph.
* headline 3
#+end_export
```

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 6, 2020, 9:43pm UTC](https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941/2 "2020-11-06T21:43:06Z")

</div>

Hi @cool_ran,

Thank you for trying out Org-transclusion, and the feedback. Really cool that it looks working on your machine.

This part is related to Org-roam.

> [@cool\_ran](#):
>
> If a user is in a working note. The user would like to link a note to  
> this file. The expected procedure would be `org-roam-insert` , then  
> find the corresponding note.

The rest of the post on your observations is issues of Org-transclusion. Is this correct?

Could you please elaborate on the relationship between org-roam-insert and how org-transclusion (does not) work?

If these are not related, could we please either move the issue report to my GitHub repo, or put it in my Discourse post. If you don’t mind, I could do that for you.

I am myself guilty of borrowing some space in Org-roam Discourse forum and Slack in the hope that Org-transclusion is something of interest for the community (I am hoping to achieve some interoperability at a later stage). However… I think we should be mindful of the fact that this is a forum for Org-roam…

---

<div class="post-metadata">

**Author:** ![cool\_ran](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/cool_ran/32/130_2.png) [@cool\_ran](https://org-roam.discourse.group/u/cool_ran)\
**Post date:** [November 7, 2020, 1:40am UTC](https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941/3 "2020-11-07T01:40:57Z")

</div>

I opened issues in your repository. Please have a look.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 7, 2020, 12:02pm UTC](https://org-roam.discourse.group/t/org-transclusion-mode-does-not-show-the-desired-content/941/4 "2020-11-07T12:02:06Z")

</div>

Thank you!
