org-transclusion icon indicating copy to clipboard operation
org-transclusion copied to clipboard

[Feature request] Transclude everywhere ?

Open Cletip opened this issue 3 years ago • 2 comments

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

Cletip avatar Nov 01 '22 12:11 Cletip

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.

nobiot avatar Nov 03 '22 15:11 nobiot

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.

Cletip avatar Nov 03 '22 15:11 Cletip