mirror of
https://github.com/marktext/marktext.git
synced 2025-05-17 09:20:24 +08:00
Merge pull request #1623 from marktext/update-help-menu
Update help menu
This commit is contained in:
commit
804555b04b
@ -32,32 +32,27 @@ export default function () {
|
|||||||
label: '&Help',
|
label: '&Help',
|
||||||
role: 'help',
|
role: 'help',
|
||||||
submenu: [{
|
submenu: [{
|
||||||
label: 'Learn More',
|
label: 'Quick Start',
|
||||||
click () {
|
click () {
|
||||||
shell.openExternal('https://marktext.app')
|
shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/README.md')
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
label: 'Source Code on GitHub',
|
label: 'Markdown syntax',
|
||||||
click () {
|
click () {
|
||||||
shell.openExternal('https://github.com/marktext/marktext')
|
shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/MARKDOWN_SYNTAX.md')
|
||||||
}
|
|
||||||
}, {
|
|
||||||
label: 'License',
|
|
||||||
click () {
|
|
||||||
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
label: 'Changelog',
|
label: 'Changelog',
|
||||||
click () {
|
click () {
|
||||||
shell.openExternal('https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md')
|
shell.openExternal('https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md')
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
label: 'Markdown syntax',
|
|
||||||
click () {
|
|
||||||
shell.openExternal('https://github.com/marktext/marktext/blob/develop/docs/MARKDOWN_SYNTAX.md')
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
|
}, {
|
||||||
|
label: 'Donate via Open Collective',
|
||||||
|
click (item, win) {
|
||||||
|
shell.openExternal('https://opencollective.com/marktext')
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
label: 'Feedback via Twitter',
|
label: 'Feedback via Twitter',
|
||||||
click (item, win) {
|
click (item, win) {
|
||||||
@ -70,11 +65,33 @@ export default function () {
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
|
}, {
|
||||||
|
label: 'Website',
|
||||||
|
click () {
|
||||||
|
shell.openExternal('https://marktext.app')
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
label: 'Watch on GitHub',
|
||||||
|
click () {
|
||||||
|
shell.openExternal('https://github.com/marktext/marktext')
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
label: 'Follow @Jocs on Github',
|
label: 'Follow @Jocs on Github',
|
||||||
click () {
|
click () {
|
||||||
shell.openExternal('https://github.com/Jocs')
|
shell.openExternal('https://github.com/Jocs')
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
label: 'Follow us on Twitter',
|
||||||
|
click () {
|
||||||
|
shell.openExternal('https://twitter.com/marktextapp')
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
type: 'separator'
|
||||||
|
}, {
|
||||||
|
label: 'License',
|
||||||
|
click () {
|
||||||
|
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user