Skip to content

tp.file.include without the heading #1291

Closed Answered by calvinbui
calvinbui asked this question in Help
Discussion options

You must be logged in to vote

i'll close with my own custom JS solution

<%-* 
let contents = await tp.file.include("[[MyFile#Section1]]");
tR += contents.substring(contents.indexOf("\n")+1).toString();
-%>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Zachatoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant