nobiot / org-transclusion

Emacs package to enable transclusion with Org Mode
https://nobiot.github.io/org-transclusion/
GNU General Public License v3.0
917 stars 44 forks source link

[Feature request] Transclude everywhere ? #153

Open Cletip opened 1 year ago

Cletip commented 1 year ago

Hello,

I was wondering if it is possible to transclude directly in a sentence ? For example like this: 

Some text here before #+transclude: [[id:20221031234502348680]] and after.

would there be a way to do something like that ? thanks in advance for your futur answer

nobiot commented 1 year ago

This is one of the things that is too difficult for me to implement. There are a few fundamental reasons why so, and one main reason is that the program cannot control what the linked content will be — it can be an entire buffer, a headline, a paragraph. Each of these cases seems to require distinct processing logic to paste the content.

There are other technical reasons why I would not go down this path — for example, it is not easy to use the link format in the middle of a sentence. This is why this package tries hard to guarantee that the link is at the beginning of a line and paragraph.

… So no for me, or from the package. You could try something. I would appreciate it if you could let me know when you have discovered a good way to implement your idea.

Cletip commented 1 year ago

Thank you for your answer

Unfortunately, I don't have the time right now. If I have an idea, I'll be happy to put it here to help.