mirror of
https://github.com/marktext/marktext.git
synced 2025-05-17 01:10:41 +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',
|
||||
role: 'help',
|
||||
submenu: [{
|
||||
label: 'Learn More',
|
||||
label: 'Quick Start',
|
||||
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 () {
|
||||
shell.openExternal('https://github.com/marktext/marktext')
|
||||
}
|
||||
}, {
|
||||
label: 'License',
|
||||
click () {
|
||||
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
|
||||
shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/MARKDOWN_SYNTAX.md')
|
||||
}
|
||||
}, {
|
||||
label: 'Changelog',
|
||||
click () {
|
||||
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'
|
||||
}, {
|
||||
label: 'Donate via Open Collective',
|
||||
click (item, win) {
|
||||
shell.openExternal('https://opencollective.com/marktext')
|
||||
}
|
||||
}, {
|
||||
label: 'Feedback via Twitter',
|
||||
click (item, win) {
|
||||
@ -70,11 +65,33 @@ export default function () {
|
||||
}
|
||||
}, {
|
||||
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',
|
||||
click () {
|
||||
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