1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Add structure for exporting PDFs

This commit is contained in:
Evan Miller
2018-12-03 13:12:22 -05:00
parent b224c72e98
commit 7c1cd50def
26 changed files with 54 additions and 4 deletions

View File

@@ -116,6 +116,13 @@ const file = {
mainWindow.webContents.send('list:isMarkdownNote', 'export-html')
mainWindow.webContents.send('export:save-html')
}
},
{
label: 'PDF (.pdf)',
click () {
mainWindow.webContents.send('list:isMarkdownNote', 'export-pdf')
mainWindow.webContents.send('export:save-pdf')
}
}
]
},