-
Scouring the web I found a way to prepend to the current File using But is there a way to either insert a string in a File with a Specific Name at a specific line, or append to the end of that File? |
Beta Was this translation helpful? Give feedback.
Answered by
AB1908
Apr 8, 2022
Replies: 1 comment
-
You can find the file to append to with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Excali6ur
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can find the file to append to with
tp.file.find_tfile()
and then actually append to it withawait app.vault.append(TFile, "string contents")
.