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

Merge pull request #245 from asmsuechan/add-md-and-text-exporter

Add export as txt/md
This commit is contained in:
Sota Sugiura
2017-01-21 15:54:01 +09:00
committed by GitHub
3 changed files with 75 additions and 0 deletions

View File

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