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

Merge pull request #2678 from AgentEpsilon/export-pdf

Export a Markdown note as PDF
This commit is contained in:
Junyoung Choi
2019-03-21 01:20:12 +09:00
committed by GitHub
30 changed files with 131 additions and 63 deletions

View File

@@ -141,6 +141,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')
}
}
]
},