When printing a note, one (or more) headers and footers should be printed.
Header and footer elements should be configurable.
Contents are e.g:
- Page number (possibly including total number of pages)
- Date/time of creation
- Date/time of last editing
- Notebook (with hierarchy breadcrumb)
- Source link
- Tags
5 Likes
Proposal for implementation:
Two markdown texts with placeholders for the content to be inserted can be defined in the configuration.
One text is appended at the beginning (header) and the other at the end (footer) when printing, after the placeholders have been replaced by the respective contents.
This allows the user to customize the content for header and footer.
However, the page number must be inserted directly into the page.
1 Like
This is a necessary feature. Using notes as sources for other work often requires printed copies to be at hand. A note printed without meta-data such as that suggested by @ o10383356 is pain because it has to be manually added ...
any updates on this? would be great if we can add to the header and footer some too to include logos, alignmenets etc
something like this would be great to have:
@media print {
@page::before {
font-family: 'Roboto Mono';
/* change to a font on your system - not necessarily monospace*/
font-size: 10px;
color: darkgrey;
display: block;
text-align: right;
content: 'This is the header text';
}
@page::after {
font-family: 'Roboto Mono';
/* change to a font on your system - not necessarily monospace*/
font-size: 10px;
color: darkgrey;
display: block;
text-align: right;
border-top: 1px solid darkgrey;
content: '<HTML GOES HERE>'
}
}
1 Like