I just made an experimental separator for now. it’s not beautiful but it works. feel free to contribute a nicer SVG. Anyway on macos:

sudo gem install joplin
joplin nb2n --token <your webclipper token> 'name of notebook'

this will create a new note with the name of the notebook. just check for the latest note and that will have all notes concatenated into one that you can then just export to PDF

Example notebook called “test” with two notes in it:

Update:

Made it a bit more pleasing to look at. I tried it with several notebooks. the output is good