trilium
trilium copied to clipboard
(Feature request) Option to print subtree
Describe feature
As mentioned here, a user would expect to be able to print the note and it's sub-tree. Currently missing from a print are:
- Child notes
- Included notes
It would be nice to have an option to "Print Note Tree" or something similar that prints the entire note with it's child notes.
As a bonus, it would be nice to somehow also print (or have an option to print) 'included' notes, but that may be more difficult and could clutter the menu unless we had a Trilium print dialog that offered these options.
Additional Information
No response
I am willing to implement this feature by:
- Creating a new submenu, if the note is a root of a tree, on "Print Note", allowing: ** Printing the current note ** Printing the current note and its subnotes on different pages ** Printing the current note and its subnotes no the same continuouse line of pages
- Creating new functions
**
printActiveNoteAndSubtree(seperatePages = false)
which prints all subnotes as well, defaulting to all-on-one-continuous-line-of-pages output.
Please reply if you have any requests to make.
I can't believe that there's no way (that I could find) that would allow me to print even a single note. I had to resort to copy/paste into Notepad. This is for the Windows Desktop app, if that matters. But it's just an atom app I think, so the same code.
I tried CTRL-P, which in Windows normally brings up the print dialog, but it just created a new note.
Could you try this and see if it works?
I'm using Ubuntu and all my other computers use some version of Linux, so i can't test with Windows.
PS: I'm sorry i haven't implemented the features yet; it's just another aspect of ADHD where i fall into a hobby and then move onto something else before i can get any stuff done but maybe the pressure of being late will make me add the features before long.
@56independent What are we trying? The print menu item only prints the current page.
@56independent What are we trying? The print menu item only prints the current page.
yannduran was trying to print a
even a single note
, so i was trying to help them. Implementation will arrive should i or someone else have the time and motivation to implement the feature, which has been quite restricted due to the upcoming 2023 exam season.
Ah, gotchya. Yes, single note printing works fine on Windows 👍
By default on the windows app there is no shortcut for printing, but you can set a shortcut in the options > shortcuts (just be sure to remove the existing Ctrl-P
shortcut if there is one (by default it is to create a child note into a note)
I'm also interested in the printing of a subtree of notes. I just needed to print a recipe QUICKLY, if you know what I mean. So I was panicking.
I thought I'd tried the 3-dots menu, that I now see has Print note
. I either didn't see it, or when someone pointed out that you can only print a single note, I went back to have a look, cos that was all I needed. The first couple of times I clicked the link, and nothing happened. But it is working now! It brings up the expected print dialog.
@56independent Thanks for your help!
@yannduran I know it's probably not ideal, but as a workaround you can currently "include" the child note in the parent note. This will then print the child note inline with the parent note's content:
I only needed to print the child note. I'm just supportive of the others who are requesting the ability to print more than that. Thanks though!
Hi, Commenting to express support on this feature. Thanks!
Would be really cool to be able to structure your notes well and also be able to print them easilly. Hope this gets implemented