Skip to content

accessing the renderNote in the Api? #4311

Answered by rauenzi
ShivaFang asked this question in Q&A
Discussion options

You must be logged in to vote

You can get the current note through api.getActiveContextNote() when trying to make a single render source for multiple render notes. That's what I do for Trilium-SingleFile check here: https://github.com/rauenzi/Trilium-SingleFile/blob/main/static/renderer.js#L48

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ShivaFang
Comment options

Answer selected by ShivaFang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants