Copy text with dataview variables as plain text

What I’m trying to do

Is there a way to copy text which has dataview variables in it, into a new note just as it appears in the original note (i.e. without the variables)?

I want to be able to do this manually and I also want to be able to include text in a template using templater via tp.file.include. I do not want the variables to show up in the resulting file, just the text as it showed up in the original file without the variables.

Things I have tried

I have tried manually copy/pasting from both live-preview and reading mode. Copying from reading mode works! However, any tags that I copy when in reading mode, paste as links rather than tags. If I “paste as text” then I get tags back but I loose other markdown formatting that I want.

However, I ultimately want to copy/paste the text into a new file via tp.file.include from templater. I can’t instruct templater to copy the text as shown in reading mode.

TLDR

How can I copy text with dataview variables in it, as its displayed in the note (without variables) into another file manually and using templater?

Thanks for any help!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.