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

Add export as txt/md

This commit is contained in:
asmsuechan
2017-01-14 23:52:53 +09:00
parent 7b326b99af
commit 5d1db1de31
2 changed files with 52 additions and 0 deletions

View File

@@ -62,6 +62,26 @@ var file = {
{
type: 'separator'
},
{
label: 'Export as',
submenu: [
{
label: 'Plain Text (.txt)',
click: function () {
mainWindow.webContents.send('export:save-text')
}
},
{
label: 'MarkDown (.md)',
click: function () {
mainWindow.webContents.send('export:save-md')
}
}
]
},
{
type: 'separator'
},
{
label: 'Delete Note',
accelerator: OSX ? 'Control + Backspace' : 'Control + Delete',