mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-01 02:01:33 +08:00
desktop app(export pdf): refactor
This commit is contained in:
parent
dcf164e2ff
commit
6d6272e5b6
@ -79,8 +79,7 @@ ipcMain.on("export-as-pdf", async (e, opts: ExportAsPdfOpts) => {
|
||||
displayHeaderFooter: true,
|
||||
headerTemplate: `<div></div>`,
|
||||
footerTemplate: `
|
||||
<div style="width: 100%; text-align: center; font-size: 10pt;">
|
||||
<span class="pageNumber"></span>
|
||||
<div class="pageNumber" style="width: 100%; text-align: center; font-size: 10pt;">
|
||||
</div>
|
||||
`
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user